Re: [PATCH v5 2/3] x86/topology: Avoid wasting 128k for package id array

From: Thomas Gleixner
Date: Fri Nov 10 2017 - 07:53:13 EST


On Fri, 10 Nov 2017, Prarit Bhargava wrote:
> On 11/09/2017 07:43 PM, Thomas Gleixner wrote:
> > On Sun, 5 Nov 2017, Prarit Bhargava wrote:
> >> [v5]: Change kmalloc to GFP_ATOMIC to fix "sleeping function" warning on
> >> virtual machines.
> >
> > What has this to do with virtual machines? The very same issue is on
> > physcial hardware because this is called from the early CPU bringup code
> > with interrupts and preemption disabled.
>
> There was a Intel test bot report of a failure during boot on virtual systems
> with Andi's patch.

Sure, but the problem has nothing to do with virtual machines at all.

Thanks,

tglx