diff options
author | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2015-12-02 18:10:48 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-12-02 18:17:17 +0100 |
commit | de0afc9bdeeadaa998797d2333c754bf9f4d5dcf (patch) | |
tree | 7589aa1fb73dfe2ac28e748a9cf4f68391023daf /mm/early_ioremap.c | |
parent | xen/events/fifo: Consume unprocessed events when a CPU dies (diff) | |
download | linux-de0afc9bdeeadaa998797d2333c754bf9f4d5dcf.tar.xz linux-de0afc9bdeeadaa998797d2333c754bf9f4d5dcf.zip |
xen: Resume PMU from non-atomic context
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.
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reported-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: <stable@vger.kernel.org> # 4.3
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'mm/early_ioremap.c')
0 files changed, 0 insertions, 0 deletions