git: kernel - Document vm_map_lookup_entry() better in vm/vm_map

看板DFBSD_commit作者時間14年前 (2011/11/19 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit aacb506b9777fdcdbcea0fef410343c427d631ed Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Nov 18 08:14:16 2011 -0800 kernel - Document vm_map_lookup_entry() better in vm/vm_map.c * Add some additional code documentation. * Issue a required cpu_ccfence() after a variable load when checking the vm_map_entry hint. With the map locked shared the hint can still be updated concurrently even though the value, once loaded, will point to a stable structure. Summary of changes: sys/vm/vm_map.c | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aacb506b9777fdcdbcea0fef410343c427d631ed -- DragonFly BSD source repository
文章代碼(AID): #1Enfs028 (DFBSD_commit)