Pull cgroup fixes from Tejun Heo: - Fix seqcount lockdep assertion failure in cgroup freezer on PREEMPT_RT. Plain seqcount_t expects preemption disabled, but PREEMPT_RT spinlocks don't disable preemption. Switch to seqcount_spinlock_t to properly associate css_set_lock with the freeze timing seqcount. - Misc changes including kernel-doc warning fix for misc_res_type enum and improved selftest diagnostics. * tag 'cgroup-for-6.18-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup: cgroup/misc: fix misc_res_type kernel-doc warning selftests: cgroup: Use values_close_report in test_cpu selftests: cgroup: add values_close_report helper cgroup: Fix seqcount lockdep assertion in cgroup freezer
Showing the changes to include/linux (2 of 5 files). Show all
Unified · Split
| @@ -452,7 +452,7 @@ struct cgroup_freezer_state { · 451 unmodified lines | ||
| 452 | 452 | int nr_frozen_tasks; |
| 453 | 453 | |
| 454 | 454 | /* Freeze time data consistency protection */ |
| 455 | − seqcount_t freeze_seq; | |
| 455 | + seqcount_spinlock_t freeze_seq; | |
| 456 | 456 | |
| 457 | 457 | /* |
| 458 | 458 | * Most recent time the cgroup was requested to freeze. |
| @@ -19,7 +19,7 @@ enum misc_res_type { · 18 unmodified lines | ||
| 19 | 19 | MISC_CG_RES_SEV_ES, |
| 20 | 20 | #endif |
| 21 | 21 | #ifdef CONFIG_INTEL_TDX_HOST |
| 22 | − /* Intel TDX HKIDs resource */ | |
| 22 | + /** @MISC_CG_RES_TDX: Intel TDX HKIDs resource */ | |
| 23 | 23 | MISC_CG_RES_TDX, |
| 24 | 24 | #endif |
| 25 | 25 | /** @MISC_CG_RES_TYPES: count of enum misc_res_type constants */ |