aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorMel Gorman <[email protected]>2021-01-25 08:59:07 +0000
committerPeter Zijlstra <[email protected]>2021-01-27 17:26:44 +0100
commitbae4ec13640b0915e7dd86da7e65c5d085160571 (patch)
treef3e804e29c67da9cceca309bdbaad323739456d4 /fs/jbd2/commit.c
parente6e0dc2d5497f7f3ed970052917e2923c6f453f4 (diff)
sched/fair: Move avg_scan_cost calculations under SIS_PROP
As noted by Vincent Guittot, avg_scan_costs are calculated for SIS_PROP even if SIS_PROP is disabled. Move the time calculations under a SIS_PROP check and while we are at it, exclude the cost of initialising the CPU mask from the average scan cost. Signed-off-by: Mel Gorman <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Vincent Guittot <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions