aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2007-05-06 14:50:48 -0700
committerLinus Torvalds <[email protected]>2007-05-07 12:12:59 -0700
commitb1296cc48b39355241470ef934a5e2270e3f23bd (patch)
treecfaf24de442b9ce19414f67106461f7c4829a1a7 /include/linux/timerqueue.h
parentd1d241cc2c5feec057c370aa71637380b1b945d5 (diff)
freezer: fix racy usage of try_to_freeze in kswapd
Currently we can miss freeze_process()->signal_wake_up() in kswapd() if it happens between try_to_freeze() and prepare_to_wait(). To prevent this from happening we should check freezing(current) before calling schedule(). Signed-off-by: Rafael J. Wysocki <[email protected]> Cc: Pavel Machek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions