[PATCH RESEND 2/3] mm: clean up is_device_*_page() definitions

Anshuman Khandual anshuman.khandual at arm.com
Mon Apr 15 21:25:25 AEST 2019



On 04/13/2019 12:31 AM, Robin Murphy wrote:
> 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.
> 
> Suggested-by: Jerome Glisse <jglisse at redhat.com>
> Signed-off-by: Robin Murphy <robin.murphy at arm.com>

Reviewed-by: Anshuman Khandual <anshuman.khandual at arm.com>


More information about the Linuxppc-dev mailing list