Hello, Avi.
On Sun, Aug 07, 2011 at 06:32:35PM +0300, Avi Kivity wrote:
> qemu, under some conditions (-cpu host or -cpu kvm64), erroneously
> passes family=15 as the virtual cpuid. This causes a BUG() in
> percpu code during late boot:
>
> ------------[ cut here ]------------
> kernel BUG at mm/percpu.c:577!
> All this applies to v3.0; current upstream (c2f340a69ca) fails even
> worse, haven't yet determined exactly why.
>
> I'm surprised this hasn't been reported before; Ingo, don't you have
> family=15 hosts in your test farm?
Hmmm... I can't trigger the problem w/ kvm64 (I tried mounting and
unmounting filesystems but it worked okay) and am quite skeptical this
is a wide spread problem given that the percpu core code is used very
widely and hasn't seen a lot of changes lately. Is there anything
specific you need to do to trigger the condition? Can you try to
print out the s_files addresses being allocated and freed?