aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/microsoft/mana/mana_en.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2025-06-10 21:22:17 +0000
committerJakub Kicinski <[email protected]>2025-06-10 21:22:17 +0000
commita63bea11d45523c7ed9f7b927532c810ad52db36 (patch)
tree4104a911f7acc5a38cd01e1cbb137b2d3e1a8b7a /drivers/net/ethernet/microsoft/mana/mana_en.c
parentMerge tag 'net-6.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/net... (diff)
parentselftests: netconsole: Add support for basic netconsole target format (diff)
downloadkernel-a63bea11d45523c7ed9f7b927532c810ad52db36.tar.gz
kernel-a63bea11d45523c7ed9f7b927532c810ad52db36.zip
Merge branch 'netconsole-optimize-console-registration-and-improve-testing'
Breno Leitao says: ==================== netconsole: Optimize console registration and improve testing During performance analysis of console subsystem latency, I discovered that netconsole registers console handlers even when no active targets exist. These orphaned console handlers are invoked on every printk() call, get the lock, iterate through empty target lists, and consume CPU cycles without performing any useful work. This patch series addresses the inefficiency by: 1. Implementing dynamic console registration/unregistration based on target availability, ensuring console handlers are only active when needed 2. Adding automatic cleanup of unused console registrations when targets are disabled or removed 3. Extending the selftest suite to cover non-extended console format, which was previously untested The optimization reduces printk() overhead by eliminating unnecessary function calls and list traversals when netconsole targets are not configured, improving overall system performance during heavy logging scenarios. v2: https://lore.kernel.org/[email protected] v1: https://lore.kernel.org/[email protected] ==================== Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/microsoft/mana/mana_en.c')
0 files changed, 0 insertions, 0 deletions