On Tue, Feb 05, 2013 at 05:21:52PM +0800, Lin Feng wrote:
> get_user_pages() always tries to allocate pages from movable zone, which is 
> not
>  reliable to memory hotremove framework in some case.
> 
> This patch introduces a new library function called 
> get_user_pages_non_movable()
>  to pin pages only from zone non-movable in memory.
> It's a wrapper of get_user_pages() but it makes sure that all pages come from
> non-movable zone via additional page migration.
> 
> Cc: Andrew Morton <[email protected]>
> Cc: Mel Gorman <[email protected]>
> Cc: KAMEZAWA Hiroyuki <[email protected]>
> Cc: Yasuaki Ishimatsu <[email protected]>
> Cc: Jeff Moyer <[email protected]>
> Cc: Minchan Kim <[email protected]>
> Cc: Zach Brown <[email protected]>
> Reviewed-by: Tang Chen <[email protected]>
> Reviewed-by: Gu Zheng <[email protected]>
> Signed-off-by: Lin Feng <[email protected]>

I already had started the review of V1 before this was sent
unfortunately. However, I think the feedback I gave for V1 is still
valid so I'll wait for comments on that review before digging further.

-- 
Mel Gorman
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to