On Mon Dec 30 20:26:47 EST 2013, [email protected] wrote: > Anthony Martin <[email protected]> once said: > > erik quanstrom <[email protected]> once said: > > > since kprocs don't get notes (it's an error to write to the note file), > > > sleep in a kproc can't get interrupted. this code will never fire. > > > > It looks like they can on 9front. > > Actually, this isn't just 9front. All of the network > medium receive kprocs (e.g., etherread4) can be sent > notes (only by the kernel, of course).
there are no calls to procalarm() outside of sysalarm (the alarm system call) in either the official sources or 9atom (either the 64bit or regular kernels). if i've pulled correctly, 9front has one procalarm, and it's in the vesa code with a waserror at the ready. this patch addresses a problem that doesn't exist. it seems to imply that notes can come to kprocs out of the blue. and i believe this is not correct. - erik
