aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorDomenico Cerasuolo <[email protected]>2023-03-30 12:54:17 +0200
committerPeter Zijlstra <[email protected]>2023-04-05 09:58:49 +0200
commit4468fcae49f08e88fbbffe05b29496192df89991 (patch)
tree0484893e7e6b5da263a5fa43bd110112ff8141f6 /lib/test_fortify/write_overflow-strncpy-src.c
parent65457b74aa9437418e552e8d52d7112d4f9901a6 (diff)
sched/psi: Extract update_triggers side effect
This change moves update_total flag out of update_triggers function, currently called only in psi_poll_work. In the next patch, update_triggers will be called also in psi_avgs_work, but the total update information is specific to psi_poll_work. Returning update_total value to the caller let us avoid differentiating the implementation of update_triggers for different aggregators. Suggested-by: Johannes Weiner <[email protected]> Signed-off-by: Domenico Cerasuolo <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Johannes Weiner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions