]> git.baikalelectronics.ru Git - kernel.git/commit
posix-cpu-timers: Get rid of 64bit divisions
authorThomas Gleixner <tglx@linutronix.de>
Wed, 21 Aug 2019 19:09:21 +0000 (21:09 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 28 Aug 2019 09:50:41 +0000 (11:50 +0200)
commit5801e254e58e46db2f3c4f6a5f5f4f4513316c37
treebce49bbca194dbcd1dc972248723925d764ed989
parent7e322d59f96df77414f3d59bc1b39227bca2a3b0
posix-cpu-timers: Get rid of 64bit divisions

Instead of dividing A to match the units of B it's more efficient to
multiply B to match the units of A.

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