lkml.org 
[lkml]   [2007]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-11-20 21:19    [W:0.137 / U:24.208 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site