Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer dereference

From: Mike Travis
Date: Tue Jun 24 2008 - 10:44:59 EST


Rusty Russell wrote:
...
> Nice catch. Basically, cpu_possible_map should only be cleared at boot, and
> probably not even then.
>

One thing that should be avoided, is clearing anything but the last bit in the
cpu_possible_map. This is because num_possible_cpus != nr_cpu_ids when there
are holes in the map. (nr_cpu_ids = highest possible cpu # + 1).

Thanks,
Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/