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

看板DFBSD_commit作者時間15年前 (2011/02/05 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/6 (看更多)
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 > 湶s okay for non-preinitialised objects. 糍his was mainly a drive-by > change while investigating > the USB mouse crash. 孭pologies 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 > 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. Best, Sam
文章代碼(AID): #1DJHaMM- (DFBSD_commit)
討論串 (同標題文章)
文章代碼(AID): #1DJHaMM- (DFBSD_commit)