]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit23c887522e912ca494950796a95df8dd210f4b01
treeda8c244fd7fd7eef7a413ad8df2f19b32d4a7c52
parent138c5d258cf06c278f5d7fe0a806e50fe413a08f
[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