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

update

File:
1 edited

Legend:

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

    r31574 r31885  
    900900                unsigned long addr, pmd_t *pmdp)
    901901{
    902         pmd_t pmd = pmdp_huge_get_and_clear(vma->vm_mm, addr, pmdp);
     902        pmd_t pmd = *pmdp;
     903
     904        /* See comment in change_huge_pmd() */
     905        pmdp_invalidate(vma, addr, pmdp);
     906        if (pmd_dirty(*pmdp))
     907                pmd = pmd_mkdirty(pmd);
     908        if (pmd_young(*pmdp))
     909                pmd = pmd_mkyoung(pmd);
    903910
    904911        pmd = pmd_wrprotect(pmd);
Note: See TracChangeset for help on using the changeset viewer.