History

Merge tag 'cgroup-for-6.18-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup

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

Linus Torvalds committed 1 year ago

Commit 6548d362 parents 380cb5d 0fbbcab5 files · +32 −12Browse files

Showing the changes to include/linux (2 of 5 files). Show all

Unified · Split

2 files
  1. include/linux/cgroup-defs.h +1 −1
  2. include/linux/misc_cgroup.h +1 −1
include/linux/cgroup-defs.h+1−1
@@ -452,7 +452,7 @@ struct cgroup_freezer_state { · 451 unmodified lines
452452 int nr_frozen_tasks;
453453
454454 /* Freeze time data consistency protection */
455− seqcount_t freeze_seq;
455+ seqcount_spinlock_t freeze_seq;
456456
457457 /*
458458 * Most recent time the cgroup was requested to freeze.
include/linux/misc_cgroup.h+1−1
@@ -19,7 +19,7 @@ enum misc_res_type { · 18 unmodified lines
1919 MISC_CG_RES_SEV_ES,
2020 #endif
2121 #ifdef CONFIG_INTEL_TDX_HOST
22− /* Intel TDX HKIDs resource */
22+ /** @MISC_CG_RES_TDX: Intel TDX HKIDs resource */
2323 MISC_CG_RES_TDX,
2424 #endif
2525 /** @MISC_CG_RES_TYPES: count of enum misc_res_type constants */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t