git: kernel - Fix overflows and races in zalloc()

看板DFBSD_commit作者時間14年前 (2011/11/13 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 65622d85922eb51fe098fef2323a0bdb2ac7dee8 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sat Nov 12 08:51:18 2011 -0800 kernel - Fix overflows and races in zalloc() * Fix a 32 bit overflow which would crash machines with large amounts of ram once the number of PV entries (in bytes) exceeds the 2GB mark. * Refactor the page allocation to allow vm_page_alloc() and friends to block. * Don't depend on being unqueued, wire the related pages. Summary of changes: sys/vm/vm_zone.c | 70 ++++++++++++++++++++++++++++++++--------------------- 1 files changed, 42 insertions(+), 28 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/65622d85922eb51fe098fef2323a0bdb2ac7dee8 -- DragonFly BSD source repository
文章代碼(AID): #1ElhHgTT (DFBSD_commit)