fascinating bug to do with apm and child processes...
andy at openmoko.com
Wed May 14 14:06:01 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Somebody in the thread at some point said:
| WNOHANG return immediately if no child has exited.
| so under no circumstances should this ever hang... but oooh. it does. now
| interestingly i attached to apm to see what it was doing.. and
| it woke up and continued to execute then exited with sh reaping the
| e reaping the sh and e waking up again:
There's some process freezing step as part of entering suspend, I guess
it is to do with that. FWIW echo mem > /sys/power/state also the echo
never returns until it comes back in resume.
Roh sent an amusing link once about the madness of suspending processes
in Linux maybe he can dig it out and post it here.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the openmoko-kernel