]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Relay: add CPU hotplug support
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Sat, 10 Feb 2007 09:45:05 +0000 (01:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:28 +0000 (10:51 -0800)
commitfac3b8fa6a84c858d9d61d280352c9ce65eac01c
treeda8c244fd7fd7eef7a413ad8df2f19b32d4a7c52
parent745d15f44684e3d633c7b7aa9c4e4747414efa96
[PATCH] Relay: add CPU hotplug support

Mathieu originally needed to add this for tracing Xen, but it's something
that's needed for any application that can be tracing while cpus are added.

unplug isn't supported by this patch.  The thought was that at minumum a new
buffer needs to be added when a cpu comes up, but it wasn't worth the effort
to remove buffers on cpu down since they'd be freed soon anyway when the
channel was closed.

[zanussi@us.ibm.com: avoid lock_cpu_hotplug deadlock]
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Tom Zanussi <zanussi@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/filesystems/relay.txt
block/blktrace.c
include/linux/relay.h
kernel/relay.c