diff options
| author | Breno Leitao <leitao@debian.org> | 2026-08-10 04:29:24 -0700 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2026-08-23 17:01:46 -0700 |
| commit | 07230d21630f48e74831efda665a3200c645e9c2 (patch) | |
| tree | eb06883e4cb84033d73f67ce6c33c0a86ef66707 /scripts/objdiff | |
| parent | a13c140cc289c0b7b3770bce5b3ad42ab35074aa (diff) | |
| download | linux-next-07230d21630f48e74831efda665a3200c645e9c2.tar.gz linux-next-07230d21630f48e74831efda665a3200c645e9c2.zip | |
locking/csd-lock: Pack csd_lock_wait_toolong() state into a struct
csd_lock_wait_toolong() has some fields and they are being expanded now,
separate them into a structure, that can be easily digestible.
This simplify the function aslo, given the fields were passed by
reference, and the ts0/ts1 names say nothing about what the two
timestamps hold.
Pack them into struct csd_wait_state and name the timestamps for what
they store, ts_start and ts_report. The local ts2 becomes ts_now.
Reporting a further timestamp, such as next patch, then costs a struct
member rather than another argument.
No functional change.
Suggested-by: Dmitry Ilvokhin <d@ilvokhin.com>
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Dmitry Ilvokhin <d@ilvokhin.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
