Ignore:
Timestamp:
Apr 21, 2017, 4:28:29 AM (4 months ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.4/fs/proc/task_mmu.c

    r30631 r31885  
    804804                unsigned long addr, pmd_t *pmdp)
    805805{
    806         pmd_t pmd = pmdp_huge_get_and_clear(vma->vm_mm, addr, pmdp);
     806        pmd_t pmd = *pmdp;
     807
     808        /* See comment in change_huge_pmd() */
     809        pmdp_invalidate(vma, addr, pmdp);
     810        if (pmd_dirty(*pmdp))
     811                pmd = pmd_mkdirty(pmd);
     812        if (pmd_young(*pmdp))
     813                pmd = pmd_mkyoung(pmd);
    807814
    808815        pmd = pmd_wrprotect(pmd);
Note: See TracChangeset for help on using the changeset viewer.