KVM: Retry sleeping allocation if atomic allocation fails
authorAvi Kivity <avi@qumranet.com>
Mon, 16 Apr 2007 08:53:17 +0000 (11:53 +0300)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 May 2007 07:52:29 +0000 (10:52 +0300)
commit8c4385024d31cb909ad84a2cafa5c83a4c5fab61
tree9c6df8e13bf475985b682704cbe0b587072cc087
parentb5a33a75720c03d58d8281a72b45ffd214f00ed7
KVM: Retry sleeping allocation if atomic allocation fails

This avoids -ENOMEM under memory pressure.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/mmu.c