Re: [PATCH] Suspend2 Merge: Supress various actions/errors while suspending [0/5]

From: Pavel Machek
Date: Sun Sep 19 2004 - 03:34:43 EST


Hi!

> The following patches suppress various actions and errors while we're
> suspending.
>
> Patch 1 disables the OOM killer and patch 3 complaining when no memory
> is available for an allocation. These are needed because swsusp and
> suspend2 both reduce the size of an image by allocating all the memory
> they can get, thus inciting the vm to free/swap out memory. This in turn
> can lead to processes being OOM killed and/or errors in the logs about
> not being able to allocate pages.

swsusp1 has some less ugly solution that is able to free memory but
not provoke OOM killer. I guess you should use it and drop this patch.

Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/