projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: Account for a THP NUMA hinting update as one PTE update
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
mm
/
mprotect.c
diff --git
a/mm/mprotect.c
b/mm/mprotect.c
index
a3af058
..
412ba2b
100644
(file)
--- a/
mm/mprotect.c
+++ b/
mm/mprotect.c
@@
-148,7
+148,7
@@
static inline unsigned long change_pmd_range(struct vm_area_struct *vma,
split_huge_page_pmd(vma, addr, pmd);
else if (change_huge_pmd(vma, pmd, addr, newprot,
prot_numa)) {
- pages
+= HPAGE_PMD_NR
;
+ pages
++
;
continue;
}
/* fall through */