Re: [PATCH] powerpc/kvm: Handle transparent hugepage in KVM

2013-06-19 Thread Michael Neuling
> >> --- a/arch/powerpc/include/asm/kvm_book3s_64.h > >> +++ b/arch/powerpc/include/asm/kvm_book3s_64.h > >> @@ -162,33 +162,40 @@ static inline int hpte_cache_flags_ok(unsigned long > >> ptel, unsigned long io_type) > >> * Lock and read a linux PTE. If it's present and writable, atomically > >

Re: [PATCH] powerpc/kvm: Handle transparent hugepage in KVM

2013-06-19 Thread Aneesh Kumar K.V
Michael Neuling writes: > Aneesh Kumar K.V wrote: > >> From: "Aneesh Kumar K.V" >> >> We can find pte that are splitting while walking page tables. Return >> None pte in that case. > > Can you expand on this more please. There are a lot of details below > like removing a ldarx/stdcx loop that

Re: [PATCH] powerpc/kvm: Handle transparent hugepage in KVM

2013-06-19 Thread Michael Neuling
Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > We can find pte that are splitting while walking page tables. Return > None pte in that case. Can you expand on this more please. There are a lot of details below like removing a ldarx/stdcx loop that should be better described here. >