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:	Tue, 10 Nov 2015 09:36:00 +0900
From:	<byungchul.park@....com>
To:	<mingo@...nel.org>, <peterz@...radead.org>
CC:	linux-kernel@...r.kernel.org, efault@....de, tglx@...utronix.de,
	fweisbec@...il.com, Byungchul Park <byungchul.park@....com>
Subject: [PATCH v5 0/2] sched: consider missed ticks when updating cpu load

From: Byungchul Park <byungchul.park@....com>

change from v4 to v5
- fix comments and commit message
- take new_load into account in update_cpu_load_nohz() and __update_cpu_load()
  because it's non-zero in NOHZ_FULL

change from v3 to v4
- focus the problem on full NOHZ

change from v2 to v3
- add a patch which make __update_cpu_load() handle active tickless

change from v1 to v2
- add some additional commit message (logic is same exactly)

additionally i tried to use the return value of hrtimer_forward() instead of
jiffies to get pending tick for updating cpu load. it's easy for
update_cpu_load_nohz() to do that. but for update_idle_cpu_load(), i need
more time to think about how to implement it nicely.

and i will try to fix other stuffs caused by full NOHZ later with another
patch. i decided to send this patch at first because "cpu load update" is a
standalone problem which is not coupled with other stuffs.

Byungchul Park (2):
  sched: make __update_cpu_load() handle NOHZ_FULL tickless
  sched: make update_cpu_load_nohz() consider missed ticks in NOHZ_FULL

 include/linux/sched.h    |    4 ++--
 kernel/sched/fair.c      |   57 +++++++++++++++++++++++++++++++++++++---------
 kernel/time/tick-sched.c |    8 +++----
 3 files changed, 52 insertions(+), 17 deletions(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ