* [GIT PULL] cgroup fixes for v5.18-rc6
@ 2022-05-12 17:29 Tejun Heo
[not found] ` <Yn1EFgZdbSSjTatf-NiLfg/pYEd1N0TnZuCh8vA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Tejun Heo @ 2022-05-12 17:29 UTC (permalink / raw)
To: Linus Torvalds
Cc: cgroups-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
Hello,
This pull contains one commit - Waiman's fix for cgroup2 cpuset bug where it
could miss nodes which were hot-added.
Thanks.
The following changes since commit a7391ad3572431a354c927cf8896e86e50d7d0bf:
Merge tag 'iomm-fixes-v5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu (2022-05-04 11:04:52 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-5.18-fixes
for you to fetch changes up to 2685027fca387b602ae565bff17895188b803988:
cgroup/cpuset: Remove cpus_allowed/mems_allowed setup in cpuset_init_smp() (2022-05-05 08:57:00 -1000)
----------------------------------------------------------------
Waiman Long (1):
cgroup/cpuset: Remove cpus_allowed/mems_allowed setup in cpuset_init_smp()
kernel/cgroup/cpuset.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c
index 9390bfd9f1cd..71a418858a5e 100644
--- a/kernel/cgroup/cpuset.c
+++ b/kernel/cgroup/cpuset.c
@@ -3390,8 +3390,11 @@ static struct notifier_block cpuset_track_online_nodes_nb = {
*/
void __init cpuset_init_smp(void)
{
- cpumask_copy(top_cpuset.cpus_allowed, cpu_active_mask);
- top_cpuset.mems_allowed = node_states[N_MEMORY];
+ /*
+ * cpus_allowd/mems_allowed set to v2 values in the initial
+ * cpuset_bind() call will be reset to v1 values in another
+ * cpuset_bind() call when v1 cpuset is mounted.
+ */
top_cpuset.old_mems_allowed = top_cpuset.mems_allowed;
cpumask_copy(top_cpuset.effective_cpus, cpu_active_mask);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [GIT PULL] cgroup fixes for v5.18-rc6
[not found] ` <Yn1EFgZdbSSjTatf-NiLfg/pYEd1N0TnZuCh8vA@public.gmane.org>
@ 2022-05-12 17:49 ` pr-tracker-bot-DgEjT+Ai2ygdnm+yROfE0A
0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot-DgEjT+Ai2ygdnm+yROfE0A @ 2022-05-12 17:49 UTC (permalink / raw)
To: Tejun Heo
Cc: Linus Torvalds, cgroups-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
The pull request you sent on Thu, 12 May 2022 07:29:58 -1000:
> git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-5.18-fixes
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0ac824f379fba2c2b17b75fd5ada69cd68c66348
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-12 17:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-12 17:29 [GIT PULL] cgroup fixes for v5.18-rc6 Tejun Heo
[not found] ` <Yn1EFgZdbSSjTatf-NiLfg/pYEd1N0TnZuCh8vA@public.gmane.org>
2022-05-12 17:49 ` pr-tracker-bot-DgEjT+Ai2ygdnm+yROfE0A
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox