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: Wednesday, September 1, 2010 - 10:45 pm

On Wed, 1 Sep 2010 14:41:38 +0200
Michal Hocko <mhocko@suse.cz> wrote:


Hmm..Why MIGRATE_RECLAIMABLE is included ?

If MIGRATE_RCLAIMABLE is included, set_migrate_type() should check the
range of pages. Because it makes the pageblock as MIGRAGE_MOVABLE after
failure of memory hotplug.

Original code checks.

 - the range is MIGRAGE_MOVABLE or
 - the range includes only free pages and LRU pages.

Then, moving them back to MIGRAGE_MOVABLE after failure was correct.
Doesn't this makes changes MIGRATE_RECALIMABLE to be MIGRATE_MOVABLE and
leads us to more fragmentated situation ?

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)
[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)