linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Rohland <hans-christoph.rohland@sap.com>
To: Andrea Arcangeli <andrea@suse.de>
Cc: Ingo Molnar <mingo@chiara.csoma.elte.hu>,
	Rik van Riel <riel@nl.linux.org>,
	MM mailing list <linux-mm@kvack.org>,
	woodman@missioncriticallinux.com,
	Linus Torvalds <torvalds@transmeta.com>
Subject: Re: [Patch] shm cleanups
Date: 05 Nov 1999 17:16:20 +0100	[thread overview]
Message-ID: <qwwzows9anf.fsf@sap.com> (raw)
In-Reply-To: Andrea Arcangeli's message of "05 Nov 1999 14:18:03 +0100"

Andrea Arcangeli <andrea@suse.de> writes:

> Christoph Rohland <hans-christoph.rohland@sap.com> writes:
> 
> >         if (!(page_map = prepare_highmem_swapout(page_map)))
> > -               goto check_table;
> > +               goto failed;
> 
> This fragment isn't correct. You may fail too early and so you may get
> a task killed due OOM even if you still have lots of regular pages
> queued in a shm segment.

Yes I know it is questionable, but if prepare_highmem_swapout fails we
are in the highmem area and probably most of the rest of shm is also
there. So we only consume a lot of CPU if going on and calling
prepare_highmem_swapout again and again..

prepare_highmem_swapout should not fail (and does not fail very often
in 2.3.26-pre2) In 2.3.25 the machine effectivly locked up when it
failed (and it failed very often).

On 2.3.26-pre2 I do not see a difference between the two versions. So
I do not know which way will be better.

        Christoph
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/

  reply	other threads:[~1999-11-05 16:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-03 21:30 Christoph Rohland
1999-11-04  8:10 ` Ingo Molnar
1999-11-04 12:40   ` Christoph Rohland
1999-11-04 17:58     ` Ingo Molnar
1999-11-04 19:02       ` Rik van Riel
1999-11-04 22:30         ` Ingo Molnar
1999-11-05  0:14           ` Andrea Arcangeli
1999-11-05 12:35             ` Christoph Rohland
1999-11-05 13:18               ` Andrea Arcangeli
1999-11-05 16:16                 ` Christoph Rohland [this message]
1999-11-05 16:21                   ` Andrea Arcangeli
1999-11-05 16:28                     ` Christoph Rohland
1999-11-05 10:36           ` Christoph Rohland
  -- strict thread matches above, loose matches on Subject: below --
1999-11-03 19:17 Christoph Rohland

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=qwwzows9anf.fsf@sap.com \
    --to=hans-christoph.rohland@sap.com \
    --cc=andrea@suse.de \
    --cc=linux-mm@kvack.org \
    --cc=mingo@chiara.csoma.elte.hu \
    --cc=riel@nl.linux.org \
    --cc=torvalds@transmeta.com \
    --cc=woodman@missioncriticallinux.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox