summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-06-25 04:19:37 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2003-06-25 04:19:37 -0700
commit71c19018df4bb5e5220fed3e63df671e765c7a1f (patch)
tree0c0747188db0928faeaf09bccb39e28acc00e945 /drivers/block
parentdc0cf8b11169a96d303030f4df26dd8e63e9498e (diff)
[PATCH] setscheduler needs to force a reschedule
From: Robert Love <rml@tech9.net> Basically, the problem is that setscheduler() does not set need_resched when needed. There are two basic cases where this is needed: - the task is running, but now it is no longer the highest priority task on the rq - the task is not running, but now it is the highest priority task on the rq In either case, we need to set need_resched to invoke the scheduler.
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions