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]
Date:	Mon, 20 Aug 2012 16:13:39 +0800
From:	Charles Wang <0oo0.hust@...il.com>
To:	peterz@...radead.org
CC:	linux-kernel@...r.kernel.org, mingo@...hat.com,
	dsmythies@...us.net, Charles Wang <muming.wq@...bao.com>,
	Charles Wang <muming.wq@...il.com>
Subject: Re: [PATCH] sched: add missing call for calc_load_exit_idle

No email address provided by Azat Khuzhin, so I don't know
how to let him know this. - -!

On 08/20/2012 04:02 PM, Charles Wang wrote:
>  From Charles Wang <muming.wq@...bao.com>
>
> Azat Khuzhin reported "high loadavg in linux-3.6"
>
> After checking for upstream's code, I found Peter's patch
> (Commit id:5167e8d5417bf5c322a703d2927daec727ea40dd) not be
> fully applied, missing the call for calc_load_exit_idle.
> After that idle exit in sampling window will always be calculated
>   to non-idle, and the load will be higher than normal.
>
> This patch add the missing call for calc_load_exit_idle.
>
> Signed-off-by: Charles Wang <muming.wq@...bao.com>
>
> diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
> index 024540f..3a9e5d5 100644
> --- a/kernel/time/tick-sched.c
> +++ b/kernel/time/tick-sched.c
> @@ -573,6 +573,7 @@ static void tick_nohz_restart_sched_tick(struct tick_sched *ts, ktime_t now)
>   	tick_do_update_jiffies64(now);
>   	update_cpu_load_nohz();
>
> +	calc_load_exit_idle();
>   	touch_softlockup_watchdog();
>   	/*
>   	 * Cancel the scheduled timer and restore the tick
>

--
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