linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Nick Piggin <npiggin@suse.de>,
	Linux Memory Management List <linux-mm@kvack.org>,
	linux-fsdevel@vger.kernel.org
Subject: Re: [rfc] approach to pull writepage out of reclaim
Date: Sat, 11 Oct 2008 15:13:22 +1100	[thread overview]
Message-ID: <200810111513.22873.nickpiggin@yahoo.com.au> (raw)
In-Reply-To: <20081010162103.7c8b61c0.kamezawa.hiroyu@jp.fujitsu.com>

On Friday 10 October 2008 18:21, KAMEZAWA Hiroyuki wrote:
> On Thu, 9 Oct 2008 16:41:03 +0200
>
> Nick Piggin <npiggin@suse.de> wrote:
> > Hi,
> >
> > Just got bored of looking at other things, and started coding up the
> > first step to remove writepage from vmscan.
>
> Can I make a question ? Is this "vmscan" here means
>
>   - direct memory reclaim triggered by memory allocation failure
> (alloc_pages()) and not
>   - kswapd
>   - memory resource controller hits its limit
>
> or including all memory reclaim path ?

Anywhere that we writeout from LRUs (as opposed to from the inode).
That probably includes all of the above.

Actually, probably my first patch is not so critical. We can probably
start by just special casing writepage for the swapout path, and then
the writepage for filesystems becomes a slowpath which can do the
extra locking and refcounting...

--
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:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2008-10-11  4:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-09 14:41 Nick Piggin
2008-10-09 17:06 ` Christoph Lameter
2008-10-09 19:44   ` Matthew Wilcox
2008-10-09 20:45     ` Christoph Lameter
2008-10-10  2:44       ` Nick Piggin
2008-10-10  7:21 ` KAMEZAWA Hiroyuki
2008-10-11  4:13   ` Nick Piggin [this message]

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=200810111513.22873.nickpiggin@yahoo.com.au \
    --to=nickpiggin@yahoo.com.au \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=npiggin@suse.de \
    /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