OSDN Git Service

posix-cpu-timers: Sample directly in timer check
authorThomas Gleixner <tglx@linutronix.de>
Wed, 21 Aug 2019 19:08:53 +0000 (21:08 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 28 Aug 2019 09:50:27 +0000 (11:50 +0200)
commita324956fae05d863386c682830e917f6685f1d4f
tree847f4905af5aa154d03943457c302a81d0d2444d
parenta34360d42434bbf28c0f375444c52c154ae3e6cf
posix-cpu-timers: Sample directly in timer check

The thread group accounting is active, otherwise the expiry function would
not be running. Sample the thread group time directly.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lkml.kernel.org/r/20190821192919.780348088@linutronix.de
kernel/time/posix-cpu-timers.c