Re: [patch V2 05/38] itimers: Use quick sample function

2019-08-22 Thread Frederic Weisbecker
On Wed, Aug 21, 2019 at 09:08:52PM +0200, Thomas Gleixner wrote: > 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 > starti

[patch V2 05/38] itimers: Use quick sample function

2019-08-21 Thread Thomas Gleixner
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 --- kernel/time/itimer.c |