DragonFly BSD
DragonFly commits List (threaded) for 2011-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: git: kernel - migrate knote from zone to kmalloc

From: "Samuel J. Greear" <sjg@xxxxxxxxxxxx>
Date: Sat, 5 Feb 2011 02:17:14 -0700

On Sat, Feb 5, 2011 at 1:52 AM, Nicolas Thery <nthery@gmail.com> wrote:
> Hello,
>> 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.
> [1] http://leaf.dragonflybsd.org/mailarchive/kernel/2008-03/msg00080.html
> Cheers,
> Nicolas


Thanks, just wanted to know where you were coming from. No point in
applying the GCI patch now, the main point was eliminating zalloc.


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