]> Git Repo - linux.git/commit - block/bio.c
block: stop passing 'cpu' to all percpu stats methods
authorMike Snitzer <[email protected]>
Thu, 6 Dec 2018 16:41:18 +0000 (11:41 -0500)
committerJens Axboe <[email protected]>
Mon, 10 Dec 2018 15:30:37 +0000 (08:30 -0700)
commit112f158f66cbe25fd561a5dfe9c3826e06abf757
tree192a838ddd4e61581e6be953dc843d84730de6e8
parentdbd3bbd291a03f1383de6242e7999e8487cb869b
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 <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/bio.c
block/blk-core.c
block/blk-merge.c
block/genhd.c
block/partition-generic.c
drivers/md/md.c
include/linux/genhd.h
This page took 0.065806 seconds and 4 git commands to generate.