From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: Rik van Riel <riel@conectiva.com.br>
Cc: Linus Torvalds <torvalds@transmeta.com>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
linux-kernel@vger.kernel.org, Hugh Dickins <hugh@veritas.com>
Subject: Re: [PATCH #2] OOM kill trigger
Date: Fri, 06 Jul 2001 22:12:07 -0400 [thread overview]
Message-ID: <3B466FF7.81138181@mandrakesoft.com> (raw)
In-Reply-To: <Pine.LNX.4.33L.0107061930390.17825-100000@duckman.distro.conectiva>
Rik van Riel wrote:
> + cache_mem = atomic_read(&page_cache_size);
> + cache_mem += atomic_read(&buffermem_pages);
> + cache_mem -= swapper_space.nrpages;
> + limit = (page_cache.min_percent + buffer_mem.min_percent);
Don't you need extra protection around swapper_space.nrpages? A barrier
right above it?
--
Jeff Garzik | A recent study has shown that too much soup
Building 1024 | can cause malaise in laboratory mice.
MandrakeSoft |
next prev parent reply other threads:[~2001-07-07 2:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-06 22:32 [PATCH #2] OOM kill trigger Rik van Riel
2001-07-07 2:12 ` Jeff Garzik [this message]
2001-07-07 18:05 ` Rik van Riel
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=3B466FF7.81138181@mandrakesoft.com \
--to=jgarzik@mandrakesoft.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=hugh@veritas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=riel@conectiva.com.br \
--cc=torvalds@transmeta.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