Thread (34 messages) 34 messages, 8 authors, 2013-07-05

Re: [PATCH V2 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable()

From: Mel Gorman <mgorman@suse.de>
Date: 2013-02-05 12:01:37
Also in: linux-fsdevel, lkml

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 <akpm@linux-foundation.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: KAMEZAWA Hiroyuki <redacted>
Cc: Yasuaki Ishimatsu <redacted>
Cc: Jeff Moyer <redacted>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Zach Brown <redacted>
Reviewed-by: Tang Chen <redacted>
Reviewed-by: Gu Zheng <redacted>
Signed-off-by: Lin Feng <redacted>
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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help