Messages in this thread | | | Date | Wed, 2 Dec 2015 17:18:56 +0000 | From | David Vrabel <> | Subject | Re: [Xen-devel] [PATCH] xen: Resume PMU from non-atomic context |
| |
On 02/12/15 17:10, Boris Ostrovsky wrote: > Resuming PMU currently triggers a warning from ___might_sleep() (assuming > CONFIG_DEBUG_ATOMIC_SLEEP is set) when xen_pmu_init() allocates GFP_KERNEL > page because we are in state resembling atomic context. > > Move resuming PMU to xen_arch_resume() which is called in regular context. > For symmetry move suspending PMU to xen_arch_suspend() as well.
Applied to for-linus-4.4, thanks.
David
| |