CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/10/12 03:19:45
Modified files:
sys/kern : kern_rwlock.c
Log message:
Use a temporary variable in rw_status() to dereference only once the
volatile member of the struct.
Not forcing a memory read on every access, 3 in this function, might
reduce cache traffic in some cases.
Micro-optimization and diff provided by Mateusz Guzik.
ok visa@
