summaryrefslogtreecommitdiffstats
path: root/mm/Kconfig
diff options
context:
space:
mode:
authorRobin Murphy2019-07-17 01:30:44 +0200
committerLinus Torvalds2019-07-17 04:23:25 +0200
commit7588adf8dff12c4b358557a13796a25fef796548 (patch)
treeeb5d167ca2e9cb76bed8a6312bb3d665c1f4737d /mm/Kconfig
parentmm/mmap: move common defines to mman-common.h (diff)
downloadkernel-qcow2-linux-7588adf8dff12c4b358557a13796a25fef796548.tar.gz
kernel-qcow2-linux-7588adf8dff12c4b358557a13796a25fef796548.tar.xz
kernel-qcow2-linux-7588adf8dff12c4b358557a13796a25fef796548.zip
mm: clean up is_device_*_page() definitions
Refactor is_device_{public,private}_page() with is_pci_p2pdma_page() to make them all consistent in depending on their respective config options even when CONFIG_DEV_PAGEMAP_OPS is enabled for other reasons. This allows a little more compile-time optimisation as well as the conceptual and cosmetic cleanup. Link: http://lkml.kernel.org/r/187c2ab27dea70635d375a61b2f2076d26c032b0.1558547956.git.robin.murphy@arm.com Signed-off-by: Robin Murphy <robin.murphy@arm.com> Suggested-by: Jerome Glisse <jglisse@redhat.com> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Dan Williams <dan.j.williams@intel.com> Cc: David Hildenbrand <david@redhat.com> Cc: Ira Weiny <ira.weiny@intel.com> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Michal Hocko <mhocko@suse.com> Cc: Oliver O'Halloran <oohall@gmail.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/Kconfig')
0 files changed, 0 insertions, 0 deletions