From: Avi Kivity Date: Sat, 6 Jan 2007 00:36:53 +0000 (-0800) Subject: [PATCH] KVM: MMU: Replace atomic allocations by preallocated objects X-Git-Tag: v2.6.20-rc4~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=714b93da1a6d97307dfafb9915517879d8a66c0d;p=pandora-kernel.git [PATCH] KVM: MMU: Replace atomic allocations by preallocated objects The mmu sometimes needs memory for reverse mapping and parent pte chains. however, we can't allocate from within the mmu because of the atomic context. So, move the allocations to a central place that can be executed before the main mmu machinery, where we can bail out on failure before any damage is done. (error handling is deffered for now, but the basic structure is there) Signed-off-by: Avi Kivity Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed