diff options
| author | Matthew Wilcox <[email protected]> | 2019-03-05 15:46:06 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-03-05 21:07:17 -0800 |
| commit | 0ee930e6cafa048c1925893d0ca89918b2814f2c (patch) | |
| tree | 583057c2957c316cbb52378c8758c408b676d216 /tools/perf/scripts/python/compaction-times.py | |
| parent | 2d432cb7091e99881af803cdd67a31969b863005 (diff) | |
mm/memory.c: prevent mapping typed pages to userspace
Pages which use page_type must never be mapped to userspace as it would
destroy their page type. Add an explicit check for this instead of
assuming that kernel drivers always get this right.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions