git: kernel - Correct unaligned results in alist_free_info()

看板DFBSD_commit作者時間14年前 (2011/11/19 15:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 28efdceb2527bdb3577fc7f8cc7110e17b5b9468 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Nov 18 23:12:06 2011 -0800 kernel - Correct unaligned results in alist_free_info() * alist_free_info() needs to return a power-of-2-sized and power-of-2 aligned result in order for the caller to be able to use the information to allocate the resulting space. * Fixes an issue where the kernel is unable to return a big chunk of the reserved DMA space back to the kernel free pool, resulting in a lot of wasted memory. Summary of changes: sys/kern/subr_alist.c | 21 ++++++++++----------- 1 files changed, 10 insertions(+), 11 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/28efdceb2527bdb3577fc7f8cc7110e17b5b9468 -- DragonFly BSD source repository
文章代碼(AID): #1Enrju9D (DFBSD_commit)