mirror of
https://github.com/drasko/codezero.git
synced 2026-02-12 18:03:15 +01:00
Fixed a nasty spinlock issue with wake_up_all that didn't get caught.
This commit is contained in:
@@ -59,7 +59,7 @@ do { \
|
||||
task_set_wqh(current, wqh, &wq); \
|
||||
(wqh)->sleepers++; \
|
||||
list_insert_tail(&wq.task_list, &(wqh)->task_list);\
|
||||
/* printk("(%d) waiting...\n", current->tid);*/ \
|
||||
/* printk("(%d) waiting...\n", current->tid); */ \
|
||||
sched_prepare_sleep(); \
|
||||
spin_unlock(&(wqh)->slock); \
|
||||
schedule(); \
|
||||
|
||||
Reference in New Issue
Block a user