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] [day] [month] [year] [list]
Message-ID: <41b404c7-78cb-8b5f-2b89-8ab7bd13ded9@linux.alibaba.com>
Date:   Mon, 25 Apr 2022 23:04:50 +0800
From:   cruzzhao <cruzzhao@...ux.alibaba.com>
To:     Peter Zijlstra <peterz@...radead.org>
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
Subject: Re: [PATCH v2] sched/core: Skip sched_core_fork/free() when core
 sched is disabled



在 2022/4/25 下午4:14, Peter Zijlstra 写道:
> On Mon, Apr 25, 2022 at 04:17:34AM +0800, Cruz Zhao wrote:
>> As __put_task_struct() and copy_process() are hot path functions,
>> the call of sched_core_fork/free() will bring overhead when core
>> sched is disabled, and we skip them in these cases.
> 
> Only if you have profile data.. mostly these functions do whole lot of
> nothing.

Many thanks for suggestion, I'll test it.

Best wishes,
Cruz Zhao

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ