From: William Lee Irwin III <wli@holomorphy.com>
To: Andrew Morton <akpm@digeo.com>
Cc: Daniel Phillips <phillips@arcor.de>,
Rik van Riel <riel@conectiva.com.br>,
sfkaplan@cs.amherst.edu, linux-mm@kvack.org
Subject: Re: [PATCH] modified segq for 2.5
Date: Mon, 9 Sep 2002 17:21:23 -0700 [thread overview]
Message-ID: <20020910002123.GK18800@holomorphy.com> (raw)
In-Reply-To: <3D7D3697.1DE602D1@digeo.com>
William Lee Irwin III wrote:
>> This seemed to work fine when I just tweaked problem areas to use
>> __GFP_NOKILL. mempool was fixed by the __GFP_FS checks, but
>> generic_file_read(), generic_file_write(), the rest of filemap.c,
>> slab allocations, and allocating file descriptor tables for poll() and
>> select() appeared to generate OOM when it appeared to me that failing
>> system calls with -ENOMEM was a better alternative than shooting tasks.
On Mon, Sep 09, 2002 at 05:02:31PM -0700, Andrew Morton wrote:
> But clearly there is reclaimable pagecache down there; we just
> have to wait for it. No idea why you'd get an oom on ZONE_HIGHMEM,
> but when I have a few more gigs I might be able to say.
> Anyway, it's all too much scanning.
Well, there was no swap, and most things were dirty. Not sure about the
rest. I was miffed by "Something tells it there's no memory and it
shoots tasks instead of returning -ENOMEM to userspace in a syscall?"
Saying "no" to the task allocating seems better than shooting tasks to
me. out_of_memory() being called too early sounds bad, too, though.
On Mon, Sep 09, 2002 at 05:02:31PM -0700, Andrew Morton wrote:
> You'll probably find that segq helps by accident. I installed
> SEGQ (and the shrink-slab-harder-if-mapped-pages-are-enountered)
> on my desktop here. Initial indications are that SEGQ kicks butt.
It seems to be a nice strategy a priori. It's good to hear initial
indications of the advantages coming out in practice. Something to
bench soon for sure.
Cheers,
Bill
--
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-mm.org/
next prev parent reply other threads:[~2002-09-10 0:21 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-15 14:24 Rik van Riel
2002-09-09 9:38 ` Andrew Morton
2002-09-09 11:40 ` Ed Tomlinson
2002-09-09 17:10 ` William Lee Irwin III
2002-09-09 18:58 ` Andrew Morton
2002-09-09 13:10 ` Rik van Riel
2002-09-09 19:03 ` Andrew Morton
2002-09-09 19:25 ` Rik van Riel
2002-09-09 19:55 ` Andrew Morton
2002-09-09 20:03 ` Rik van Riel
2002-09-09 20:51 ` Andrew Morton
2002-09-09 20:57 ` Andrew Morton
2002-09-09 21:09 ` Rik van Riel
2002-09-09 21:52 ` Andrew Morton
2002-09-09 22:41 ` Rik van Riel
2002-09-10 0:17 ` Daniel Phillips
2002-09-09 22:49 ` William Lee Irwin III
2002-09-09 22:54 ` Rik van Riel
2002-09-09 23:32 ` William Lee Irwin III
2002-09-09 23:53 ` Rik van Riel
2002-09-09 22:46 ` Daniel Phillips
2002-09-09 22:58 ` Andrew Morton
2002-09-09 23:40 ` William Lee Irwin III
2002-09-10 0:02 ` Andrew Morton
2002-09-10 0:21 ` William Lee Irwin III [this message]
2002-09-10 1:13 ` Andrew Morton
2002-09-10 1:50 ` Daniel Phillips
2002-09-10 2:02 ` 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=20020910002123.GK18800@holomorphy.com \
--to=wli@holomorphy.com \
--cc=akpm@digeo.com \
--cc=linux-mm@kvack.org \
--cc=phillips@arcor.de \
--cc=riel@conectiva.com.br \
--cc=sfkaplan@cs.amherst.edu \
/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