On Tue, 2022-04-26 at 16:45 +0000, 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/KVM > > This is my fault. memremap() can sleep as well. I'll work on a fix. > Thanks! Best regards, Maxim Levitsky