git: kernel - Document vm_map_lookup_entry() better in vm/vm_map.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Nov 18 08:17:06 PST 2011
commit aacb506b9777fdcdbcea0fef410343c427d631ed
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list