use __GFP_NOKILL in find_or_create_page()
Subsystems (2)
PATCH 10/13 use __GFP_NOKILL in find_or_create_page()
find_or_create_page() may be failed instead of killing innocent tasks.
mm/filemap.c +1 -1
@@ -472,7 +472,7 @@ page =find_lock_page (mapping, index);if (!page) {if (!cached_page) { - cached_page =alloc_page (gfp_mask); + cached_page =alloc_page (gfp_mask | __GFP_NOKILL);if (!cached_page)return NULL ; }
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/