From: KOSAKI Motohiro <kosaki.motoh...@jp.fujitsu.com> Glibc's posix timer testcase found a lot of bugs in posix timer code. This series, hopefully, fixes all of them. All patches are independent each other logically.
Changes from v3 - task_sched_runtime() micro optimization add to care tsk->on_cpu. suggested Paul Turner. - fixed several typo in changelogs. KOSAKI Motohiro (7): posix-cpu-timers: don't account cpu timer after stopped thread runtime accounting posix-cpu-timers: fix acounting delta_exec twice posix-cpu-timers: fix wrong timer initialization posix-cpu-timers: timer functions should use timer time instead of clock time posix-cpu-timers: check_thread_timers() uses task_sched_runtime() sched: task_sched_runtime introduce micro optimization posix-cpu-timers: cleanup cpu_{clock,timer}_sample{,_group} fs/binfmt_elf.c | 2 +- fs/binfmt_elf_fdpic.c | 2 +- include/linux/kernel_stat.h | 5 -- include/linux/sched.h | 5 +- kernel/posix-cpu-timers.c | 143 ++++++++++++++++++++++++------------------- kernel/sched/core.c | 34 ++++++----- kernel/sched/cputime.c | 19 +++++- kernel/sched/stats.h | 7 ++ 8 files changed, 125 insertions(+), 92 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/