Bigger slabs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
For my driver I needed to allocate a contigous 1Mb buffer. kmalloc() is
unable to allocate more than 128kb, so I went and fixed slab.c to allow
allocation of 256k, 512k and 1M slabs. I can allow that, since a device
I work on will be shipped in a closed preinstalled box.
The question is, since it is so trivial, there must be a really good
reason to disallow slabs of more that 128kb. Otherwise, it would have
been done years ago. It seems to me practical to kmalloc even larger
blocks of memory. What is that reason?
~                  L.
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBUmFifsTlJLFWufARAsP/AJ9iLd/6Eh97j9DhfneFBswqs3X+oQCaA/pp
r2nzqfZ3tTw+evkl2LBaeXE=
=FMIo
-----END PGP SIGNATURE-----

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux