diff options
| author | Kirill A. Shutemov <[email protected]> | 2012-12-12 13:50:57 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-12-12 17:38:31 -0800 |
| commit | cad7f613c4d010e1d0f05c9a4fb33c7ae40ba115 (patch) | |
| tree | 9d3f13bfbec1215e2427bb1ef74d8471d4e0b995 /tools/perf/scripts/python | |
| parent | 93b4796dede916de74b21fbd637588da6a99a7ec (diff) | |
thp: change_huge_pmd(): make sure we don't try to make a page writable
mprotect core never tries to make page writable using change_huge_pmd().
Let's add an assert that the assumption is true. It's important to be
sure we will not make huge zero page writable.
Signed-off-by: Kirill A. Shutemov <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions