gaoxu
20fb292ab5
cgroup: Fix compilation issue due to cgroup_mutex not being exported
...
[ Upstream commit 87c259a7a359e73e6c52c68fcbec79988999b4e6 ]
When adding folio_memcg function call in the zram module for
Android16-6.12, the following error occurs during compilation:
ERROR: modpost: "cgroup_mutex" [../soc-repo/zram.ko] undefined!
This error is caused by the indirect call to lockdep_is_held(&cgroup_mutex)
within folio_memcg. The export setting for cgroup_mutex is controlled by
the CONFIG_PROVE_RCU macro. If CONFIG_LOCKDEP is enabled while
CONFIG_PROVE_RCU is not, this compilation error will occur.
To resolve this issue, add a parallel macro CONFIG_LOCKDEP control to
ensure cgroup_mutex is properly exported when needed.
Signed-off-by: gao xu <gaoxu2@honor.com >
Acked-by: Michal Koutný <mkoutny@suse.com >
Signed-off-by: Tejun Heo <tj@kernel.org >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2025-06-04 14:41:53 +02:00
..
2025-05-09 09:43:55 +02:00
2025-06-04 14:41:53 +02:00
2023-09-05 11:01:47 -07:00
2024-08-03 08:54:34 +02:00
2025-05-02 07:50:42 +02:00
2024-04-03 15:28:50 +02:00
2025-05-02 07:50:58 +02:00
2023-11-20 11:58:53 +01:00
2024-06-27 13:49:13 +02:00
2025-02-08 09:51:48 +01:00
2024-12-14 19:59:59 +01:00
2023-11-20 11:59:25 +01:00
2025-04-25 10:45:29 +02:00
2025-05-02 07:50:36 +02:00
2025-02-08 09:52:29 +01:00
2025-02-17 09:40:04 +01:00
2024-12-09 10:31:50 +01:00
2025-05-02 07:50:41 +02:00
2025-05-02 07:51:00 +02:00
2025-05-22 14:12:21 +02:00
2025-02-27 04:10:52 -08: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-03-14 19:32:38 -07:00
2023-06-05 09:57:20 +02:00
2025-01-23 17:21:17 +01:00
2024-05-02 16:32:47 +02:00
2023-12-20 17:01:51 +01:00
2023-04-18 16:39:34 -07:00
2024-07-11 12:49:15 +02:00
2025-04-10 14:37:30 +02:00
2025-01-23 17:21:13 +01:00
2023-04-08 13:45:37 -07:00
2023-08-21 13:37:28 -07:00
2023-03-24 11:01:29 +01:00
2024-10-10 11:57:13 +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
2025-01-09 13:32:07 +01:00
2024-01-31 16:18:56 -08:00
2025-04-10 14:37:34 +02:00
2024-09-12 11:11:27 +02:00
2023-11-28 17:19:40 +00:00
2023-03-24 20:10:59 -07: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-10-17 15:24:37 +02:00
2024-06-12 11:11:50 +02:00
2023-04-08 13:45:38 -07:00
2023-08-21 11:29:12 -07:00
2024-06-12 11:11:50 +02:00
2025-02-08 09:52:09 +01:00
2025-05-02 07:50:55 +02:00
2025-05-18 08:24:08 +02: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-04-16 14:23:07 +02:00
2023-11-28 17:20:04 +00:00
2023-08-18 10:18:55 -07:00
2024-10-10 11:57:50 +02:00
2023-07-14 15:02:57 -07:00
2023-08-17 12:32:15 -07:00
2024-12-09 10:33:11 +01:00
2024-09-12 11:11:37 +02:00
2024-06-12 11:12:52 +02:00
2025-01-09 13:31:48 +01:00
2023-04-20 11:36:35 +02:00
2024-12-19 18:11:36 +01:00
2024-07-05 09:34:04 +02:00
2025-03-22 12:50:37 -07:00
2023-06-28 16:05:21 -07:00
2024-11-01 01:58:34 +01:00
2023-11-28 17:20:08 +00:00
2024-11-14 13:19:40 +01:00
2023-06-29 15:19:43 -07:00
2023-04-13 11:49:35 -07:00
2024-07-11 12:49:10 +02:00
2025-04-10 14:37:25 +02: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
2025-01-17 13:36:25 +01:00