Re: [PATCH v2 2/2] xen/setup: Remap Xen Identity Mapped RAM

2014-08-26 Thread Matthew Rushton
On 08/01/14 07:52, David Vrabel wrote: On 31/07/14 18:43, David Vrabel wrote: On 20/07/14 01:01, Matt Rushton wrote: Instead of ballooning up and down dom0 memory this remaps the existing mfns that were replaced by the identity map. The reason for this is that the existing implementation

Re: [PATCH v2 2/2] xen/setup: Remap Xen Identity Mapped RAM

2014-08-26 Thread Matthew Rushton
On 08/01/14 07:52, David Vrabel wrote: On 31/07/14 18:43, David Vrabel wrote: On 20/07/14 01:01, Matt Rushton wrote: Instead of ballooning up and down dom0 memory this remaps the existing mfns that were replaced by the identity map. The reason for this is that the existing implementation

Re: [PATCH v3 2/2] xen/setup: Remap Xen Identity Mapped RAM

2014-08-11 Thread Matthew Rushton
are grouped into blocks with table entries getting cached temporarily and then released. On my test system before: Total pages: 2105014 Total contiguous: 1640635 After: Total pages: 2105014 Total contiguous: 2098904 Signed-off-by: Matthew Rushton --- Matt, Could you provide a summary of v2->

Re: [PATCH v2 2/2] xen/setup: Remap Xen Identity Mapped RAM

2014-08-11 Thread Matthew Rushton
On 08/01/14 08:56, Boris Ostrovsky wrote: On 08/01/2014 11:52 AM, Matt Wilson wrote: On Fri, Aug 01, 2014 at 03:52:28PM +0100, David Vrabel wrote: On 31/07/14 18:43, David Vrabel wrote: On 20/07/14 01:01, Matt Rushton wrote: Instead of ballooning up and down dom0 memory this remaps the

Re: [PATCH v2 2/2] xen/setup: Remap Xen Identity Mapped RAM

2014-08-11 Thread Matthew Rushton
On 08/01/14 08:56, Boris Ostrovsky wrote: On 08/01/2014 11:52 AM, Matt Wilson wrote: On Fri, Aug 01, 2014 at 03:52:28PM +0100, David Vrabel wrote: On 31/07/14 18:43, David Vrabel wrote: On 20/07/14 01:01, Matt Rushton wrote: Instead of ballooning up and down dom0 memory this remaps the

Re: [PATCH v3 2/2] xen/setup: Remap Xen Identity Mapped RAM

2014-08-11 Thread Matthew Rushton
are grouped into blocks with table entries getting cached temporarily and then released. On my test system before: Total pages: 2105014 Total contiguous: 1640635 After: Total pages: 2105014 Total contiguous: 2098904 Signed-off-by: Matthew Rushton mrush...@amazon.com --- Matt, Could you provide

Re: [PATCH v2 2/2] xen/setup: Remap Xen Identity Mapped RAM

2014-08-01 Thread Matthew Rushton
On 08/01/14 08:56, Boris Ostrovsky wrote: On 08/01/2014 11:52 AM, Matt Wilson wrote: On Fri, Aug 01, 2014 at 03:52:28PM +0100, David Vrabel wrote: On 31/07/14 18:43, David Vrabel wrote: On 20/07/14 01:01, Matt Rushton wrote: Instead of ballooning up and down dom0 memory this remaps the

Re: [PATCH v2 2/2] xen/setup: Remap Xen Identity Mapped RAM

2014-08-01 Thread Matthew Rushton
On 08/01/14 08:56, Boris Ostrovsky wrote: On 08/01/2014 11:52 AM, Matt Wilson wrote: On Fri, Aug 01, 2014 at 03:52:28PM +0100, David Vrabel wrote: On 31/07/14 18:43, David Vrabel wrote: On 20/07/14 01:01, Matt Rushton wrote: Instead of ballooning up and down dom0 memory this remaps the

Re: [PATCH] xen/setup: Remap Xen Identity Mapped RAM

2014-07-19 Thread Matthew Rushton
On 07/08/14 08:57, Konrad Rzeszutek Wilk wrote: Responding :-) @@ -797,10 +794,9 @@ unsigned long __init set_phys_range_identity(unsigned long pfn_s, if (!__set_phys_to_machine(pfn, IDENTITY_FRAME(pfn))) break; - if (!WARN((pfn - pfn_s) != (pfn_e

Re: [PATCH] xen/setup: Remap Xen Identity Mapped RAM

2014-07-19 Thread Matthew Rushton
On 07/08/14 08:57, Konrad Rzeszutek Wilk wrote: Responding :-) @@ -797,10 +794,9 @@ unsigned long __init set_phys_range_identity(unsigned long pfn_s, if (!__set_phys_to_machine(pfn, IDENTITY_FRAME(pfn))) break; - if (!WARN((pfn - pfn_s) != (pfn_e

Re: [PATCH] xen/setup: Remap Xen Identity Mapped RAM

2014-07-07 Thread Matthew Rushton
the Xen one liner:) Note: resending On my test system before: Total pages: 2105014 Total contiguous: 1640635 After: Total pages: 2105014 Total contiguous: 2098904 Signed-off-by: Matthew Rushton --- arch/x86/xen/p2m.c | 20 ++- arch/x86/xen/p2m.h | 15 ++ arch/x86/xen/setup.c

Re: [PATCH] xen/setup: Remap Xen Identity Mapped RAM

2014-07-07 Thread Matthew Rushton
the Xen one liner:) On my test system before: Total pages: 2105014 Total contiguous: 1640635 After: Total pages: 2105014 Total contiguous: 2098904 Signed-off-by: Matthew Rushton --- arch/x86/xen/p2m.c | 20 ++- arch/x86/xen/p2m.h | 15 ++ arch/x86/xen/setup.c | 378

Re: [PATCH] xen/setup: Remap Xen Identity Mapped RAM

2014-07-07 Thread Matthew Rushton
the Xen one liner:) On my test system before: Total pages: 2105014 Total contiguous: 1640635 After: Total pages: 2105014 Total contiguous: 2098904 Signed-off-by: Matthew Rushton mrush...@amazon.com --- arch/x86/xen/p2m.c | 20 ++- arch/x86/xen/p2m.h | 15 ++ arch/x86/xen/setup.c

Re: [PATCH] xen/setup: Remap Xen Identity Mapped RAM

2014-07-07 Thread Matthew Rushton
the Xen one liner:) Note: resending On my test system before: Total pages: 2105014 Total contiguous: 1640635 After: Total pages: 2105014 Total contiguous: 2098904 Signed-off-by: Matthew Rushton mrush...@amazon.com --- arch/x86/xen/p2m.c | 20 ++- arch/x86/xen/p2m.h | 15 ++ arch