Re: [patch 1/2] mm/memory_hotplug: fix potential permanent lru cache disable
From: Minchan Kim <minchan@kernel.org>
Date: 2021-08-25 23:17:39
Also in:
mm-commits, stable
From: Minchan Kim <minchan@kernel.org>
Date: 2021-08-25 23:17:39
Also in:
mm-commits, stable
On Wed, Aug 25, 2021 at 12:17:55PM -0700, Andrew Morton wrote:
From: Miaohe Lin <linmiaohe@huawei.com> Subject: mm/memory_hotplug: fix potential permanent lru cache disable If offline_pages failed after lru_cache_disable(), it forgot to do lru_cache_enable() in error path. So we would have lru cache disabled permanently in this case. Link: https://lkml.kernel.org/r/20210821094246.10149-3-linmiaohe@huawei.com Fixes: d479960e44f2 ("mm: disable LRU pagevec during the migration temporarily") Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Reviewed-by: David Hildenbrand <redacted> Reviewed-by: Oscar Salvador <osalvador@suse.de> Reviewed-by: Naoya Horiguchi <redacted> Cc: Chris Goldsworthy <redacted> Cc: Michal Hocko <mhocko@suse.com> Cc: Minchan Kim <minchan@kernel.org> Cc: <redacted> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Minchan Kim <minchan@kernel.org> Thanks for catching.