relay: Add buffer-only channels; useful for early logging.
commit5f00bfed0ec6451350491f51147385c1b0310331
authorEduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Tue, 10 Jun 2008 22:29:41 +0000 (11 01:29 +0300)
committerEduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Mon, 14 Jul 2008 14:27:45 +0000 (14 17:27 +0300)
treebdb49e83f4a7dfe40852727783527782915ca052
parentc2de137a4002842a18419cb1fc92ead57a2837ca
relay: Add buffer-only channels; useful for early logging.

Allows one to create and use a channel with no associated files. Files
can be initialized later. This is useful in scenarios such as logging
in early code, before VFS is up. Therefore, such channels can be
created and used as soon as kmem_cache_init() completed.

This is needed by kmemtrace to do tracing in early kernel code.

Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Documentation/filesystems/relay.txt
include/linux/relay.h
kernel/relay.c