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:	Thu, 17 Sep 2015 23:45:37 +0200 (CEST)
From:	Thomas Gleixner <tglx@...utronix.de>
To:	Yunhong Jiang <yunhong.jiang@...ux.intel.com>
cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nohz: make the idle_entrytime/idle_exittime correct

On Wed, 16 Sep 2015, Yunhong Jiang wrote:

> Currently the idle_entrytime is updated on idle_entry, idle_exit and
> get_cpu_idle/iowait_time_us() with non-NULL parameter. This makes the
> idle_entrytime not the real entrytime anymore. The idle_exittiime is
> updated when exit tickless state, which can be idle tickless or full
> tickless.

If something calls one of the functions then the cpu is not idle. It's
running code.
 
> Change the idle_entrytime to be updated only when enter idle, the
> idle_exittime to be updated only when exit idle. Update
> the get_cpu_idle_iowait_time_us() accordingly.

And the rationale for this change is?

Thanks,

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