KVM: Clarify meaning of hva_to_pfn()'s 'atomic' parameter
authorAnish Moorthy <amoorthy@google.com>
Thu, 15 Feb 2024 23:53:52 +0000 (23:53 +0000)
committerSean Christopherson <seanjc@google.com>
Tue, 9 Apr 2024 21:00:48 +0000 (14:00 -0700)
commited2f049fc1445116317c97abb1f2870fb9a14d83
treee66737b9b787e83ca7c980feaab56ef40dce86c6
parentfec50db7033ea478773b159e0e2efb135270e3b7
KVM: Clarify meaning of hva_to_pfn()'s 'atomic' parameter

The current description can be read as "atomic -> allowed to sleep,"
when in fact the intended statement is "atomic -> NOT allowed to sleep."
Make that clearer in the docstring.

Signed-off-by: Anish Moorthy <amoorthy@google.com>
Link: https://lore.kernel.org/r/20240215235405.368539-2-amoorthy@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
virt/kvm/kvm_main.c