From: Hugh Dickins Date: Thu, 3 Apr 2008 22:35:22 +0000 (+0100) Subject: splice: use mapping_gfp_mask X-Git-Tag: v2.6.25-rc9~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cd13504652d28e16bf186c6bb2bbb3725369383;p=pandora-kernel.git splice: use mapping_gfp_mask The loop block driver is careful to mask __GFP_IO|__GFP_FS out of its mapping_gfp_mask, to avoid hangs under memory pressure. But nowadays it uses splice, usually going through __generic_file_splice_read. That must use mapping_gfp_mask instead of GFP_KERNEL to avoid those hangs. Signed-off-by: Hugh Dickins Cc: Jens Axboe Cc: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed