diff options
author | Naoya Horiguchi <[email protected]> | 2015-04-07 14:26:47 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-04-07 16:45:33 -0700 |
commit | 6b79c57b92cdd90853002980609af516d14c4f9c (patch) | |
tree | 2b209795920c9311d8638b6f442224e0aa7995a0 /lib/test-string_helpers.c | |
parent | ce66b032ad7b838bf376e3b1bb4d8bce1a69ee5c (diff) |
mm: numa: disable change protection for vma(VM_HUGETLB)
Currently when a process accesses a hugetlb range protected with
PROTNONE, unexpected COWs are triggered, which finally puts the hugetlb
subsystem into a broken/uncontrollable state, where for example
h->resv_huge_pages is subtracted too much and wraps around to a very
large number, and the free hugepage pool is no longer maintainable.
This patch simply stops changing protection for vma(VM_HUGETLB) to fix
the problem. And this also allows us to avoid useless overhead of minor
faults.
Signed-off-by: Naoya Horiguchi <[email protected]>
Suggested-by: Mel Gorman <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions