From: Chris J Arges Date: Wed, 15 Oct 2008 16:03:39 +0000 (-0500) Subject: oprofile: hotplug cpu fix X-Git-Tag: v2.6.28-rc1~35^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bd9b9dc97e344670e9e5762399a07dcd5f15311;p=pandora-kernel.git oprofile: hotplug cpu fix This patch addresses problems when hotplugging cpus while profiling. Instead of allocating only online cpus, all possible cpu buffers are allocated, which allows cpus to be onlined during operation. If a cpu is offlined before profiling is shutdown wq_sync_buffer checks for this condition then cancels this work and does not sync this buffer. Signed-off-by: Chris J Arges Signed-off-by: Robert Richter --- Reading git-diff-tree failed