git: kernel - Beef up vm_contig allocation checks

看板DFBSD_commit作者時間14年前 (2011/11/10 10:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 709f5959ae62a1025786662a7da3c5e1ace58805 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Tue Nov 8 15:38:16 2011 -0800 kernel - Beef up vm_contig allocation checks * Beef up vm_contig allocation checks by also requiring the PQ_CACHE page to not be held or wired or unmanaged, and assert that it is not mapped or dirty. * When utilizing PQ_FREE pages ignore any held pages and assert that the pages are not dirty in addition to not having an object. * Do not clear PG_SBUSY when allocating a page (though it shouldn't be set anyway, we still shouldn't unconditionally clear the bit). Summary of changes: sys/vm/vm_contig.c | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/709f5959ae62a1025786662a7da3c5e1ace58805 -- DragonFly BSD source repository
文章代碼(AID): #1EkpVcy0 (DFBSD_commit)