DragonFly BSD
DragonFly commits List (threaded) for 2011-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Nov 2011 08:15:48 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]