LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: "Miklos Szeredi" <miklos@szeredi.hu>
Cc: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fix quadratic behavior of shrink_dcache_parent()
Date: Sat, 10 Feb 2007 07:57:46 -0500 [thread overview]
Message-ID: <ee9e417a0702100457s6ed2c6a3sd5cc45a21db69876@mail.gmail.com> (raw)
In-Reply-To: <E1HFnsK-0007Ep-00@dorka.pomaz.szeredi.hu>
> Unfortunately this patch doesn't completely solve this problem, since
> the system will still be hosed due to all memory being used up by
> dentries. And I bet the OOM killer won't find the real target (du)
> but will kill anything before that.
>
> So the second part of the problem is to somehow limit the number of
> dentries used. Not easy...
At least with this patch (if I am reading it correctly), once the offending
culprit is identified and the programs are killed off, everything will go
back to normal without a reboot.
Russ
next prev parent reply other threads:[~2007-02-10 12:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-09 22:01 [PATCH] fix quadratic behavior of shrink_dcache_parent() Miklos Szeredi
2007-02-10 0:00 ` Andrew Morton
2007-02-10 0:23 ` Russ Cox
2007-02-10 0:40 ` Andrew Morton
2007-02-10 8:46 ` Miklos Szeredi
2007-02-10 10:51 ` Andi Kleen
2007-02-10 12:57 ` Russ Cox [this message]
2007-02-11 12:13 ` Miklos Szeredi
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=ee9e417a0702100457s6ed2c6a3sd5cc45a21db69876@mail.gmail.com \
--to=rsc@swtch.com \
--cc=akpm@linux-foundation.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miklos@szeredi.hu \
/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;
as well as URLs for NNTP newsgroup(s).