]> git.karo-electronics.de Git - karo-tx-linux.git/commit
printk: add CON_ALLDATA console flag
authorJoern Engel <joern@logfs.org>
Wed, 20 Feb 2013 19:38:59 +0000 (11:38 -0800)
committerJoern Engel <joern@logfs.org>
Wed, 20 Feb 2013 19:38:59 +0000 (11:38 -0800)
commit5fea309688754f3d26d79a44003045fb9eaabb25
tree197a2850e6a3b7a870eb761efb8f4071ff8606a3
parenta2ff9d05bbb4226c790ed768ab63fe35ebea74c1
printk: add CON_ALLDATA console flag

For consoles like netconsole and blockconsole the loglevel filtering
really doesn't make any sense.  If a line gets printed at all, please
send it down to that console, no questions asked.

For vga_con, it is a completely different matter, as the user sitting in
front of his console could get spammed by messages while trying to login
or similar.  So ignore_loglevel doesn't work as a one-size-fits-all
approach.  Add a per-console flag instead so that netconsole and
blockconsole can opt-in.

Signed-off-by: Joern Engel <joern@logfs.org>
include/linux/console.h
kernel/printk.c