Yafang Shao
dd9542ae7c
cgroup: Make operations on the cgroup root_list RCU safe
...
commit d23b5c577715892c87533b13923306acc6243f93 upstream.
At present, when we perform operations on the cgroup root_list, we must
hold the cgroup_mutex, which is a relatively heavyweight lock. In reality,
we can make operations on this list RCU-safe, eliminating the need to hold
the cgroup_mutex during traversal. Modifications to the list only occur in
the cgroup root setup and destroy paths, which should be infrequent in a
production environment. In contrast, traversal may occur frequently.
Therefore, making it RCU-safe would be beneficial.
Signed-off-by: Yafang Shao <laoar.shao@gmail.com >
Signed-off-by: Tejun Heo <tj@kernel.org >
To: Michal Koutný <mkoutny@suse.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-08-19 06:04:25 +02:00
..
2024-08-03 08:53:43 +02:00
2024-08-19 06:04:25 +02:00
2023-09-05 11:01:47 -07:00
2024-08-03 08:54:34 +02:00
2024-08-03 08:54:36 +02:00
2024-04-03 15:28:50 +02:00
2024-08-03 08:54:36 +02:00
2023-11-20 11:58:53 +01:00
2024-06-27 13:49:13 +02:00
2024-08-19 06:04:24 +02:00
2023-06-09 23:29:50 +10:00
2023-11-20 11:59:25 +01:00
2024-08-03 08:53:42 +02:00
2024-08-14 13:58:53 +02:00
2024-04-17 11:19:26 +02:00
2024-04-13 13:07:29 +02:00
2024-08-14 13:58:41 +02:00
2024-08-14 13:59:00 +02:00
2024-08-14 13:58:57 +02:00
2024-08-14 13:58:58 +02:00
2023-08-30 08:17:35 -07:00
2024-01-31 16:18:49 -08:00
2023-11-28 17:19:56 +00:00
2024-02-05 20:14:14 +00:00
2023-07-21 12:17:25 -04:00
2024-07-11 12:49:18 +02:00
2023-10-13 18:34:46 +02:00
2024-05-02 16:32:50 +02:00
2023-08-08 16:48:47 -04:00
2023-06-05 09:57:20 +02:00
2024-07-11 12:49:14 +02:00
2024-05-02 16:32:47 +02:00
2023-12-20 17:01:51 +01:00
2024-07-11 12:49:15 +02:00
2024-06-21 14:38:47 +02:00
2024-06-21 14:38:40 +02:00
2023-08-21 13:37:28 -07:00
2024-08-14 13:58:38 +02:00
2023-08-29 17:32:32 -07:00
2023-08-25 15:00:36 -07:00
2024-01-05 15:19:41 +01:00
2024-08-14 13:58:57 +02:00
2024-01-31 16:18:56 -08:00
2023-08-30 09:16:56 -07:00
2023-11-28 17:19:40 +00:00
2024-08-14 13:58:51 +02:00
2023-06-08 12:27:20 -07:00
2023-08-24 16:25:14 -07:00
2024-06-12 11:12:52 +02:00
2024-06-12 11:11:50 +02:00
2023-08-21 11:29:12 -07:00
2024-06-12 11:11:50 +02:00
2024-08-14 13:58:59 +02:00
2024-04-13 13:07:29 +02:00
2023-07-10 12:47:01 -07:00
2024-06-21 14:38:50 +02:00
2023-08-21 13:37:59 -07:00
2023-09-19 13:21:33 -07:00
2024-08-14 13:58:47 +02:00
2023-11-28 17:20:04 +00:00
2023-08-18 10:18:55 -07:00
2024-01-10 17:16:58 +01:00
2023-07-14 15:02:57 -07:00
2023-08-17 12:32:15 -07:00
2024-08-03 08:54:13 +02:00
2023-11-28 17:19:36 +00:00
2024-06-12 11:12:52 +02:00
2024-06-12 11:11:27 +02:00
2024-07-05 09:34:04 +02:00
2024-04-03 15:28:54 +02:00
2023-06-28 16:05:21 -07:00
2024-08-03 08:54:16 +02:00
2023-11-28 17:20:08 +00:00
2023-08-15 15:26:17 -07:00
2023-06-29 15:19:43 -07:00
2024-07-11 12:49:10 +02:00
2023-11-28 17:19:40 +00:00
2023-06-19 16:25:28 -07:00
2024-08-03 08:54:29 +02:00
2023-11-28 17:19:57 +00:00
2023-08-07 15:57:22 -10:00
2024-05-17 12:02:31 +02:00