summaryrefslogtreecommitdiffstats
path: root/kernel/lockdep.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-04-13 08:08:20 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-04-13 08:08:20 -0700
commit6631e635c65dc33cb798cc2f51d0ddd69ada6319 (patch)
treec71585118b3ddd42b1bf666fef9f96e60b79f757 /kernel/lockdep.c
parenta626ca6a656450e9f4df91d0dda238fff23285f4 (diff)
downloadop-kernel-dev-6631e635c65dc33cb798cc2f51d0ddd69ada6319.zip
op-kernel-dev-6631e635c65dc33cb798cc2f51d0ddd69ada6319.tar.gz
block: don't flush plugged IO on forced preemtion scheduling
We really only want to unplug the pending IO when the process actually goes to sleep. So move the test for flushing the plug up to the place where we actually deactivate the task - where we have properly checked for preemption and for the process really sleeping. Acked-by: Jens Axboe <jaxboe@fusionio.com> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/lockdep.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud