said other. it is ok to send the note when p->alarms is non-zero while holding the p->debug lock. it might just change to zero after our check but this is ok. we will send the note but pexit() will not make it to put the process on the freelist until we release the debug qlock.
-- cinap