[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090331.223128.143365884.davem@davemloft.net>
Date: Tue, 31 Mar 2009 22:31:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tj@...nel.org
CC: linux-kernel@...r.kernel.org
Subject: Inverted NUMA test in setup_pcpu_remap()?
The test currently is:
if (!cpu_has_pse || pcpu_need_numa())
return -EINVAL;
Don't we really mean "!pcpu_need_numa()"?
The way I read the intent, setup_pcpu_remap() should be used in the
NUMA case. But that's not what's happening because of how this test
is coded.
In fact, the test here is identical to the one used in
setup_pcpu_embed()
--
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