Re: [PATCH] Make is_mem_section_removable more conformable with offlining code

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: KAMEZAWA Hiroyuki
Date: Thursday, September 2, 2010 - 2:03 am

On Thu, 2 Sep 2010 10:28:29 +0200
Michal Hocko <mhocko@suse.cz> wrote:


RECLAIMABLE cannot be 100% reclaimable. Then, for memory hotlug,
I intentionally skips it and check free_area[] and LRU.


right. 


No. My concern is pageblock type changes before/after memory hotplug failure.
	before isolation: MIGRATE_RECLAIMABLE
	after isolation failure : MIGRATE_MOVABLE

Then, the section which was RECALAIMABLE (but caused memory hotplug failure)
turns to be MIGRATE_MOVABLE and will continue to cause memory hotplug failure.
(Because it contains unreclaimable(still-in-use) slab.)

That means memory-hotplug success-rate goes down because of not-important check,
and (your) customer believe "memory hotplug never works well hahaha."

The old code checks RECLAIMABLE pageblock only contains free pages or LRU pages,
In that meaning, MIGRATE_MOVABLE check itself should be removed. It's my fault.


Thanks,
-Kame

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Make is_mem_section_removable more conformable ..., KAMEZAWA Hiroyuki, (Tue Aug 31, 6:19 pm)
Re: [PATCH] Make is_mem_section_removable more conformable ..., KAMEZAWA Hiroyuki, (Wed Sep 1, 10:45 pm)
Re: [PATCH] Make is_mem_section_removable more conformable ..., KAMEZAWA Hiroyuki, (Thu Sep 2, 2:03 am)
[PATCH 1/2][BUGFIX] fix next active pageblock calculation, KAMEZAWA Hiroyuki, (Thu Sep 2, 8:11 pm)
[PATCH 3/2][BUGFIX] fix memory isolation notifier return v ..., KAMEZAWA Hiroyuki, (Fri Sep 3, 12:57 am)