diff options
author | Miaohe Lin <[email protected]> | 2021-08-25 12:17:55 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-08-25 12:25:12 -0700 |
commit | 946746d1ad921e5f493b536533dda02ea22ca609 (patch) | |
tree | 9ca898b863876fdd2ba084f670587b7c1f4ff2ee /net/lapb/lapb_timer.c | |
parent | 6e764bcd1cf72a2846c0e53d3975a09b242c04c9 (diff) |
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/[email protected]
Fixes: d479960e44f2 ("mm: disable LRU pagevec during the migration temporarily")
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Reviewed-by: Oscar Salvador <[email protected]>
Reviewed-by: Naoya Horiguchi <[email protected]>
Cc: Chris Goldsworthy <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions