diff options
| author | 2007-09-10 11:28:17 +0300 | |
|---|---|---|
| committer | 2007-10-13 10:18:27 +0200 | |
| commit | 2e3e5882dca3ab409aa8c9c96f47610b576719f8 (patch) | |
| tree | 53184e9026b67710bd74615b818c53a6b62c3ab4 /include/linux/workqueue.h | |
| parent | KVM: Rename kvm_arch_ops to kvm_x86_ops (diff) | |
KVM: MMU: Don't do GFP_NOWAIT allocations
Before preempt notifiers, kvm needed to allocate memory with GFP_NOWAIT so
as not to have to enable preemption and take a heavyweight exit. On oom, we'd
fall back to a GFP_KERNEL allocation.
With preemption notifiers, we can do a GFP_KERNEL allocation, and perform
the heavyweight exit only if the kernel decides to put us to sleep.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
