All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Sean Christopherson <seanjc@google.com>,
	Maxim Levitsky <mlevitsk@redhat.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	David Woodhouse <dwmw2@infradead.org>
Subject: Re: kvm_gfn_to_pfn_cache_refresh started getting a warning recently
Date: Tue, 26 Apr 2022 19:11:26 +0200	[thread overview]
Message-ID: <cc0c62dd-9c95-f3b9-b736-226b8c864cd4@redhat.com> (raw)
In-Reply-To: <YmghjwgcSZzuH7Rb@google.com>

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/KVM
> 
> This 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

  parent reply	other threads:[~2022-04-26 17:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-26 15:33 kvm_gfn_to_pfn_cache_refresh started getting a warning recently Maxim Levitsky
2022-04-26 16:45 ` Sean Christopherson
2022-04-26 16:56   ` Maxim Levitsky
2022-04-26 17:11   ` Paolo Bonzini [this message]
2022-04-26 17:34     ` Sean Christopherson
2022-04-26 18:15       ` Sean Christopherson
2022-04-27 12:22         ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cc0c62dd-9c95-f3b9-b736-226b8c864cd4@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=dwmw2@infradead.org \
    --cc=kvm@vger.kernel.org \
    --cc=mlevitsk@redhat.com \
    --cc=seanjc@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.