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

Aneesh Kumar K.V aneesh.kumar at linux.ibm.com
Wed Dec 5 00:29:43 AEDT 2018


"Aneesh Kumar K.V" <aneesh.kumar at linux.ibm.com> writes:

> On 11/29/18 3:40 AM, Andrew Morton wrote:
>> On Wed, 28 Nov 2018 20:04:37 +0530 "Aneesh Kumar K.V" <aneesh.kumar at linux.ibm.com> wrote:
>> 
>>> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.ibm.com>
>> 
>> Some explanation of the motivation would be useful.
>
> I will update the commit message.
>

Is this good?

    mm/hugetlb: Add prot_modify_start/commit sequence for hugetlb update
    
    Architectures like ppc64 requires 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 allow the architectures to override the update sequence.

-aneesh



More information about the Linuxppc-dev mailing list