All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cody P Schafer <cody@linux.vnet.ibm.com>
To: Jianguo Wu <wujianguo@huawei.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Mel Gorman <mgorman@suse.de>,
	David Rientjes <rientjes@google.com>,
	KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>,
	Rik van Riel <riel@redhat.com>, Hugh Dickins <hughd@google.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm/mempolicy: use NUMA_NO_NODE
Date: Mon, 16 Sep 2013 13:26:07 -0700	[thread overview]
Message-ID: <5237695F.6010501@linux.vnet.ibm.com> (raw)
In-Reply-To: <5236FF32.60503@huawei.com>


> @@ -1802,11 +1802,11 @@ static inline unsigned interleave_nid(struct mempolicy *pol,
>
>   /*
>    * Return the bit number of a random bit set in the nodemask.
> - * (returns -1 if nodemask is empty)
> + * (returns NUMA_NO_NOD if nodemask is empty)

s/NUMA_NO_NOD/NUMA_NO_NODE/

>    */
>   int node_random(const nodemask_t *maskp)
>   {
> -	int w, bit = -1;
> +	int w, bit = NUMA_NO_NODE;
>
>   	w = nodes_weight(*maskp);
>   	if (w)
>

--
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>

WARNING: multiple messages have this Message-ID (diff)
From: Cody P Schafer <cody@linux.vnet.ibm.com>
To: Jianguo Wu <wujianguo@huawei.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Mel Gorman <mgorman@suse.de>,
	David Rientjes <rientjes@google.com>,
	KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>,
	Rik van Riel <riel@redhat.com>, Hugh Dickins <hughd@google.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm/mempolicy: use NUMA_NO_NODE
Date: Mon, 16 Sep 2013 13:26:07 -0700	[thread overview]
Message-ID: <5237695F.6010501@linux.vnet.ibm.com> (raw)
In-Reply-To: <5236FF32.60503@huawei.com>


> @@ -1802,11 +1802,11 @@ static inline unsigned interleave_nid(struct mempolicy *pol,
>
>   /*
>    * Return the bit number of a random bit set in the nodemask.
> - * (returns -1 if nodemask is empty)
> + * (returns NUMA_NO_NOD if nodemask is empty)

s/NUMA_NO_NOD/NUMA_NO_NODE/

>    */
>   int node_random(const nodemask_t *maskp)
>   {
> -	int w, bit = -1;
> +	int w, bit = NUMA_NO_NODE;
>
>   	w = nodes_weight(*maskp);
>   	if (w)
>


  parent reply	other threads:[~2013-09-16 20:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-16 12:53 [PATCH] mm/mempolicy: use NUMA_NO_NODE Jianguo Wu
2013-09-16 12:53 ` Jianguo Wu
2013-09-16 16:19 ` KOSAKI Motohiro
2013-09-16 16:19   ` KOSAKI Motohiro
2013-09-17  0:59   ` Jianguo Wu
2013-09-17  0:59     ` Jianguo Wu
2013-09-16 20:26 ` Cody P Schafer [this message]
2013-09-16 20:26   ` Cody P Schafer
2013-09-17  1:00   ` Jianguo Wu
2013-09-17  1:00     ` Jianguo Wu

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=5237695F.6010501@linux.vnet.ibm.com \
    --to=cody@linux.vnet.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=hughd@google.com \
    --cc=kosaki.motohiro@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mgorman@suse.de \
    --cc=riel@redhat.com \
    --cc=rientjes@google.com \
    --cc=wujianguo@huawei.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.