diff options
author | Tejun Heo <tj@kernel.org> | 2015-08-19 00:55:01 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-08-19 01:49:16 +0300 |
commit | d93a11f1cd890d4ea72f7cef75fac56801b099b3 (patch) | |
tree | b555a4ea359e72e0138590c72c11ece42c83eecb /Documentation/applying-patches.txt | |
parent | 563180a44b7d7978f44e9776eedfbbc550c2398d (diff) | |
download | linux-d93a11f1cd890d4ea72f7cef75fac56801b099b3.tar.xz |
blkcg, cfq-iosched: use GFP_NOWAIT instead of GFP_ATOMIC for non-critical allocations
blkcg performs several allocations to track IOs per cgroup and enforce
resource control. Most of these allocations are performed lazily on
demand in the IO path and thus can't involve reclaim path. Currently,
these allocations use GFP_ATOMIC; however, blkcg can gracefully deal
with occassional failures of these allocations by punting IOs to the
root cgroup and there's no reason to reach into the emergency reserve.
This patch replaces GFP_ATOMIC with GFP_NOWAIT for the following
allocations.
* bdi_writeback_congested and blkcg_gq allocations in blkg_create().
* radix tree node allocations for blkcg->blkg_tree.
* cfq_queue allocation on ioprio changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Suggested-and-Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Suggested-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'Documentation/applying-patches.txt')
0 files changed, 0 insertions, 0 deletions