From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
To: wzt.wzt@gmail.com
Cc: kosaki.motohiro@jp.fujitsu.com, linux-kernel@vger.kernel.org,
linux-mm@kvack.org, akpm@linux-foundation.org
Subject: Re: [PATCH] mm: Fix some coding styles on mm/ tree
Date: Thu, 4 Mar 2010 13:06:31 +0900 (JST) [thread overview]
Message-ID: <20100304130509.D653.A69D9226@jp.fujitsu.com> (raw)
In-Reply-To: <20100304110916.GA3197@localhost.localdomain>
> diff --git a/mm/vmscan.c b/mm/vmscan.c
> index c26986c..fbe2793 100644
> --- a/mm/vmscan.c
> +++ b/mm/vmscan.c
> @@ -1327,9 +1327,9 @@ static void shrink_active_list(unsigned long nr_pages, struct zone *zone,
> * zone->pages_scanned is used for detect zone's oom
> * mem_cgroup remembers nr_scan by itself.
> */
> - if (scanning_global_lru(sc)) {
> + if (scanning_global_lru(sc))
> zone->pages_scanned += pgscanned;
> - }
> +
> reclaim_stat->recent_scanned[file] += nr_taken;
>
> __count_zone_vm_events(PGREFILL, zone, pgscanned);
Probably this part is my fault.
Thanks! Zhitong.
--
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>
next prev parent reply other threads:[~2010-03-04 4:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-04 11:09 wzt.wzt
2010-03-04 4:06 ` KOSAKI Motohiro [this message]
2010-03-04 23:29 ` Andrew Morton
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=20100304130509.D653.A69D9226@jp.fujitsu.com \
--to=kosaki.motohiro@jp.fujitsu.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=wzt.wzt@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