diff options
| author | Josef Bacik <josef@toxicpanda.com> | 2021-04-28 13:38:42 -0400 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2021-06-21 15:19:04 +0200 |
| commit | ed738ba7f96170384f3e94a38be5536560eabc00 (patch) | |
| tree | 7bc232908f5acfce0812b969f327aac9bf5a7cfa /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | btrfs: remove stale comment for argument seed of btrfs_find_device (diff) | |
| download | linux-ed738ba7f96170384f3e94a38be5536560eabc00.tar.gz linux-ed738ba7f96170384f3e94a38be5536560eabc00.zip | |
btrfs: check worker before need_preemptive_reclaim
need_preemptive_reclaim() does some calculations, which aren't heavy,
but if we're already running preemptive reclaim there's no reason to do
them at all, so re-order the checks so that we don't do the calculation
if we're already doing reclaim.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
