Re: [ghes_copy_tofrom_phys] BUG: sleeping function called from invalid context at mm/page_alloc.c:4150
From: Borislav Petkov
Date: Mon Oct 30 2017 - 10:56:47 EST
On Mon, Oct 30, 2017 at 10:17:27AM -0400, Tyler Baicar wrote:
> I'm okay with reverting this
Then please send a revert patch along with a cleaned up splat explaining why
we're reverting.
> and coming up with another solution, but that seems like it could be
> masking a problem.
Doh, the splat already told you what the problem is:
[ 49.311408] BUG: sleeping function called from invalid context at mm/page_alloc.c:4150
you simply can't sleep in atomic context. GHES code better adhere to
that.
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--