From: Andrew Morton <akpm@osdl.org>
To: Nikita Danilov <nikita@clusterfs.com>
Cc: Andrea@Suse.DE, linux-mm@kvack.org, Mason@Suse.COM
Subject: Re: "orphaned pagecache memleak fix" question.
Date: Wed, 6 Apr 2005 14:34:01 -0700 [thread overview]
Message-ID: <20050406143401.3482ecd9.akpm@osdl.org> (raw)
In-Reply-To: <16980.20374.889089.242557@gargle.gargle.HOWL>
Nikita Danilov <nikita@clusterfs.com> wrote:
>
> >
> > Not for any deep reason: it's just that thus-far we've avoided fiddling
> > witht he LRU queues in filesystems and it'd be nice to retain that.
>
> What about do_invalidatepage() removing page from ->lru when
> ->invalidatepage() returns error?
That could be made to work, I guess.
It's a behavioural change though, which might result in really-hard-to-find
and slow memory leaks in filesystems which were previously working OK.
--
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/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
next prev parent reply other threads:[~2005-04-06 21:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-05 16:02 Nikita Danilov
2005-04-06 7:58 ` Andrew Morton
2005-04-06 12:06 ` Nikita Danilov
2005-04-06 19:27 ` Andrew Morton
2005-04-06 21:07 ` Nikita Danilov
2005-04-06 21:34 ` Andrew Morton [this message]
2005-04-06 21:12 ` Chris Mason
2005-04-06 21:30 ` Andrew Morton
2005-04-06 21:50 ` Chris Mason
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=20050406143401.3482ecd9.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=Andrea@Suse.DE \
--cc=Mason@Suse.COM \
--cc=linux-mm@kvack.org \
--cc=nikita@clusterfs.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