[RFC] depopulate_range_driver_managed() for removing page-table mappings for hot-added memory blocks

Christoph Hellwig hch at infradead.org
Sat Nov 14 05:28:53 EST 2020


On Fri, Nov 13, 2020 at 06:41:22PM -0800, Sudarshan Rajagopalan wrote:
> 
> Hello,
> 
> When memory blocks are removed, along with removing the memmap entries,
> memory resource and memory block devices, the arch specific
> arch_remove_memory() is called which takes care of tearing down the
> page-tables.
> 
> Suppose there???s a usecase where the removed memory blocks will be added
> back into the system at later point,

Stop this crap.  If you have a use case post the actual use here,
including code and specs.  If you don't have that don't waste peoples
time on your pipe dream.



More information about the linux-arm-kernel mailing list