Re: [PATCH] oprofile: hotplug cpu fix
From: Robert Richter
Date: Fri Oct 17 2008 - 05:04:46 EST
On 15.10.08 12:09:45, Chris J Arges wrote:
> From 60f07301d3c387a0405becccbdc0cfb7e99ecf39 Mon Sep 17 00:00:00 2001
> From: Chris J Arges <arges@xxxxxxxxxxxxxxxxxx>
> Date: Wed, 15 Oct 2008 11:03:39 -0500
> Subject: [PATCH] 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.
Applied to oprofile/oprofile-for-tip. Thanks, Chris.
Advanced Micro Devices, Inc.
Operating System Research Center
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/