Skip to contentSkip to conversation

incoming

PATCH In review Andrew Morton 2 participants 4 messages Aug 25, 2021

Subsystems (3)
lore
Share & tools
lore

Andrew Morton

author maintainer
#0 lore raw

2 patches, based on 6e764bcd1cf72a2846c0e53d3975a09b242c04c9.

Subsystems affected by this patch series:

mm/memory-hotplug
MAINTAINERS

Subsystem: mm/memory-hotplug

Miaohe Lin <[email protected]>:
mm/memory_hotplug: fix potential permanent lru cache disable

Subsystem: MAINTAINERS

Namjae Jeon <[email protected]>:
MAINTAINERS: exfat: update my email address

 MAINTAINERS         |    2 +-
 mm/memory_hotplug.c |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
author maintainer
#1 lore raw

PATCH 1/2 mm/memory_hotplug: fix potential permanent lru cache disable

From: Miaohe Lin <[email protected]>
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.

Fixes d479960e44f2 ("mm: disable LRU pagevec during the migration temporarily")
Cc Chris Goldsworthy <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Minchan Kim <[email protected]>

---

 mm/memory_hotplug.c |    1 +
 1 file changed, 1 insertion(+)
mm/memory_hotplug.c renamed from mm/memory_hotplug.c~mm-memory_hotplug-fix-potential-permanent-lru-cache-disable +1 -0
@@ -1731,6 +1731,7 @@ failed_removal_isolated:
 	undo_isolate_page_range(start_pfn, end_pfn, MIGRATE_MOVABLE);
 	memory_notify(MEM_CANCEL_OFFLINE, &arg);
 failed_removal_pcplists_disabled:
+	lru_cache_enable();
 	zone_pcp_enable(zone);
 failed_removal:
 	pr_debug("memory offlining [mem %#010llx-%#010llx] failed due to %s\n",

_

Acked-by on v1 1/2
#2 lore raw

Re: [patch 1/2] mm/memory_hotplug: fix potential permanent lru cache disable

Quoted 7 lines · Andrew Morton

From: Miaohe Lin <[email protected]>
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.

Quoted 11 lines
Fixes d479960e44f2 ("mm: disable LRU pagevec during the migration temporarily")
Cc Chris Goldsworthy <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Minchan Kim <[email protected]>

Thanks for catching.

author maintainer
#3 lore raw

PATCH 2/2 MAINTAINERS: exfat: update my email address

In reply to Andrew Morton

From: Namjae Jeon <[email protected]>
Subject: MAINTAINERS: exfat: update my email address

My email address in exfat entry will be not available in a few days. Update it to my own kernel.org address.

---

 MAINTAINERS |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS renamed from MAINTAINERS~maintainers-exfat-update-my-email-address +1 -1
@@ -6955,7 +6955,7 @@ F:	include/uapi/linux/mdio.h
 F:	include/uapi/linux/mii.h
 
 EXFAT FILE SYSTEM
-M:	Namjae Jeon <[email protected]>
+M:	Namjae Jeon <[email protected]>
 M:	Sungjong Seo <[email protected]>
 L:	[email protected]
 S:	Maintained

_