]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When wakeup(9) is going to notify swapper, assert that wait channel is not
authorkib <kib@FreeBSD.org>
Tue, 14 Jul 2009 22:50:41 +0000 (22:50 +0000)
committerkib <kib@FreeBSD.org>
Tue, 14 Jul 2009 22:50:41 +0000 (22:50 +0000)
commitbd93a0c99aeae8ceb8cb06ce8f941dd42f51b0bc
treeedfdc0d609693bf9b19c6c4798ab14a951073593
parent57ca4583e728cab422fba8f15de10bd0b637b3dd
When wakeup(9) is going to notify swapper, assert that wait channel is not
equal to &proc0. It shall be not, since proc0 stack is not swappable, and
kick_proc0() is wakeup(&proc0).

Reviewed by: jhb
Approved by: re (kensmith)
sys/kern/kern_synch.c