From: Hugh Dickins <hughd@google.com>
To: Simon Jeons <simon.jeons@gmail.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>,
dormando <dormando@rydia.net>,
Andrew Morton <akpm@linux-foundation.org>,
Rik van Riel <riel@redhat.com>,
Seiji Aguchi <seiji.aguchi@hds.com>,
Satoru Moriya <satoru.moriya@hds.com>,
Randy Dunlap <rdunlap@xenotime.net>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
"lwoodman@redhat.com" <lwoodman@redhat.com>,
Mel Gorman <mel@csn.ul.ie>
Subject: Re: [PATCH] add extra free kbytes tunable
Date: Fri, 1 Mar 2013 14:33:38 -0800 (PST) [thread overview]
Message-ID: <alpine.LNX.2.00.1303011431290.9961@eggly.anvils> (raw)
In-Reply-To: <51307583.2020006@gmail.com>
On Fri, 1 Mar 2013, Simon Jeons wrote:
> On 03/01/2013 05:22 PM, Simon Jeons wrote:
> > On 02/23/2013 01:56 AM, Johannes Weiner wrote:
> > > Mapped file pages have to get scanned twice before they are reclaimed
> > > because we don't have enough usage information after the first scan.
> >
> > It seems that just VM_EXEC mapped file pages are protected.
> > Issue in page reclaim subsystem:
> > static inline int page_is_file_cache(struct page *page)
> > {
> > return !PageSwapBacked(page);
> > }
> > AFAIK, PG_swapbacked is set if anonymous page added to swap cache, and be
> > cleaned if removed from swap cache. So anonymous pages which are reclaimed
> > and add to swap cache won't have this flag, then they will be treated as
>
> s/are/aren't
PG_swapbacked != PG_swapcache
next prev parent reply other threads:[~2013-03-01 22:34 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-12 2:01 extra free kbytes tunable dormando
2013-02-15 22:21 ` Seiji Aguchi
2013-02-15 22:25 ` Rik van Riel
2013-02-17 23:48 ` [PATCH] add " dormando
2013-02-19 23:29 ` Andrew Morton
2013-02-20 5:19 ` dormando
2013-02-22 17:56 ` Johannes Weiner
2013-02-26 10:47 ` Mel Gorman
2013-02-26 15:13 ` Johannes Weiner
2013-02-26 16:25 ` Mel Gorman
2013-03-01 9:22 ` Simon Jeons
2013-03-01 9:31 ` Simon Jeons
2013-03-01 22:33 ` Hugh Dickins [this message]
2013-03-02 0:10 ` Simon Jeons
2013-03-02 1:42 ` Hugh Dickins
2013-03-02 2:42 ` Simon Jeons
2013-03-02 3:08 ` Hugh Dickins
2013-03-02 4:06 ` Simon Jeons
2013-03-09 1:08 ` Simon Jeons
2013-02-17 23:54 ` dormando
2013-02-15 22:49 ` Satoru Moriya
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=alpine.LNX.2.00.1303011431290.9961@eggly.anvils \
--to=hughd@google.com \
--cc=akpm@linux-foundation.org \
--cc=dormando@rydia.net \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lwoodman@redhat.com \
--cc=mel@csn.ul.ie \
--cc=rdunlap@xenotime.net \
--cc=riel@redhat.com \
--cc=satoru.moriya@hds.com \
--cc=seiji.aguchi@hds.com \
--cc=simon.jeons@gmail.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;
as well as URLs for NNTP newsgroup(s).