Re: [PATCH -v2 5/5] x86: use dmi check to treat disabled cpus ashotplug cpus.

From: Andi Kleen
Date: Wed Jan 13 2010 - 18:52:21 EST


> I just built an allyesconfig kernel, and it has 1904K of percpu data.
> 1791K of that is in per_cpu__cpu_lock_stats. So everything else is

Ok so we need to fix lock stats, I'll put it on my todo list.

> ~113K. Still. We should not be restricted from doing legitimately
> large percpu allocations because of ghost cpus (and Tejun knows my
> position on this), but it doesn't sound like the house is burning, either.

I think it's legitimate to require explicit allocation on
add/remove event for anything large.

Static per cpu is really only for "lazy users" anyways.

-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/