Reservations for must-succeed memory allocations
Reservations for must-succeed memory allocations
Posted Mar 18, 2015 23:31 UTC (Wed) by nix (subscriber, #2304)In reply to: Reservations for must-succeed memory allocations by nix
Parent article: Reservations for must-succeed memory allocations
I clearly need to go to sleep...
Posted Mar 19, 2015 1:12 UTC (Thu)
by Paf (subscriber, #91811)
[Link]
Uninterruptible sleeping, and sleeping with sigkill blocked. Doing either one in a syscall means the process won't act on sigkill until it is woken up. I believe when sleeping uninterruptibly, sigkill is ignored. (I'm pretty sure.)
One particularly fun thing in multi-threaded systems I've actually seen: The intended waker is killed and the sleeper is now unwakeable and unkillable.
Reservations for must-succeed memory allocations