Re: [patch V2 04/38] posix-cpu-timers: Provide quick sample function for itimer

From: Frederic Weisbecker
Date: Thu Aug 22 2019 - 09:45:53 EST


On Wed, Aug 21, 2019 at 09:08:51PM +0200, Thomas Gleixner wrote:
> get_itimer() needs a sample of the current thread group cputime. It invokes
> thread_group_cputimer() - which is a misnomer. That function also starts
> eventually the group cputime accouting which is bogus because the
> accounting is already active when a timer is armed.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>