use __GFP_NOKILL in page_cache_read()
Subsystems (2)
PATCH 9/13 use __GFP_NOKILL in page_cache_read()
page_cache_read() may be failed instead of killing innocent tasks.
mm/filemap.c +1 -1
@@ -256,7 +256,7 @@struct page *page;int error; - page =page_cache_alloc (mapping); + page =alloc_page (mapping->gfp_mask | __GFP_NOKILL);if (!page)return -ENOMEM ;
--
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/