Re: [PATCH V5 4/5] mm/hugetlb: Add prot_modify_start/commit sequence for hugetlb update

2019-01-30 Thread Michael Ellerman
"Aneesh Kumar K.V" writes: > Architectures like ppc64 require to do a conditional tlb flush based on the > old > and new value of pte. Follow the regular pte change protection sequence for > hugetlb too. This allows the architectures to override the update sequence. > > Signed-off-by: Aneesh Kum

[PATCH V5 4/5] mm/hugetlb: Add prot_modify_start/commit sequence for hugetlb update

2019-01-16 Thread Aneesh Kumar K.V
Architectures like ppc64 require to do a conditional tlb flush based on the old and new value of pte. Follow the regular pte change protection sequence for hugetlb too. This allows the architectures to override the update sequence. Signed-off-by: Aneesh Kumar K.V --- include/linux/hugetlb.h | 20