On Thu, Aug 20, 2020 at 02:27:40AM +0000, Justin He wrote:
Hi Greg, If anybody wants to backport it to stable tree, there are 2 pre-condition for this commit ("[PATCH] mm/memory_hotplug: fix unpaired mem_hotplug_begin/done")
- eca499ab3 ("mm/hotplug: make remove_memory() interface usable") applied
in v5.2, it disabled the BUG() when check_memblock_offlined_cb() failed. 2. f1037ec0c ("mm/memory_hotplug: fix remove_memory() lockdep splat") in v5.5, it introduced the unpair but depends on eca499ab3
I checked https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/mm/mem.... Looks like stable tree v4.19 hasn't applied eca499ab3 but applied f1037ec0c. Hence I don't think v4.19 needs this patch.
Thanks, I'll just leave this out of 4.19.y for now then.
greg k-h