diff options
| author | Breno Leitao <leitao@debian.org> | 2026-08-10 04:29:24 -0700 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2026-09-03 10:45:06 -0700 |
| commit | 2a95801ea1a57d4e11976ac7704aa75f67bf5d32 (patch) | |
| tree | ac375dd36d65d64c392552ee3f99dfc20d6f9044 /scripts/Makefile.thinlto | |
| parent | cee9395acd8043be0644b25c34bfa86623f2b935 (diff) | |
| download | linux-2a95801ea1a57d4e11976ac7704aa75f67bf5d32.tar.gz linux-2a95801ea1a57d4e11976ac7704aa75f67bf5d32.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>
Cc: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
