diff options
-rw-r--r-- | virt/kvm/async_pf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/async_pf.c b/virt/kvm/async_pf.c index 353159922456..db2dd3335c6a 100644 --- a/virt/kvm/async_pf.c +++ b/virt/kvm/async_pf.c | |||
@@ -172,7 +172,7 @@ int kvm_setup_async_pf(struct kvm_vcpu *vcpu, gva_t gva, unsigned long hva, | |||
172 | * do alloc nowait since if we are going to sleep anyway we | 172 | * do alloc nowait since if we are going to sleep anyway we |
173 | * may as well sleep faulting in page | 173 | * may as well sleep faulting in page |
174 | */ | 174 | */ |
175 | work = kmem_cache_zalloc(async_pf_cache, GFP_NOWAIT); | 175 | work = kmem_cache_zalloc(async_pf_cache, GFP_NOWAIT | __GFP_NOWARN); |
176 | if (!work) | 176 | if (!work) |
177 | return 0; | 177 | return 0; |
178 | 178 | ||