linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
To: Shaohua Li <shaohua.li@intel.com>
Cc: kosaki.motohiro@jp.fujitsu.com, linux-mm@kvack.org,
	akpm@linux-foundation.org
Subject: Re: [PATCH]vmscan: trival: delete dead code
Date: Thu,  2 Sep 2010 15:55:08 +0900 (JST)	[thread overview]
Message-ID: <20100902155406.D077.A69D9226@jp.fujitsu.com> (raw)
In-Reply-To: <20100902055438.GA14705@sli10-conroe.sh.intel.com>

> delete dead code.
> 
> Signed-off-by: Shaohua Li <shaohua.li@intel.com>
> 
> diff --git a/mm/vmscan.c b/mm/vmscan.c
> index c391c32..993ab4c 100644
> --- a/mm/vmscan.c
> +++ b/mm/vmscan.c
> @@ -1914,16 +1914,6 @@ static unsigned long do_try_to_free_pages(struct zonelist *zonelist,
>  	}
>  
>  out:
> -	/*
> -	 * Now that we've scanned all the zones at this priority level, note
> -	 * that level within the zone so that the next thread which performs
> -	 * scanning of this zone will immediately start out at this priority
> -	 * level.  This affects only the decision whether or not to bring
> -	 * mapped pages onto the inactive list.
> -	 */
> -	if (priority < 0)
> -		priority = 0;
> -
>  	delayacct_freepages_end();
>  	put_mems_allowed();

thank you.
	Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>





--
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:[~2010-09-02  6:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-02  5:54 Shaohua Li
2010-09-02  6:55 ` KOSAKI Motohiro [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=20100902155406.D077.A69D9226@jp.fujitsu.com \
    --to=kosaki.motohiro@jp.fujitsu.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --cc=shaohua.li@intel.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