summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-08-21 22:08:52 +0300
committerThomas Gleixner <tglx@linutronix.de>2019-08-28 12:50:26 +0300
commita34360d42434bbf28c0f375444c52c154ae3e6cf (patch)
tree0e45f45b48c0db9dfbe61d0d06e0c485c6a1718e /Kbuild
parent19298fbf453c90a6cf72288155f80c6f55e9139d (diff)
downloadlinux-a34360d42434bbf28c0f375444c52c154ae3e6cf.tar.xz
itimers: Use quick sample function
get_itimer() locks sighand lock and checks whether the timer is already expired. If it is not expired then the thread group cputime accounting is already enabled. Use the sampling function not the one which is meant for starting a timer. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Link: https://lkml.kernel.org/r/20190821192919.689713638@linutronix.de
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions