linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Patrick O'Rourke" <orourke@missioncriticallinux.com>
To: Stephen Tweedie <sct@redhat.com>
Cc: Rik van Riel <riel@nl.linux.org>, linux-mm@kvack.org
Subject: Re: [PATCH] Reclaim orphaned swap pages
Date: Fri, 30 Mar 2001 14:59:15 -0500	[thread overview]
Message-ID: <3AC4E593.1010909@missioncriticallinux.com> (raw)
In-Reply-To: <20010328235958.A1724@redhat.com>

Stephen Tweedie wrote:

 
> The patch works completely differently to the release-on-exit diffs:
> this one works in refill_inactive(), so has zero impact on the hot
> paths.  It also works by looking for such orphaned pages in the swap
> cache, not by examining swap entries --- it is much cheaper to find
> a swap entry for a given page than to find the swap cache page for a
> given swap entry.

It seems we would still have the situation whereby a process will be unable
to allocate memory because vm_enough_memory() fails, even though there is
sufficient orphaned swap pages available to satisfy the request. Isn't it
possible there may be enough free memory such that refill_inactive_scan()
isn't running, but still not enough to satisfy vm_enough_memory()?

Pat

-- 
Patrick O'Rourke
978.606.0236
orourke@missioncriticallinux.com

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

  reply	other threads:[~2001-03-30 19:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-28 22:59 Stephen Tweedie
2001-03-30 19:59 ` Patrick O'Rourke [this message]
2001-03-30 22:16 ` Rik van Riel
2001-04-04 21:59   ` Stephen Tweedie
2001-03-31 22:46 Bulent Abali
2001-04-02 15:17 Richard Jerrell
2001-04-02 18:17 Szabolcs Szakacsits
2001-04-02 18:40 ` Richard Jerrell
2001-04-02 18:40   ` Szabolcs Szakacsits
2001-04-03  0:19   ` Marcelo Tosatti
2001-04-03 13:27     ` Richard Jerrell
2001-04-03 22:11       ` Marcelo Tosatti
2001-04-04 14:29         ` Richard Jerrell

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=3AC4E593.1010909@missioncriticallinux.com \
    --to=orourke@missioncriticallinux.com \
    --cc=linux-mm@kvack.org \
    --cc=riel@nl.linux.org \
    --cc=sct@redhat.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