STRUCT CONSOLE_FLUSH_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the nbcon_atomic callback. 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