aboutsummaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorGravatar Hugh Dickins <hugh@veritas.com> 2008-04-03 23:35:22 +0100
committerGravatar Linus Torvalds <torvalds@linux-foundation.org> 2008-04-03 15:39:49 -0700
commit4cd13504652d28e16bf186c6bb2bbb3725369383 (patch)
tree2bc557b5a3c92954fabea3cb6217d1373bbedaa4 /ipc
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 (diff)
downloadlinux-4cd13504652d28e16bf186c6bb2bbb3725369383.tar.gz
linux-4cd13504652d28e16bf186c6bb2bbb3725369383.tar.bz2
linux-4cd13504652d28e16bf186c6bb2bbb3725369383.zip
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 <hugh@veritas.com> Cc: Jens Axboe <jens.axboe@oracle.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions