Re: Fix SWSUSP & !SWAP

From: CaT (cat@zip.com.au)
Date: Wed Apr 23 2003 - 19:37:58 EST


On Thu, Apr 24, 2003 at 02:25:52AM +0200, Pavel Machek wrote:
> If it is an *option*, it does not make code simpler.
>
> And OOM-killing during suspend is just what you want. It makes suspend
> deterministic but it might kill someone. [Well, your solution would
> kill him sooner than that...]

I wouldn't say it's what you want. I really rather not have open office
(for eg) killed just because while I could have had the space to suspend
fully I wasn't able. And if it's my only reason for using the laptop at
the time then it just outright dieing might be just as useful.

Have the OOM killing if you want but being able to tack on an extra swap
partition when suspending would be most useful, either out of the kernel
or out of userspace, whichever would be the most reliable.

-- 
Martin's distress was in contrast to the bitter satisfaction of some
of his fellow marines as they surveyed the scene. "The Iraqis are sick
people and we are the chemotherapy," said Corporal Ryan Dupre. "I am
starting to hate this country. Wait till I get hold of a friggin' Iraqi.
No, I won't get hold of one. I'll just kill him."
	- http://www.informationclearinghouse.info/article2479.htm
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:39 EST