Leonardo Bras d090ec0df8 smp: Change function signatures to use call_single_data_t
call_single_data_t is a size-aligned typedef of struct __call_single_data.

This alignment is desirable in order to have smp_call_function*() avoid
bouncing an extra cacheline in case of an unaligned csd, given this
would hurt performance.

Since the removal of struct request->csd in commit 660e802c76c8
("blk-mq: use percpu csd to remote complete instead of per-rq csd") there
are no current users of smp_call_function*() with unaligned csd.

Change every 'struct __call_single_data' function parameter to
'call_single_data_t', so we have warnings if any new code tries to
introduce an smp_call_function*() call with unaligned csd.

Signed-off-by: Leonardo Bras <leobras@redhat.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230831063129.335425-1-leobras@redhat.com
2023-09-13 14:59:24 +02:00
..
2020-11-30 12:54:01 +00:00
2022-12-07 13:54:09 -08:00
2023-07-04 19:40:16 +01:00
2023-07-04 19:40:16 +01:00
2023-01-13 16:39:18 +01:00
2023-03-24 11:01:29 +01:00
2023-03-28 16:20:08 -07:00
2022-08-03 17:50:58 +02:00
2023-04-24 12:16:14 -07:00
2023-06-17 13:18:06 -04:00
2022-07-30 14:01:30 -04:00
2023-05-31 11:05:34 -04:00
2023-02-20 08:28:49 +00:00
2023-07-01 14:38:25 -07:00
2023-03-16 23:16:18 -04:00