git: kernel - Ensure rover in vfs_cache is not optimized.

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 10 15:39:11 PST 2011


commit 5c551789b79e85fa5d79d21cb938f3c8df81eb67
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jan 10 15:25:47 2011 -0800

    kernel - Ensure rover in vfs_cache is not optimized.
    
    * Add a cpu_ccfence() to ensure that the static rover variable is
      not optimized by the compiler.

Summary of changes:
 sys/kern/vfs_cache.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5c551789b79e85fa5d79d21cb938f3c8df81eb67


-- 
DragonFly BSD source repository





More information about the Commits mailing list