CVSROOT: /cvs Module name: src Changes by: [email protected] 2019/11/11 21:20:21
Modified files:
sys/kern : kern_synch.c
sys/sys : proc.h
Log message:
Check sleep timeout state only if the sleep has a timeout. Otherwise,
the timeout cancellation in sleep_finish_timeout() would acquire the
kernel lock every time in the no-timeout case, as noticed by mpi@.
This also reduces the contention of timeout_mutex.
OK mpi@, feedback guenther@
