aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorShenghui Wang <[email protected]>2018-10-08 20:41:19 +0800
committerJens Axboe <[email protected]>2018-10-08 08:19:56 -0600
commit8792099f9ad487cf381f4e8199ff2158ba0f6eb5 (patch)
treede54ce67b92850b3fde8e9704fedad53d5ac9c6c /tools/perf/scripts/python/mem-phys-addr.py
parent149d0efada7777ad5a5242b095692af142f533d8 (diff)
bcache: use MAX_CACHES_PER_SET instead of magic number 8 in __bch_bucket_alloc_set
Current cache_set has MAX_CACHES_PER_SET caches most, and the macro is used for " struct cache *cache_by_alloc[MAX_CACHES_PER_SET]; " in the define of struct cache_set. Use MAX_CACHES_PER_SET instead of magic number 8 in __bch_bucket_alloc_set. Signed-off-by: Shenghui Wang <[email protected]> Signed-off-by: Coly Li <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions