aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorAnshuman Khandual <[email protected]>2019-07-16 23:27:30 +0000
committerLinus Torvalds <[email protected]>2019-07-17 02:23:22 +0000
commit6b95ab4218bfa59bc315105127ffe03aef3b5742 (patch)
tree5423404840a8be072840dfb1a4b109757003fb12 /lib/string_helpers.c
parentlib: introduce test_meminit module (diff)
downloadkernel-6b95ab4218bfa59bc315105127ffe03aef3b5742.tar.gz
kernel-6b95ab4218bfa59bc315105127ffe03aef3b5742.zip
mm/ioremap: check virtual address alignment while creating huge mappings
Virtual address alignment is essential in ensuring correct clearing for all intermediate level pgtable entries and freeing associated pgtable pages. An unaligned address can end up randomly freeing pgtable page that potentially still contains valid mappings. Hence also check it's alignment along with existing phys_addr check. Signed-off-by: Anshuman Khandual <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Cc: Toshi Kani <[email protected]> Cc: Will Deacon <[email protected]> Cc: Chintan Pandya <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions