diff options
| author | Davidlohr Bueso <[email protected]> | 2017-09-08 16:15:25 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-09-08 18:26:49 -0700 |
| commit | f0f1a45f95e85a8ac28c4d62bf2a84db0799efab (patch) | |
| tree | c41b7ab10cf999b45aa3563afe2a4961b4d68129 /tools/perf/scripts/python/stackcollapse.py | |
| parent | fa90b2fd300f38cc7b3e416974116c83f3953465 (diff) | |
block/cfq: cache rightmost rb_node
For the same reasons we already cache the leftmost pointer, apply the same
optimization for rb_last() calls. Users must explicitly do this as
rb_root_cached only deals with the smallest node.
[[email protected]: brain fart #1]
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Davidlohr Bueso <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions