]> git.baikalelectronics.ru Git - kernel.git/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)
commit155d94f2f88a5c4ba2d1acbb8948de06d813e380
tree7162455643e7ce45e253033bf648bf41d9796dd9
parent6fde39fdc6ea3b8433ab33e950fe0d5696c03ba8
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