diff options
| author | Mike Snitzer <snitzer@redhat.com> | 2018-12-06 11:41:18 -0500 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2018-12-10 08:30:37 -0700 |
| commit | 112f158f66cbe25fd561a5dfe9c3826e06abf757 (patch) | |
| tree | 192a838ddd4e61581e6be953dc843d84730de6e8 /tools/perf/scripts/python/bin | |
| parent | dm rq: leverage blk_mq_queue_busy() to check for outstanding IO (diff) | |
| download | linux-112f158f66cbe25fd561a5dfe9c3826e06abf757.tar.gz linux-112f158f66cbe25fd561a5dfe9c3826e06abf757.zip | |
block: stop passing 'cpu' to all percpu stats methods
All of part_stat_* and related methods are used with preempt disabled,
so there is no need to pass cpu around to allow of them. Just call
smp_processor_id() as needed.
Suggested-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
