[PATCH v5 4/4] powerpc/mm: unstub radix__vmemmap_remove_mapping()

Balbir Singh bsingharora at gmail.com
Tue Jan 17 18:25:13 AEDT 2017


On Mon, Jan 16, 2017 at 01:07:46PM -0600, Reza Arbab wrote:
> Use remove_pagetable() and friends for radix vmemmap removal.
> 
> We do not require the special-case handling of vmemmap done in the x86
> versions of these functions. This is because vmemmap_free() has already
> freed the mapped pages, and calls us with an aligned address range.
> 
> So, add a few failsafe WARNs, but otherwise the code to remove physical
> mappings is already sufficient for vmemmap.

I wonder if we really need them?

Balbir Singh.


More information about the Linuxppc-dev mailing list