Re: Changing pf to use kmalloc instead of zalloc

看板DFBSD_kernel作者時間15年前 (2011/01/23 21:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/7 (看更多)
On Sun, Jan 23, 2011 at 5:25 PM, Jan Lentfer <Jan.Lentfer@web.de> wrote: > I updated and rebased my branch at > http://gitweb.dragonflybsd.org/~lentferj/dragonfly.git/shortlog/refs/heads/pf44 > so everything is in one patch/diff and no intermediate stuff anymore. > > pf.ko loads and I can load the ruleset, etc. It looks all good, until... > > > 2) I kldunload pf.ko > malloc_uninit: 208 bytes of 'pfstatepl' still allocated on cpu 4 > malloc_uninit: 896 bytes of 'pfrulepl' still allocated on cpu 4 > You will have to make sure that all allocated memory is freed during MOD_UNLOAD Best Regards, sephe -- Tomorrow Will Never Die
文章代碼(AID): #1DF2QHOo (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #1DF2QHOo (DFBSD_kernel)