]> err.no Git - linux-2.6/commit
relay: add buffer-only channels; useful for early logging
authorEduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Sat, 26 Jul 2008 02:45:12 +0000 (19:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:04 +0000 (12:00 -0700)
commit20d8b67c06fa5e74f44e80b0a0fd68c8327f7c6a
tree7162455643e7ce45e253033bf648bf41d9796dd9
parent7babe8db99d305340cf4828ce1f5a1481d5622ef
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.

[kosaki.motohiro@jp.fujitsu.com: build fix]
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Cc: Tom Zanussi <tzanussi@gmail.com>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/filesystems/relay.txt
include/linux/relay.h
kernel/relay.c