diff options
| author | Johannes Weiner <hannes@cmpxchg.org> | 2022-08-26 00:41:07 +0800 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2022-09-09 11:08:32 +0200 |
| commit | 71dbdde7914d32e86f01ac1f6e54e964c9dfdbd9 (patch) | |
| tree | 3614bdf8c54b95e134334bc3da8c6b1e83e32e6e /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | sched/psi: Optimize task switch inside shared cgroups again (diff) | |
| download | linux-71dbdde7914d32e86f01ac1f6e54e964c9dfdbd9.tar.gz linux-71dbdde7914d32e86f01ac1f6e54e964c9dfdbd9.zip | |
sched/psi: Remove NR_ONCPU task accounting
We put all fields updated by the scheduler in the first cacheline of
struct psi_group_cpu for performance.
Since we want add another PSI_IRQ_FULL to track IRQ/SOFTIRQ pressure,
we need to reclaim space first. This patch remove NR_ONCPU task accounting
in struct psi_group_cpu, use one bit in state_mask to track instead.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Chengming Zhou <zhouchengming@bytedance.com>
Tested-by: Chengming Zhou <zhouchengming@bytedance.com>
Link: https://lore.kernel.org/r/20220825164111.29534-7-zhouchengming@bytedance.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
