hi,everyone,
I'm wandering how to use kmalloc and kmem_cache_alloc.
as i know,kmalloc is based on kmem_cache_alloc ,so what's the different? when
to use kmalloc? and
in what occasion,kmem_cache_alloc should be used?
thanks.
2010-11-05
kernel.niko
Hi all,
Loosely related to the discussion about /dev/mem and system security
compromisation of about a week ago on kernel-newbies, there was this
discussion today on lkml for the curious:
http://lkml.org/lkml/2010/11/4/94
which discusses a 'make /proc/kallsyms mode 400 to reduce ease of attacking
On Thu, Nov 4, 2010 at 6:57 AM, Robert P. J. Day wrote:
> On Wed, 3 Nov 2010, Venkatram Tummala wrote:
>
>> Compound Page is a page which has greater size than the system-wide
>> page size. Compound pages are mainly used by HugeTLB code. In some
>> architectures, multiple page sizes are supported.
On Wed, 3 Nov 2010, Venkatram Tummala wrote:
> Compound Page is a page which has greater size than the system-wide
> page size. Compound pages are mainly used by HugeTLB code. In some
> architectures, multiple page sizes are supported. For Ex. x86_64
> also supports 2 MB also in addition to 4KB pa