From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: [PATCH 0 of 4] [RFC] x86 shadow: get rid of the need for contiguous memory Date: Fri, 20 Aug 2010 16:57:59 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This series of patches removes the need for shadow pagetable memory to be allocated in 4-page contiguous blocks, by reusing the page_info list header for yet one more thing. It fixes a long-standing issue where on a fairly full machine which has seen a lot of ballooning HVM domain creation can fail because the remaining memory is too fragmented to use for shadows. Posting as an RFC for now because I haven't had a chance to do any heavy testing (compile tests under 32-bit WinXP seem fine though) and I'm away for the next week. I hope to fold in any feedback and commit this change the week after that. Cheers, Tim. 5 files changed, 332 insertions(+), 301 deletions(-) xen/arch/x86/mm/shadow/common.c | 345 +++++++++++++------------------------- xen/arch/x86/mm/shadow/multi.c | 143 +++++++++------ xen/arch/x86/mm/shadow/private.h | 117 +++++++++++- xen/include/asm-x86/domain.h | 3 xen/include/asm-x86/mm.h | 25 +-