Re: Fix SWSUSP & !SWAP

Pavel Machek
2003-04-24T09:05:31Z

Hi!

> >> OK ... but at least having the *option* to have a separate reserved
> >> area would be nice, no? For most people, RAM is just a tiny amount
> >> of their disk space ... and damn, does it make the code simpler ;-)
> >
> > 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...]
>
> OK, fair enough. I like the "activate the spare swap blob" plan.
> Seems like the best of both worlds ... people can use files or
> partitions, and all the code is already there.

Except you can not use swapfiles ;-).
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]