linux/Documentation/admin-guide/kdump
John Ogness 74caba7f2a printk: move dictionary keys to dev_printk_info
Dictionaries are only used for SUBSYSTEM and DEVICE properties. The
current implementation stores the property names each time they are
used. This requires more space than otherwise necessary. Also,
because the dictionary entries are currently considered optional,
it cannot be relied upon that they are always available, even if the
writer wanted to store them. These issues will increase should new
dictionary properties be introduced.

Rather than storing the subsystem and device properties in the
dict ring, introduce a struct dev_printk_info with separate fields
to store only the property values. Embed this struct within the
struct printk_info to provide guaranteed availability.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/87mu1jl6ne.fsf@jogness.linutronix.de
2020-09-22 11:27:48 +02:00
..
gdbmacros.txt printk: move dictionary keys to dev_printk_info 2020-09-22 11:27:48 +02:00
index.rst docs: admin-guide: add kdump documentation into it 2019-07-15 11:03:01 -03:00
kdump.rst kernel: add panic_on_taint 2020-06-08 11:05:56 -07:00
vmcoreinfo.rst docs: vmcoreinfo: add lockless printk ringbuffer vmcoreinfo 2020-09-08 09:33:15 +02:00