diff options
| author | Gustavo Luiz Duarte <gustavold@gmail.com> | 2025-11-19 16:14:50 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-20 18:47:18 -0800 |
| commit | 9dc10f50c430d861d4f3d5d0b38efd675f6d76ae (patch) | |
| tree | ccc65d6c9e6df187fba42d9be1e52c6a96b5186d /drivers/net/wwan/iosm/iosm_ipc_devlink.c | |
| parent | 7279b718b431701137f9943434229915222a70b8 (diff) | |
netconsole: Split userdata and sysdata
Separate userdata and sysdata into distinct buffers to enable independent
management. Previously, both were stored in a single extradata_complete
buffer with a fixed size that accommodated both types of data.
This separation allows:
- userdata to grow dynamically (in subsequent patch)
- sysdata to remain in a small static buffer
- removal of complex entry counting logic that tracked both types together
The split also simplifies the code by eliminating the need to check total
entry count across both userdata and sysdata when enabling features,
which allows to drop holding su_mutex on sysdata_*_enabled_store().
No functional change in this patch, just structural preparation for
dynamic userdata allocation.
Signed-off-by: Gustavo Luiz Duarte <gustavold@gmail.com>
Reviewed-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20251119-netconsole_dynamic_extradata-v3-2-497ac3191707@meta.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_devlink.c')
0 files changed, 0 insertions, 0 deletions
