]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
ARM64: mm: pageattr: support CONFIG_DEBUG_PAGEALLOC
authorSri Krishna chowdary <schowdary@nvidia.com>
Sat, 18 Jul 2015 16:37:14 +0000 (22:07 +0530)
committerPritesh Raithatha <praithatha@nvidia.com>
Mon, 11 Apr 2016 04:49:55 +0000 (10:19 +0530)
commit98f6c3f0eb88a9690675d83544a07c36aa4812cf
tree87dd5b3b60a6f834d12b5671364f9e7920b9bc13
parentb53cabc5d382c90d97e54206abf732628ffe3b14
ARM64: mm: pageattr: support CONFIG_DEBUG_PAGEALLOC

When CONFIG_DEBUG_PAGEALLOC is enabled, kernel_map_pages
is used by page allocator to map/unmap pages dynamically
into the kernel logical address space. Any access to an
unmapped page is invalid and can help catch memory corruptions.
So, add this function and also related Kconfig definition.

Bug 1492689

Change-Id: Ib61773542f0ec88cf0870348b9251ceff29d5139
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/772741
Reviewed-by: Vandana Salve <vsalve@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
arch/arm64/Kconfig
arch/arm64/mm/pageattr.c