Skip to content

Commit 99cab80

Browse files
committed
Merge tag 'kvm-x86-generic-6.18' of https://github.com/kvm-x86/linux into HEAD
KVM common changes for 6.18 Remove a redundant __GFP_NOWARN from kvm_setup_async_pf() as __GFP_NOWARN is now included in GFP_NOWAIT.
2 parents 3c5d19a + cf6a840 commit 99cab80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virt/kvm/async_pf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ bool kvm_setup_async_pf(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa,
192192
* do alloc nowait since if we are going to sleep anyway we
193193
* may as well sleep faulting in page
194194
*/
195-
work = kmem_cache_zalloc(async_pf_cache, GFP_NOWAIT | __GFP_NOWARN);
195+
work = kmem_cache_zalloc(async_pf_cache, GFP_NOWAIT);
196196
if (!work)
197197
return false;
198198

0 commit comments

Comments
 (0)