[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0711201214540.26419@schroedinger.engr.sgi.com>
Date: Tue, 20 Nov 2007 12:16:40 -0800 (PST)
From: Christoph Lameter <clameter@....com>
To: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
cc: ak@...e.de, akpm@...ux-foundation.org, travis@....com,
linux-kernel@...r.kernel.org
Subject: Re: [rfc 01/45] ACPI: Avoid references to impossible processors.
On Tue, 20 Nov 2007, Mathieu Desnoyers wrote:
> > Convert one loop to NR_CPUS to use the cpu_possible map instead.
> >
>
> I'm just wondering how broken this is. Is there any assumption that
> there is no holes in the online cpu map in this code ?
Yeah, I saw only one loop in there and so I think this covers it. The
debug code that I added to the cpu alloc patches did not throw any warning
and bugs anymore. So I am sure that this does not occur on the
configurations where I tested it. If some is running with the latest cpu
area patches then he will get bugs() for accessing an impossible
processors cpu area and warnings for accessing an offline processors cpu
area.
-
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