]> git.hungrycats.org Git - linux/commit
[PATCH] disk stats preempt safety
authorIngo Molnar <mingo@elte.hu>
Wed, 20 Oct 2004 01:29:31 +0000 (18:29 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 20 Oct 2004 01:29:31 +0000 (18:29 -0700)
commitd38948f6fbf8a003a6384db00c62d601dab6285b
tree55b7cd1b9861878508f21446deec779e7c1b116d
parent29c6097fcb70f3c1e53f1c90abcc083273c5bbc5
[PATCH] disk stats preempt safety

The per-cpu disk stats are being updated in a non-preempt-safe manner in a
couple of places.

The patch introduces introduces preempt and non-preempt versions of the
statistics code and updates the block code to use the appropriate ones.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/ll_rw_blk.c
include/linux/genhd.h