[lkml]   [2013]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH V2 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable()
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 <>
> Cc: Mel Gorman <>
> Cc: KAMEZAWA Hiroyuki <>
> Cc: Yasuaki Ishimatsu <>
> Cc: Jeff Moyer <>
> Cc: Minchan Kim <>
> Cc: Zach Brown <>
> Reviewed-by: Tang Chen <>
> Reviewed-by: Gu Zheng <>
> Signed-off-by: Lin Feng <>

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

 \ /
  Last update: 2013-02-05 13:42    [W:0.154 / U:3.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site