aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorYong Zhang <[email protected]>2010-01-11 06:21:25 +0000
committerIngo Molnar <[email protected]>2010-01-21 12:39:04 +0000
commit6d558c3ac9b6508d26fd5cadccce51fc9d726b1c (patch)
treedbad2aa9c5874ea7ee5fff1f9f32b0be208c3df6 /net/lapb/lapb_in.c
parentsched: Fix vmark regression on big machines (diff)
downloadkernel-6d558c3ac9b6508d26fd5cadccce51fc9d726b1c.tar.gz
kernel-6d558c3ac9b6508d26fd5cadccce51fc9d726b1c.zip
sched: Reassign prev and switch_count when reacquire_kernel_lock() fail
Assume A->B schedule is processing, if B have acquired BKL before and it need reschedule this time. Then on B's context, it will go to need_resched_nonpreemptible for reschedule. But at this time, prev and switch_count are related to A. It's wrong and will lead to incorrect scheduler statistics. Signed-off-by: Yong Zhang <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions