All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Nigel Cunningham <ncunningham@linuxmail.org>
Cc: Andrew Morton <akpm@digeo.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Suspend2 Merge: Supress various actions/errors while suspending [0/5]
Date: Sun, 19 Sep 2004 10:32:44 +0200	[thread overview]
Message-ID: <20040919083244.GA19005@elf.ucw.cz> (raw)
In-Reply-To: <1095378659.5897.96.camel@laptop.cunninghams>

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!

      parent reply	other threads:[~2004-09-19  8:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-16 23:50 [PATCH] Suspend2 Merge: Supress various actions/errors while suspending [0/5] Nigel Cunningham
2004-09-17  0:00 ` Andrew Morton
2004-09-17  0:03   ` Nigel Cunningham
2004-09-17  0:23     ` Andrew Morton
2004-09-17  0:23       ` Nigel Cunningham
2004-09-19  8:32 ` Pavel Machek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040919083244.GA19005@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ncunningham@linuxmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.