git: kernel - Remove unneeded critical sections from VM code, ad

看板DFBSD_commit作者時間15年前 (2010/12/04 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 080c00e6fcafedf719b52e5de548a005201b0218 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Dec 3 08:48:05 2010 -0800 kernel - Remove unneeded critical sections from VM code, add pmap asserts * Various bits of VM code now only need vm_token and no longer need a critical section. * Add pmap_page_assertzero() assertions in a couple of places when PMAP_DEBUG is enabled. * Add PMAP_DEBUG as a global kernel config option. * Be a bit more conservative and clear PG_ZERO for all page table pages and not just terminal page table pages. When such pages are finally freed they will be zero again due to the way the pmap code works but don't make that assumption. Summary of changes: sys/conf/options | 1 + sys/kern/uipc_syscalls.c | 2 - sys/platform/pc64/x86_64/pmap.c | 24 ++++++++++++++++---- sys/vm/vm_fault.c | 40 +++++++-------------------------- sys/vm/vm_page.c | 45 +------------------------------------- 5 files changed, 31 insertions(+), 81 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/080c00e6fcafedf719b52e5de548a005201b0218 -- DragonFly BSD source repository
文章代碼(AID): #1C-J1hxF (DFBSD_commit)