summaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
authorAndrea Righi2008-07-27 00:22:27 +0200
committerLinus Torvalds2008-07-27 05:16:47 +0200
commitb2d002dba5a8a4c0c3ec96fd1ff3c9def6bd71a1 (patch)
treea87afab3739039531bdec50aa4f588cdd672bd02 /mm/util.c
parentgpiolib: fix typo in comment (diff)
downloadkernel-qcow2-linux-b2d002dba5a8a4c0c3ec96fd1ff3c9def6bd71a1.tar.gz
kernel-qcow2-linux-b2d002dba5a8a4c0c3ec96fd1ff3c9def6bd71a1.tar.xz
kernel-qcow2-linux-b2d002dba5a8a4c0c3ec96fd1ff3c9def6bd71a1.zip
task IO accounting: correctly account threads IO statistics
Oleg Nesterov points out that we should check that the task is still alive before we iterate over the threads. This patch includes a fixup for this. Also simplify do_io_accounting() implementation. Signed-off-by: Andrea Righi <righi.andrea@gmail.com> Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions