use __GFP_NOKILL in do_generic_file_read()
Subsystems (2)
PATCH 11/13 use __GFP_NOKILL in do_generic_file_read()
do_generic_file_read() may be failed instead of killing innocent tasks.
mm/filemap.c +1 -1
@@ -699,7 +699,7 @@* page.. */ if (!cached_page) { - cached_page =page_cache_alloc (mapping); + cached_page =alloc_page (mapping->gfp_mask | __GFP_NOKILL);if (!cached_page) { desc->error = -ENOMEM ;break ;
--
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/