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]
Date:   Thu, 25 Aug 2022 14:27:22 +0200
From:   Vincent Guittot <vincent.guittot@...aro.org>
To:     mingo@...hat.com, peterz@...radead.org, juri.lelli@...hat.com,
        dietmar.eggemann@....com, rostedt@...dmis.org, bsegall@...gle.com,
        mgorman@...e.de, bristot@...hat.com, vschneid@...hat.com,
        linux-kernel@...r.kernel.org
Cc:     zhangqiao22@...wei.com,
        Vincent Guittot <vincent.guittot@...aro.org>
Subject: [PATCH 0/4] sched/fair: fixes in presence of lot of sched_idle tasks

This patchset gathers somes cleanups but also improvements and fixes for
scheduling UCs that involved a lot of sched_idle tasks. In such case, the
sched_idle tasks impact significantly the behavior of other tasks whereas
they should not. These patches don't impact other "normal" UCs.

 have foudn these changes while studying Zhang's problem [1] but AFAICT,
 these patches don't fix his problem.

[1] https://lore.kernel.org/lkml/20220810015636.3865248-1-zhangsong34@huawei.com/

Vincent Guittot (4):
  sched/fair: make sure to try to detach at least one movable task
  sched/fair: cleanup loop_max and loop_break
  sched/fair: move call to list_last_entry() in detach_tasks
  sched/fair: limit sched slice duration

 kernel/sched/core.c  |  6 +-----
 kernel/sched/fair.c  | 29 +++++++++++++++++------------
 kernel/sched/sched.h |  6 ++++++
 3 files changed, 24 insertions(+), 17 deletions(-)

-- 
2.17.1

Powered by blists - more mailing lists