diff options
| author | Tejun Heo <[email protected]> | 2015-05-22 18:23:29 -0400 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2015-06-02 08:38:13 -0600 |
| commit | c7981433ef05e67b1b40740b2c40edbd4476b659 (patch) | |
| tree | bf44403c5d6d62fa0c9111db3a9f2d857b431a3b /tools/perf/scripts/python/bin | |
| parent | e9f07dfd7086a0b7e9ce98bb97b7422861aad40b (diff) | |
writeback: make __wb_writeout_inc() and hard_dirty_limit() take wb_domaas a parameter
Currently __wb_writeout_inc() and hard_dirty_limit() assume
global_wb_domain; however, cgroup writeback support requires
considering per-memcg wb_domain too.
This patch separates out domain-specific part of __wb_writeout_inc()
into wb_domain_writeout_inc() which takes wb_domain as a parameter and
adds the parameter to hard_dirty_limit(). This will allow these two
functions to handle per-memcg wb_domains.
This patch doesn't introduce any behavioral changes.
Signed-off-by: Tejun Heo <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Wu Fengguang <[email protected]>
Cc: Greg Thelen <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions