mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 19:03:15 +01:00
Removed all unecessary prints from the mutex test and the kernel
- removed (%d) Sleeping print from contended kernel mutexes. - removed (%d) Waiting print from WAIT_EVENT used by the pager for suspending tasks. - removed prints from the mutex_control syscall and user mutex test.
This commit is contained in:
@@ -59,7 +59,7 @@ do { \
|
||||
task_set_wqh(current, wqh, &wq); \
|
||||
(wqh)->sleepers++; \
|
||||
list_add_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