Re: [PATCH] percpu data: only iterate over possible CPUs

From: Paul Jackson
Date: Thu Feb 09 2006 - 03:55:03 EST


Chuck wrote:
> I don't think that's, um, "possible." Even if you could discover how many
> empty sockets there were in a system, someone might be able to hotplug
> a board with more of them on it.

That's going to depend on your system hardware configuration.

cpu_possible_map should be whatever is the largest set of
cpus you might possibly want to deal with plugging in.

Some hardware configurations will support more addition
of hardware cpus than others.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.925.600.0401
-
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/