aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2018-06-02 13:45:04 -0400
committerJens Axboe <[email protected]>2018-06-02 20:35:00 -0600
commitd00a11df691466772435ec02471292eae07885e5 (patch)
treedbb0648d1885936d8490f910612ccc4c9186ca88 /tools/perf/util/scripting-engines/trace-event-python.c
parent9cfd5a95381e960bdbc5cd24ec7987205a3a9bee (diff)
dm-crypt: fix warning in shutdown path
The counter for the number of allocated pages includes pages in the mempool's reserve, so checking that the number of allocated pages is 0 needs to happen after we exit the mempool. Fixes: 6f1c819c219f ("dm: convert to bioset_init()/mempool_init()") Signed-off-by: Kent Overstreet <[email protected]> Reported-by: Krzysztof Kozlowski <[email protected]> Acked-by: Mike Snitzer <[email protected]> Fixed to always just use percpu_counter_sum() Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions