Re: [patch] use valid value when unmapping cpus

From: Matt Mackall (
Date: Mon Jun 09 2003 - 00:20:08 EST

On Wed, Jun 04, 2003 at 02:26:22PM -0700, Matthew Dobson wrote:
> For some unknown reason, we stick a -1 in cpu_2_node when we unmap a cpu
> on i386. We're better off sticking a 0 in there, because at least 0 is
> a valid value if something references it. -1 is only going to cause
> problems at some point down the line.

Problems down the line help you find the bogus dereference. Even
better to stick a poison value in there.

Matt Mackall : : of or relating to the moon
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:19 EST