Re: linux-next: Tree for June 5

Vegard Nossum
2008-06-06T11:21:19Z

On Fri, Jun 6, 2008 at 12:54 PM, Andrew Morton
<akpm@linux-foundation.org> wrote:
> On Fri, 6 Jun 2008 02:48:11 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:

...

> commit a9ad585c8a18f7ba754b85f5786976609b9d7d29
> Author: Mike Travis <travis@sgi.com>
> Date: Mon May 12 21:21:12 2008 +0200
>
> x86: remove the static 256k node_to_cpumask_map
>
> * Consolidate node_to_cpumask operations and remove the 256k
> byte node_to_cpumask_map. This is done by allocating the
> node_to_cpumask_map array after the number of possible nodes
> (nr_node_ids) is known.
>
> * Debug printouts when CONFIG_DEBUG_PER_CPU_MAPS is active have
> been increased. It now shows faults when calling node_to_cpumask()
> and node_to_cpumask_ptr().

This might be obvious, but maybe enabling CONFIG_DEBUG_PER_CPU_MAPS
will give you some more (valuable) info? It looks to me like maybe
nr_node_ids is returning inconsistent numbers or used somewhere before
it's properly initialized.

Vegard

--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036