El Wed, Jul 02, 2008 at 06:38:52PM +0530 Rajat Jain ha dit:
> Although kmalloc() gives you 24 bytes per call that you can use,
> but internally it allocates in pages, and hence 1 page (=4K bytes in each
> iteration)
though kmalloc() usually wastes some memory in allocations it doesn't
waste an entire page in order to satisfy a request of 24
bytes. kmalloc is based on the slab layer, in the best case a chunk of
32 bytes will be returned from the corresponding slab cache.
--
Matthias Kaehlcke
Embedded Linux Engineer
Barcelona
The book of nature is written in the language of mathematics
(Galileo Galilei)
.''`.
using free software / Debian GNU/Linux | http://debian.org : :' :
`. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ