|
@@ -172,7 +172,7 @@ int kvm_setup_async_pf(struct kvm_vcpu *vcpu, gva_t gva, unsigned long hva,
|
|
* do alloc nowait since if we are going to sleep anyway we
|
|
* do alloc nowait since if we are going to sleep anyway we
|
|
* may as well sleep faulting in page
|
|
* may as well sleep faulting in page
|
|
*/
|
|
*/
|
|
- work = kmem_cache_zalloc(async_pf_cache, GFP_NOWAIT);
|
|
|
|
|
|
+ work = kmem_cache_zalloc(async_pf_cache, GFP_NOWAIT | __GFP_NOWARN);
|
|
if (!work)
|
|
if (!work)
|
|
return 0;
|
|
return 0;
|
|
|
|
|