Paolo Bonzini
be040bea90
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 <pbonzini@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Zefan Li <lizefan@huawei.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1501601046-35683-4-git-send-email-pbonzini@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-10 12:28:57 +02:00
..
2017-07-29 23:29:41 -07:00
2017-08-10 12:28:57 +02:00
2017-06-09 11:47:38 +02:00
2017-03-02 08:42:34 +01:00
2017-07-21 11:12:48 -07:00
2017-05-12 15:57:15 -07:00
2017-07-27 15:40:02 +02:00
2017-06-20 10:42:19 +02:00
2017-08-10 12:28:55 +02:00
2017-07-10 15:16:21 -07:00
2017-07-05 11:11:26 -07:00
2017-06-08 18:52:45 -07:00
2017-08-10 12:28:53 +02:00
2017-08-01 14:20:53 +02:00
2017-07-20 09:27:29 -04:00
2017-03-02 08:42:39 +01:00
2017-05-23 10:01:37 +02:00
2017-05-03 11:05:15 -07:00
2017-05-03 11:05:15 -07:00
2017-05-03 11:05:15 -07:00
2017-07-20 10:22:26 -07:00
2017-06-12 18:07:43 -04:00
2017-05-02 10:16:05 -04:00
2017-07-05 11:24:05 -07:00
2017-01-12 07:01:56 -07:00
2017-07-06 20:57:13 -07:00
2016-12-24 11:46:01 -08:00
2017-07-11 22:25:44 +02:00
2017-07-12 16:26:00 -07:00
2017-05-18 10:30:19 -06:00
2017-03-02 08:42:39 +01:00
2017-07-10 16:32:36 -07:00
2017-07-10 16:32:35 -07:00
2017-07-12 16:26:03 -07:00
2016-07-28 16:07:41 -07:00
2016-12-24 11:46:01 -08:00
2017-08-10 12:20:53 +02:00
2017-07-10 16:32:34 -07:00
2017-05-08 17:15:10 -07:00
2017-08-10 12:28:56 +02:00
2017-07-10 16:32:34 -07:00
2017-07-12 16:26:01 -07:00
2016-10-25 11:31:51 +02:00
2017-05-08 17:15:12 -07:00
2017-07-12 16:26:00 -07:00
2017-07-12 16:26:02 -07:00
2017-07-12 16:26:02 -07:00
2017-07-12 16:26:00 -07:00
2017-07-14 15:05:13 -07:00
2017-07-08 11:05:35 +02:00
2017-07-12 16:25:59 -07:00
2017-03-17 10:18:47 -04:00
2017-03-02 08:42:39 +01:00
2017-07-12 16:26:02 -07:00
2017-01-23 11:32:16 -08:00
2017-07-06 16:24:32 -07:00
2016-04-11 22:43:43 +01:00
2017-07-12 17:22:01 -07:00
2017-02-24 17:46:56 -08:00
2017-03-13 15:57:41 -03:00
2017-05-26 10:10:37 +02:00
2017-03-02 08:42:34 +01:00
2017-04-18 10:37:13 +02:00
2017-05-13 17:26:01 -05:00
2017-08-02 16:34:46 -07:00
2017-03-02 08:42:39 +01:00
2017-05-23 07:40:44 -05:00
2017-05-02 11:38:06 -07:00
2016-04-14 12:56:09 -07:00
2017-06-26 09:24:00 -07:00
2017-08-06 11:48:27 -07:00
2017-05-23 10:01:32 +02:00
2017-03-02 08:42:35 +01:00
2017-04-11 09:06:32 +02:00
2017-03-08 09:18:02 +01:00
2017-05-26 10:10:36 +02:00
2016-12-22 22:58:37 -05:00
2017-07-12 09:15:00 -07:00
2017-07-12 16:26:00 -07:00
2017-07-12 16:26:02 -07:00
2016-08-02 19:35:02 -04:00
2017-05-08 17:15:12 -07:00
2017-03-02 08:42:27 +01:00
2017-03-02 08:42:35 +01:00
2017-03-02 08:42:39 +01:00
2017-03-06 15:26:37 -06:00
2017-03-02 08:42:31 +01:00
2016-09-05 13:52:39 +02:00
2017-03-02 08:42:29 +01:00
2017-03-02 08:42:29 +01:00
2017-03-03 01:45:36 +01:00
2017-03-02 08:42:38 +01:00
2017-07-12 16:26:02 -07:00
2017-07-14 15:05:13 -07:00
2017-07-28 11:05:52 -04:00