aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorJeff Moyer <[email protected]>2007-12-04 23:45:02 -0800
committerLinus Torvalds <[email protected]>2007-12-05 09:21:18 -0800
commite00ba3dae077f54cfd2af42e939a618caa7a3bca (patch)
treeeb2f29fe8df7cb29be7d1bdda8dabe825f30f182 /include/linux/debugobjects.h
parente3c0ac04f980750a368f7cd5f1b8d1d2cdc1f735 (diff)
aio: only account I/O wait time in read_events if there are active requests
On 2.6.24, top started showing 100% iowait on one CPU when a UML instance was running (but completely idle). The UML code sits in io_getevents waiting for an event to be submitted and completed. Fix this by checking ctx->reqs_active before scheduling to determine whether or not we are waiting for I/O. Signed-off-by: Jeff Moyer <[email protected]> Cc: Zach Brown <[email protected]> Cc: Miklos Szeredi <[email protected]> Cc: Jeff Dike <[email protected]> Cc: "Rafael J. Wysocki" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions