Skip to content

posix-cpu-timers: fix CPUCLOCK_{PROF,VIRT} periodic tics precision -v1

Stanislaw Gruszka lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 1 patch 0 repliesNew

Patches in v1 No applies recorded yet

The patch the cover letter announces is not in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH -tip 0/1] posix-cpu-timers: fix CPUCLOCK_{PROF,VIRT} periodic tics precision -v1

Reference:
http://lkml.org/lkml/2009/8/11/174

Changelog v0 -> v1:

Fix for PowerPC with CONFIG_VIRT_CPU_ACCOUNTING. Due to rounding return value of cputime_to_jiffies(), calculations of next expiration time not worked as I expected. I removed any conversions and do direct calculations on cputime values treat them as unsigned long long.

Cheers
Stanislaw