diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-03-02 11:51:07 -0500 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-29 17:27:44 -0400 |
commit | 7a4affe47db86075eb36519049d047f6facab378 (patch) | |
tree | ed71e435d8cc2ceab5f77ce430777ee2e56cab2e /drivers/uwb/drp-avail.c | |
parent | 0c1a489cb92c996d50adfb84fee5edd7205e0c1b (diff) |
Bugfix: PSN-EDF should only requeue tasks that are not scheduled
Requeue a task that is already scheduled will cause it to be effectively
in the runqueue twice since scheduled tasks are conceptually the head
of the queue. If a task is still scheduled, then schedule() will do the
right thing and do the requeuing if necessary.
This fixes crashes reported by Glenn and Andrea.
Diffstat (limited to 'drivers/uwb/drp-avail.c')
0 files changed, 0 insertions, 0 deletions