Re: [PATCH] x86, memremap: fix altmap accounting at free

2018-03-14 Thread Christoph Hellwig
Looks good, thanks for catchign this! Reviewed-by: Christoph Hellwig

[PATCH] x86, memremap: fix altmap accounting at free

2018-03-13 Thread Dan Williams
Commit 24b6d4164348 "mm: pass the vmem_altmap to vmemmap_free" converted the vmemmap_free() path to pass the altmap argument all the way through the call chain rather than looking it up based on the page. Unfortunately that ends up over freeing altmap allocated pages in some cases since free_pageta