diff options
| author | Breno Leitao <[email protected]> | 2025-02-06 11:05:52 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2025-02-10 15:04:17 +0000 |
| commit | 1c1377d7b60c2d96eefab0bd9740d4a27fb0e1d3 (patch) | |
| tree | 42d47c7e4bed248f6281dfb9e14abbd53a10abd1 /drivers/fpga/xilinx-core.c | |
| parent | Merge branch 'net-improve-core-queue-api-handling-while-device-is-down' (diff) | |
| download | kernel-1c1377d7b60c2d96eefab0bd9740d4a27fb0e1d3.tar.gz kernel-1c1377d7b60c2d96eefab0bd9740d4a27fb0e1d3.zip | |
netconsole: consolidate send buffers into netconsole_target struct
Move the static buffers from send_msg_no_fragmentation() and
send_msg_fragmented() into the netconsole_target structure. This
simplifies the code by:
- Eliminating redundant static buffers
- Centralizing buffer management in the target structure
- Reducing memory usage by 1KB (one buffer instead of two)
The buffer in netconsole_target is protected by target_list_lock,
maintaining the same synchronization semantics as the original code.
Suggested-by: Jakub Kicinski <[email protected]>
Signed-off-by: Breno Leitao <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-core.c')
0 files changed, 0 insertions, 0 deletions
