[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070207212727.6aacb0b4.kamezawa.hiroyu@jp.fujitsu.com>
Date: Wed, 7 Feb 2007 21:27:27 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: Andi Kleen <ak@...e.de>
Cc: linux-kernel@...r.kernel.org, y-goto@...fujitsu.com,
clameter@...r.sgi.com, akpm@...l.org
Subject: Re: [2.6.20][PATCH] fix mempolicy error check on a system with
memory-less-node
On Wed, 7 Feb 2007 12:32:36 +0100
Andi Kleen <ak@...e.de> wrote:
>
> > How for_each_online_node(nid) works ? it can handle alias-nid ?
> >
> > ==
> > for_each_online_node(nid) {
> > pgdat = NODE_DATA(nid);
> > ==
> > This code never accesses pgdat_for_A twice ?
>
> It would. If there's a problem it could be changed to walk the pgdat lists instead,
> but at least when x86-64 still did it there wasn't.
>
Thank you for discussion.
I'll try another hot-fix just for this NULL pointer access problem,
which is not invasive and not costly.
Thanks,
-Kame
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists