diff options
author | Tejun Heo <[email protected]> | 2015-08-18 14:55:17 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2015-08-18 15:49:17 -0700 |
commit | 24f290466f79a6497f1654f64b9a841872cba3ca (patch) | |
tree | c7b77e5980f5cc085861580eeb44e76ac0b3f8d3 /tools/perf/util/trace-event-scripting.c | |
parent | e4a9bde9589fdc51283755cdd75d47b27ca7c6fb (diff) |
blkcg: inline [__]blkg_lookup()
blkg_lookup() checks whether the target queue is bypassing and, if
not, calls __blkg_lookup() which first checks the lookup hint and then
performs radix tree walk. The operations upto hint checking are
trivial and there are many users of this function. This patch inlines
blkg_lookup() and the fast path part of __blkg_lookup(). The radix
tree lookup and hint update are now in blkg_lookup_slowpath().
This will help consolidating blkg handling by easing moving root blkcg
short-circuit to inlined lookup fast path.
Signed-off-by: Tejun Heo <[email protected]>
Cc: Vivek Goyal <[email protected]>
Cc: Arianna Avanzini <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions