kernel - Document vm_map_lookup_entry() better in vm/vm_map.c
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 18 Nov 2011 16:14:16 +0000 (08:14 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 18 Nov 2011 16:14:16 +0000 (08:14 -0800)
commitaacb506b9777fdcdbcea0fef410343c427d631ed
tree3364374acb2b7522b7f6a83e2327de2666946bcd
parent52bb73bc908f2d4fb004ad3c5c97f4d25402d2c2
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.
sys/vm/vm_map.c