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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZKxxsPKf4uGoJWdX@slm.duckdns.org>
Date:   Mon, 10 Jul 2023 11:01:36 -1000
From:   Tejun Heo <tj@...nel.org>
To:     Waiman Long <longman@...hat.com>
Cc:     Zefan Li <lizefan.x@...edance.com>,
        Johannes Weiner <hannes@...xchg.org>,
        Jonathan Corbet <corbet@....net>,
        Shuah Khan <shuah@...nel.org>, linux-kernel@...r.kernel.org,
        cgroups@...r.kernel.org, linux-doc@...r.kernel.org,
        linux-kselftest@...r.kernel.org,
        Juri Lelli <juri.lelli@...hat.com>,
        Valentin Schneider <vschneid@...hat.com>,
        Frederic Weisbecker <frederic@...nel.org>,
        Mrunal Patel <mpatel@...hat.com>,
        Ryan Phillips <rphillips@...hat.com>,
        Brent Rowsell <browsell@...hat.com>,
        Peter Hunt <pehunt@...hat.com>, Phil Auld <pauld@...hat.com>
Subject: Re: [PATCH v4 4/9] cgroup/cpuset: Allow suppression of sched domain
 rebuild in update_cpumasks_hier()

On Tue, Jun 27, 2023 at 10:35:03AM -0400, Waiman Long wrote:
> A single partition setup and tear-down operation can lead to
> multiple rebuild_sched_domains_locked() calls which is a waste of
> effort. This can partly be mitigated by adding a flag to suppress the
> rebuild_sched_domains_locked() call in update_cpumasks_hier(). Since
> a Boolean flag has already been passed as the 3rd argument to
> update_cpumasks_hier(), we can extend that to a full flag word.
> 
> The sched domain rebuild suppression is now enabled in
> update_sibling_cpumasks() as all it callers will do the sched domain
> rebuild after its return later on anyway.
> 
> Signed-off-by: Waiman Long <longman@...hat.com>

Applied 1-3 to cgroup/for-6.6.

Thanks.

-- 
tejun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ