Re: [PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-04-10 Thread Alexander Graf
On 10.04.14 05:28, Liu ping fan wrote: On Mon, Apr 7, 2014 at 4:36 PM, Alexander Graf wrote: On 07.04.14 09:42, Aneesh Kumar K.V wrote: Alexander Graf writes: On 03.04.14 04:36, Liu ping fan wrote: Hi Alex, could you help to pick up this patch? since v3.14 kernel can enable numa fault fo

Re: [PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-04-09 Thread Liu ping fan
On Mon, Apr 7, 2014 at 4:36 PM, Alexander Graf wrote: > > On 07.04.14 09:42, Aneesh Kumar K.V wrote: >> >> Alexander Graf writes: >> >>> On 03.04.14 04:36, Liu ping fan wrote: Hi Alex, could you help to pick up this patch? since v3.14 kernel can enable numa fault for powerpc. >>>

Re: [PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-04-07 Thread Alexander Graf
On 07.04.14 09:42, Aneesh Kumar K.V wrote: Alexander Graf writes: On 03.04.14 04:36, Liu ping fan wrote: Hi Alex, could you help to pick up this patch? since v3.14 kernel can enable numa fault for powerpc. What bad happens without this patch? We map a page even though it was declared to ge

Re: [PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-04-07 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 03.04.14 04:36, Liu ping fan wrote: >> Hi Alex, could you help to pick up this patch? since v3.14 kernel can >> enable numa fault for powerpc. > > What bad happens without this patch? We map a page even though it was > declared to get NUMA migrated? What happens next

Re: [PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-04-03 Thread Alexander Graf
On 03.04.14 13:38, Alexander Graf wrote: On 03.04.14 13:36, Alexander Graf wrote: On 03.04.14 04:36, Liu ping fan wrote: Hi Alex, could you help to pick up this patch? since v3.14 kernel can enable numa fault for powerpc. What bad happens without this patch? We map a page even though it w

Re: [PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-04-03 Thread Alexander Graf
On 03.04.14 13:36, Alexander Graf wrote: On 03.04.14 04:36, Liu ping fan wrote: Hi Alex, could you help to pick up this patch? since v3.14 kernel can enable numa fault for powerpc. What bad happens without this patch? We map a page even though it was declared to get NUMA migrated? What hap

Re: [PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-04-03 Thread Alexander Graf
On 03.04.14 04:36, Liu ping fan wrote: Hi Alex, could you help to pick up this patch? since v3.14 kernel can enable numa fault for powerpc. What bad happens without this patch? We map a page even though it was declared to get NUMA migrated? What happens next? I'm trying to figure out wheth

Re: [PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-04-02 Thread Liu ping fan
Hi Alex, could you help to pick up this patch? since v3.14 kernel can enable numa fault for powerpc. Thx, Fan On Mon, Jan 27, 2014 at 5:11 PM, Alexander Graf wrote: > > On 21.01.2014, at 10:42, Aneesh Kumar K.V > wrote: > >> Liu Ping Fan writes: >> >>> To make sure that on host, the pages ma

Re: [PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-01-27 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 27.01.2014, at 11:28, Aneesh Kumar K.V > wrote: > >> Alexander Graf writes: >> >>> On 21.01.2014, at 10:42, Aneesh Kumar K.V >>> wrote: >>> Liu Ping Fan writes: > To make sure that on host, the pages marked with _PAGE_NUMA result in a > faul

Re: [PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-01-27 Thread Alexander Graf
On 27.01.2014, at 11:28, Aneesh Kumar K.V wrote: > Alexander Graf writes: > >> On 21.01.2014, at 10:42, Aneesh Kumar K.V >> wrote: >> >>> Liu Ping Fan writes: >>> To make sure that on host, the pages marked with _PAGE_NUMA result in a fault when guest access them, we shou

Re: [PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-01-27 Thread Paul Mackerras
On Mon, Jan 27, 2014 at 10:11:40AM +0100, Alexander Graf wrote: > > On 21.01.2014, at 10:42, Aneesh Kumar K.V > wrote: > > > Liu Ping Fan writes: > > > >> To make sure that on host, the pages marked with _PAGE_NUMA result in a > >> fault > >> when guest access them, we should force the check

Re: [PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-01-27 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 21.01.2014, at 10:42, Aneesh Kumar K.V > wrote: > >> Liu Ping Fan writes: >> >>> To make sure that on host, the pages marked with _PAGE_NUMA result in a >>> fault >>> when guest access them, we should force the checking when guest uses >>> hypercall >>> to setup

Re: [PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-01-27 Thread Alexander Graf
On 21.01.2014, at 10:42, Aneesh Kumar K.V wrote: > Liu Ping Fan writes: > >> To make sure that on host, the pages marked with _PAGE_NUMA result in a fault >> when guest access them, we should force the checking when guest uses >> hypercall >> to setup hpte. >> >> Signed-off-by: Liu Ping Fan

Re: [PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-01-21 Thread Aneesh Kumar K.V
Liu Ping Fan writes: > To make sure that on host, the pages marked with _PAGE_NUMA result in a fault > when guest access them, we should force the checking when guest uses hypercall > to setup hpte. > > Signed-off-by: Liu Ping Fan Reviewed-by: Aneesh Kumar K.V When we mark pte with _PAGE_NUMA

[PATCH v2] powernv: kvm: make _PAGE_NUMA take effect

2014-01-21 Thread Liu Ping Fan
To make sure that on host, the pages marked with _PAGE_NUMA result in a fault when guest access them, we should force the checking when guest uses hypercall to setup hpte. Signed-off-by: Liu Ping Fan --- v2: It should be the reply to "[PATCH 2/4] powernv: kvm: make _PAGE_NUMA take effect" An