Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1282089
| From | David Vrabel <david.vrabel@citrix.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [Xen-devel] [PATCH] xen: Resume PMU from non-atomic context |
| Date | 2015-12-02 18:20 +0100 |
| Message-ID | <qBjet-1JE-75@gated-at.bofh.it> (permalink) |
| References | <qBjer-1JE-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] xen: Resume PMU from non-atomic context Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-12-02 18:20 +0100 Re: [Xen-devel] [PATCH] xen: Resume PMU from non-atomic context David Vrabel <david.vrabel@citrix.com> - 2015-12-02 18:20 +0100
csiph-web