diff options
author | Srivatsa S. Bhat <[email protected]> | 2012-05-24 19:46:55 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-07-24 13:53:22 +0200 |
commit | 7ddf96b02fe8dd441f452deef879040def5f7b34 (patch) | |
tree | 779a01bad0b51eb8ca8acb96b75f5a1b06f9a6d3 /lib/string_helpers.c | |
parent | 80d1fa6463d934969b7aebf04107fc133463f0f6 (diff) |
cpusets, hotplug: Restructure functions that are invoked during hotplug
Separate out the cpuset related handling for CPU/Memory online/offline.
This also helps us exploit the most obvious and basic level of optimization
that any notification mechanism (CPU/Mem online/offline) has to offer us:
"We *know* why we have been invoked. So stop pretending that we are lost,
and do only the necessary amount of processing!".
And while at it, rename scan_for_empty_cpusets() to
scan_cpusets_upon_hotplug(), which is more appropriate considering how
it is restructured.
Signed-off-by: Srivatsa S. Bhat <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions