1 Feb 2006 13:24
Re: [RFC][PATCH -mm][Experimental] swsusp: freeze userspace processes first
Nigel Cunningham <nigel <at> suspend2.net>
2006-02-01 12:24:57 GMT
2006-02-01 12:24:57 GMT
Hi. On Wednesday 01 February 2006 21:47, Pavel Machek wrote: > Hi! > > > This is an experimantal patch aimed at the "unable to freeze processes > > under load" problem. > > > > On my box the 2.6.16-rc1-mm4 kernel with this patch applied survives the > > "dd if=/dev/hda of=/dev/null" test. > > > > Please have a look. > > It makes it better (well, I used my own, simpler variant, but that > should not matter; patch is attached). I now can't reproduce hangs > with simple stress testing, but running kernel make alongside that > makes it hang sometimes. Example of non-frozen gcc: > > gcc D EEE06A70 0 1750 1749 1751 > (NOTLB) > df85df38 00000046 bf878130 eee06a70 00004111 eee06a70 eee06a70 > 003d0900 > 00000000 c0137cf5 df85c000 00000000 c058ada2 c012503e ef2c915c > ef2c9030 > c1c0b480 7c3b8500 003d0927 df85c000 00000a98 7c3b8500 003d0927 > c0770800 > Call Trace: > [<c0137cf5>] attach_pid+0x25/0xb0 > [<c058ada2>] _write_unlock_irq+0x12/0x30 > [<c012503e>] copy_process+0xe5e/0x11b0(Continue reading)
Seriously speaking I have incoroprated your changes (extended to the userland
interface) and made some fixes (the usermodehelper-related part is still
there, for completness).
Greetings,
Rafael
Signed-off-by: Rafael J. Wysocki <rjw <at> sisk.pl>
RSS Feed