On 4/26/22 18:45, Sean Christopherson wrote:
On Tue, Apr 26, 2022, Maxim Levitsky wrote:[ 390.511995] BUG: sleeping function called from invalid context at include/linux/highmem-internal.h:161 [ 390.513681] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 4439, name: CPU 0/KVMThis is my fault. memremap() can sleep as well. I'll work on a fix.
Indeed, "KVM: Fix race between mmu_notifier invalidation and pfncache refresh" hadn't gone through a full test cycle yet.
Paolo