[PATCH v3 0/2] nohz: fix idle accounting in NO_HZ kernels

From: Hidetoshi Seto
Date: Thu Apr 10 2014 - 05:08:46 EST


Hi all,

This patch set (rebased on v3.14) is my 3rd try to fix an issue
that idle/iowait of /proc/stat can go backward. Originally reported
by Tetsuo and Fernando at last year, Mar 2013.

This v3 takes new approach to fix the problem, and now use seqcount
while v1 and v2 uses seqlock.

Of course still reviews are welcome!

Thanks,
H.Seto

Hidetoshi Seto (2):
nohz: stop updating sleep stats from get_cpu_{idle,iowait}_time_us()
nohz: use delayed iowait accounting to avoid race on idle time stats

include/linux/tick.h | 6 ++-
kernel/time/tick-sched.c | 116 ++++++++++++++++++++++++++++------------------
2 files changed, 74 insertions(+), 48 deletions(-)

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