diff options
author | Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> | 2014-03-11 02:04:32 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-03-20 13:43:40 +0100 |
commit | 8489d90b5f32effa402be2a4ee7636ba0c652145 (patch) | |
tree | 1e9ba0c84932ed8b8980ca8a9acee5b47757d3ed /include/linux/perf_event.h | |
parent | 93ae4f978ca7f26d17df915ac7afc919c1dd0353 (diff) | |
download | lwn-8489d90b5f32effa402be2a4ee7636ba0c652145.tar.gz lwn-8489d90b5f32effa402be2a4ee7636ba0c652145.zip |
Doc/cpu-hotplug: Specify race-free way to register CPU hotplug callbacks
Recommend the usage of the new CPU hotplug callback registration APIs
(__register_cpu_notifier() etc), when subsystems need to also perform
initialization for already online CPUs. Provide examples of correct
and race-free ways of achieving this, and point out the kinds of code
that are error-prone.
Cc: Rob Landley <rob@landley.net>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/perf_event.h')
0 files changed, 0 insertions, 0 deletions