git: kernel - migrate knote from zone to kmalloc

Nicolas Thery nthery at
Sat Feb 5 00:54:12 PST 2011


> I mean I will be switching it to objcache, although it doesn't require
> pool style allocation right now, so the current patch was/is fine.

FWIW I switched to kmalloc instead of objcache because I could not see how
to (easily) pre-initialize the knotes and my recollection of past
discussions [1] is that kmalloc
 is okay for non-preinitialised objects.  This was mainly a drive-by
change while investigating
the USB mouse crash.  Apologies if this goes against pending patches.
Feel free to switch
to objcache.



More information about the Commits mailing list