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: Mon,  1 Jan 2024 21:16:22 +0530
From: Shrikanth Hegde <sshegde@...ux.vnet.ibm.com>
To: mingo@...nel.org, peterz@...radead.org, vincent.guittot@...aro.org
Cc: sshegde@...ux.vnet.ibm.com, dietmar.eggemann@....com,
        linux-kernel@...r.kernel.org, srikar@...ux.vnet.ibm.com,
        yu.c.chen@...el.com, tim.c.chen@...ux.intel.com
Subject: [PATCH v2 0/2] sched: use existing helper function for accessing avg_rt, avg_dl and avg_irq

Split the patches into two since there is subtle change with avg_irq.
There is no functionality change expected due to first patch, while
second patch may have. In case of any future regressions it would be
easy to bisect.

This is minor code simplification. Using existing helper function would
be simpler and easier to maintain.

v2->v1:
Vincent pointed out the READ_ONCE change for avg_irq. It would be
correct to use READ_ONCE for accessing avg_irq. Changed the current
helper function to do so.

v1: https://lore.kernel.org/lkml/20231220065522.351915-1-sshegde@linux.vnet.ibm.com/

Shrikanth Hegde (2):
  sched: use existing helper functions to access ->avg_rt and ->avg_dl
  sched: add READ_ONCE and use existing helper function to access ->avg_irq

 kernel/sched/fair.c  | 12 +++++-------
 kernel/sched/sched.h |  2 +-
 2 files changed, 6 insertions(+), 8 deletions(-)

--
2.39.3


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ