linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Li Peng <lip@dtdream.com>, akpm@linux-foundation.org
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: fix duplicate words and typos
Date: Wed, 18 May 2016 08:23:12 -0700	[thread overview]
Message-ID: <573C88E0.8070405@infradead.org> (raw)
In-Reply-To: <1463538956-7342-1-git-send-email-lip@dtdream.com>

On 05/17/16 19:35, Li Peng wrote:
> Signed-off-by: Li Peng <lip@dtdream.com>
> ---
>  mm/memcontrol.c | 2 +-
>  mm/page_alloc.c | 6 +++---
>  mm/vmscan.c     | 7 +++----
>  mm/zswap.c      | 2 +-
>  4 files changed, 8 insertions(+), 9 deletions(-)

> diff --git a/mm/vmscan.c b/mm/vmscan.c
> index 142cb61..8ff5a79 100644
> --- a/mm/vmscan.c
> +++ b/mm/vmscan.c

> @@ -3267,8 +3267,7 @@ static int balance_pgdat(pg_data_t *pgdat, int order, int classzone_idx)
>  			/*
>  			 * There should be no need to raise the scanning
>  			 * priority if enough pages are already being scanned
> -			 * that that high watermark would be met at 100%
> -			 * efficiency.
> +			 * that high watermark would be met at 100% efficiency.

I think that this one wasn't wrong, just confusing.  Maybe change it to:
			* that the high watermark would be met at 100% efficiency.

>  			 */
>  			if (kswapd_shrink_zone(zone, end_zone, &sc))
>  				raise_priority = false;
> diff --git a/mm/zswap.c b/mm/zswap.c
> index de0f119b..6d829d7 100644
> --- a/mm/zswap.c
> +++ b/mm/zswap.c
> @@ -928,7 +928,7 @@ static int zswap_writeback_entry(struct zpool *pool, unsigned long handle)
>  	* a load may happening concurrently
>  	* it is safe and okay to not free the entry
>  	* if we free the entry in the following put
> -	* it it either okay to return !0
> +	* it either okay to return !0

That's still confusing.  Needs some kind of help.

>  	*/
>  fail:
>  	spin_lock(&tree->lock);
> 


-- 
~Randy

--
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:[~2016-05-18 15:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-18  2:35 [PATCH] mm: fix duplicate words and typos Li Peng
2016-05-18 15:23 ` Randy Dunlap [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=573C88E0.8070405@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lip@dtdream.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).