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: <YKPA0v3we3WTWIy2@hirez.programming.kicks-ass.net>
Date:   Tue, 18 May 2021 15:27:46 +0200
From:   Peter Zijlstra <peterz@...radead.org>
To:     Yejune Deng <yejune.deng@...il.com>
Cc:     mingo@...hat.com, juri.lelli@...hat.com,
        vincent.guittot@...aro.org, dietmar.eggemann@....com,
        rostedt@...dmis.org, bsegall@...gle.com, mgorman@...e.de,
        bristot@...hat.com, linux-kernel@...r.kernel.org,
        Yejune Deng <yejunedeng@...il.com>
Subject: Re: [PATCH] sched: simplify is_cpu_allowed() code

On Tue, May 18, 2021 at 08:54:46PM +0800, Yejune Deng wrote:
> Combine multiple if statements that return the same value.

This patch is not a nop; You now deny cpu_dying() for everyone, while we
explicitly allow it for kthread_is_per_cpu().

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ