lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230608085439.27501-1-suhua.tanke@gmail.com>
Date:   Thu,  8 Jun 2023 16:54:39 +0800
From:   suhua <suhua.tanke@...il.com>
To:     longman@...hat.com, lizefan.x@...edance.com, tj@...nel.org,
        hannes@...xchg.org
Cc:     cgroups@...r.kernel.org, linux-kernel@...r.kernel.org,
        suhua.tanke@...il.com
Subject: [PATCH] cgroup/cpuset: Fix comment in cpuset_hotplug_workfn

"synchronize cpus_allowed to cpu_active_mask"
-> "synchronize cpu_active_mask to cpus_allowed"

Signed-off-by: suhua <suhua.tanke@...il.com>
---
 kernel/cgroup/cpuset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c
index b0aee733b92b..4810d29e2d63 100644
--- a/kernel/cgroup/cpuset.c
+++ b/kernel/cgroup/cpuset.c
@@ -3739,7 +3739,7 @@ static void cpuset_hotplug_workfn(struct work_struct *work)
 	if (!cpus_updated && top_cpuset.nr_subparts_cpus)
 		cpus_updated = true;
 
-	/* synchronize cpus_allowed to cpu_active_mask */
+	/* synchronize cpu_active_mask to cpus_allowed */
 	if (cpus_updated) {
 		spin_lock_irq(&callback_lock);
 		if (!on_dfl)
-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ