summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/tlb.h
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2008-02-06 10:37:07 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 19:41:04 +0100
commit07a154b2bb9b528a39ddc777399482c1fa27fdb8 (patch)
tree64355093ab4f470e67a301fb53e7d078ad4000f9 /include/asm-sparc/tlb.h
parentdo_wait: remove one "else if" branch (diff)
downloadlinux-07a154b2bb9b528a39ddc777399482c1fa27fdb8.tar.xz
linux-07a154b2bb9b528a39ddc777399482c1fa27fdb8.zip
proc: loadavg reading race
The avenrun[] values are supposed to be protected by xtime_lock. loadavg_read_proc does not use it. Theoretically this may result in an occasional glitch when the value read from /proc/loadavg would be as much as 1<<11 times higher than it should be. Signed-off-by: Michal Schmidt <mschmidt@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-sparc/tlb.h')
0 files changed, 0 insertions, 0 deletions