[PATCH] um: vector: Reduce stack usage in vector_eth_configure()

2025-06-23 Thread Tiwei Bie
When compiling with clang (19.1.7), initializing *vp using a compound literal may result in excessive stack usage. Fix it by initializing the required fields of *vp individually. Without this patch: $ objdump -d arch/um/drivers/vector_kern.o | ./scripts/checkstack.pl x86_64 0 ... 0x05

Re: [PATCH 2/7] printk: Use consoles_suspended flag when suspending/resuming all consoles

2025-06-23 Thread Marcos Paulo de Souza
On Fri, 2025-06-13 at 17:20 +0200, Petr Mladek wrote: > On Fri 2025-06-06 23:53:44, Marcos Paulo de Souza wrote: > > > Variant C: > == > > Remove even @flags parameter from console_is_usable() and read both > values there directly. > > Many callers read @flags only because they call con

Re: [PATCH 1/7] printk: Make console_{suspend,resume} handle CON_SUSPENDED

2025-06-23 Thread Marcos Paulo de Souza
On Thu, 2025-06-12 at 13:46 +0200, Petr Mladek wrote: > On Fri 2025-06-06 23:53:43, Marcos Paulo de Souza wrote: > > Since commit 9e70a5e109a4 ("printk: Add per-console suspended > > state") the > > CON_SUSPENDED flag was introced, and this flag was being checked on > > console_is_usable function,