git: kernel - Rearrange page adds in vm_add_new_page()

看板DFBSD_commit作者時間14年前 (2011/11/10 10:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit bc3396b8d6a56c64d72b08d59dcd520b018dd139 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Tue Nov 8 15:41:05 2011 -0800 kernel - Rearrange page adds in vm_add_new_page() * We were previously alternating between the head and tail of the PQ_FREE queues when adding new vm pages, but not zeroing the pages being placed at the tail. * Instead of alternating place 1/16 of the new pages on the tail of the queue, zero them, and properly mark them PG_ZERO. * This should reduce physical page fragmentation during early boot when drivers need to allocate contiguous low phys-memory pages. Summary of changes: sys/vm/vm_page.c | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bc3396b8d6a56c64d72b08d59dcd520b018dd139 -- DragonFly BSD source repository
文章代碼(AID): #1EkpVclt (DFBSD_commit)