Re: [Xen-devel] [PATCH v3] xen/arm: Do not allocate pte entries for MAP_SMALL_PAGES

2015-03-11 Thread Ian Campbell
On Wed, 2015-03-11 at 10:43 +0530, Vijay Kilari wrote: > On Tue, Mar 10, 2015 at 5:22 PM, Ian Campbell wrote: > > On Tue, 2015-03-10 at 11:45 +, Julien Grall wrote: > >> On 09/03/15 16:08, Vijay Kilari wrote: > >> > On Mon, Mar 9, 2015 at 5:46 PM, Julien Grall > >> > wrote: > >> >> Hi Vijay,

Re: [Xen-devel] [PATCH v3] xen/arm: Do not allocate pte entries for MAP_SMALL_PAGES

2015-03-10 Thread Vijay Kilari
On Tue, Mar 10, 2015 at 5:22 PM, Ian Campbell wrote: > On Tue, 2015-03-10 at 11:45 +, Julien Grall wrote: >> On 09/03/15 16:08, Vijay Kilari wrote: >> > On Mon, Mar 9, 2015 at 5:46 PM, Julien Grall >> > wrote: >> >> Hi Vijay, >> >> >> >> Given the introduction of the new helper, the title lo

Re: [Xen-devel] [PATCH v3] xen/arm: Do not allocate pte entries for MAP_SMALL_PAGES

2015-03-10 Thread Ian Campbell
On Tue, 2015-03-10 at 11:45 +, Julien Grall wrote: > On 09/03/15 16:08, Vijay Kilari wrote: > > On Mon, Mar 9, 2015 at 5:46 PM, Julien Grall > > wrote: > >> Hi Vijay, > >> > >> Given the introduction of the new helper, the title looks wrong to me. > >> > >> > >> On 09/03/2015 08:59, vijay.kil

Re: [Xen-devel] [PATCH v3] xen/arm: Do not allocate pte entries for MAP_SMALL_PAGES

2015-03-10 Thread Julien Grall
On 09/03/15 16:08, Vijay Kilari wrote: > On Mon, Mar 9, 2015 at 5:46 PM, Julien Grall wrote: >> Hi Vijay, >> >> Given the introduction of the new helper, the title looks wrong to me. >> >> >> On 09/03/2015 08:59, vijay.kil...@gmail.com wrote: >>> >>> diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/m

Re: [Xen-devel] [PATCH v3] xen/arm: Do not allocate pte entries for MAP_SMALL_PAGES

2015-03-09 Thread Vijay Kilari
On Mon, Mar 9, 2015 at 5:46 PM, Julien Grall wrote: > Hi Vijay, > > Given the introduction of the new helper, the title looks wrong to me. > > > On 09/03/2015 08:59, vijay.kil...@gmail.com wrote: >> >> diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c >> index 7d4ba0c..e0be36b 100644 >> --- a/xen

Re: [Xen-devel] [PATCH v3] xen/arm: Do not allocate pte entries for MAP_SMALL_PAGES

2015-03-09 Thread Julien Grall
Hi Vijay, Given the introduction of the new helper, the title looks wrong to me. On 09/03/2015 08:59, vijay.kil...@gmail.com wrote: diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c index 7d4ba0c..e0be36b 100644 --- a/xen/arch/arm/mm.c +++ b/xen/arch/arm/mm.c @@ -827,14 +827,15 @@ static int c

Re: [Xen-devel] [PATCH v3] xen/arm: Do not allocate pte entries for MAP_SMALL_PAGES

2015-03-09 Thread Jan Beulich
>>> On 09.03.15 at 07:59, wrote: > From: Vijaya Kumar K > > On x86, for the pages mapped with PAGE_HYPERVISOR attribute > non-leaf page tables are allocated with valid pte entries. > and with MAP_SMALL_PAGES attribute only non-leaf page tables are > allocated with invalid (valid bit set to 0) pt

[Xen-devel] [PATCH v3] xen/arm: Do not allocate pte entries for MAP_SMALL_PAGES

2015-03-09 Thread vijay . kilari
From: Vijaya Kumar K On x86, for the pages mapped with PAGE_HYPERVISOR attribute non-leaf page tables are allocated with valid pte entries. and with MAP_SMALL_PAGES attribute only non-leaf page tables are allocated with invalid (valid bit set to 0) pte entries. However on arm this is not the case