I guess that very limited use might make sense. Yinghai Lu <yinghai at kernel.org> wrote: >On Mon, Jan 28, 2013 at 6:27 PM, H. Peter Anvin <hpa at zytor.com> wrote: >> To be more clear: the max_pfn stuff seems like a relic of the past, >and I am wondering what it would take to get rid of it. >> >> It clearly has the wrong semantics, except perhaps in the most >trivial allocator models. >> >one thing i think could be : use that decide if we need iommu/swiotlb. >like in >arch/x86/kernel/amd_gart_64.c >arch/x86/kernel/pci-swiotlb.c >drivers/iommu/amd_iommu.c >... > >Yinghai -- Sent from my mobile phone. Please excuse brevity and lack of formatting.