mirror of
https://github.com/drasko/codezero.git
synced 2026-02-17 04:13:14 +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:
@@ -126,7 +126,7 @@ int mutex_lock(struct mutex *mutex)
|
||||
mutex->wqh.sleepers++;
|
||||
sched_prepare_sleep();
|
||||
spin_unlock(&mutex->wqh.slock);
|
||||
printk("(%d) sleeping...\n", current->tid);
|
||||
// printk("(%d) sleeping...\n", current->tid);
|
||||
schedule();
|
||||
|
||||
/* Did we wake up normally or get interrupted */
|
||||
|
||||
Reference in New Issue
Block a user