diff options
author | Paolo Bonzini <[email protected]> | 2017-08-01 17:24:06 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-08-10 12:28:57 +0200 |
commit | be040bea9085a9c2b1700c9e60888777baeb96d5 (patch) | |
tree | 553fd82239ca9da9878bfef881e3d49d16dbcc06 /tools/perf/scripts/python/compaction-times.py | |
parent | 7a34bcb8b272b1300f0125c93a54f0c98812acdd (diff) |
cpuset: Make nr_cpusets private
Any use of key->enabled (that is static_key_enabled and static_key_count)
outside jump_label_lock should handle its own serialization. In the case
of cpusets_enabled_key, the key is always incremented/decremented under
cpuset_mutex, and hence the same rule applies to nr_cpusets. The rule
*is* respected currently, but the mutex is static so nr_cpusets should
be static too.
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Zefan Li <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[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 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions