STRUCT CONSOLE_FLUSH_TYPE(9)
π NAME
struct console_flush_type β bestie, this is the whole page for Define available console flush methods, straight from the Kernel API Manual β¨
β¨ SYNOPSIS
struct console_flush_type {
bool nbcon_atomic;
bool nbcon_offload;
bool legacy_direct;
bool legacy_offload;
};
π«Ά Members
nbcon_atomicβ flushes directly, using thenbcon_atomiccallback. right there, no middleman πnbcon_offloadβ offloads the flush to the printer thread. she's handling it π«Άlegacy_directβ calls the legacy loop in this context.legacy_offloadβ offloads the legacy loop into IRQ or the legacy thread.
πΈ Description
okay so important lil note, bestie: the legacy loop also flushes the nbcon consoles. don't forget that part π
π SEE ALSO
check out the kernel file ./kernel/printk/internal.h, plus nbcon_kthread_wake(9), struct printk_buffers(9), and struct printk_message(9) β iykyk π₯
byeee, this page comes from ./kernel/printk, dated October 2026 β struct console_flush_type(9) out π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms