From: Peter Zijlstra Date: Wed, 16 Feb 2011 10:22:34 +0000 (+0100) Subject: perf: Optimize throttling code X-Git-Tag: v2.6.39-rc1~510^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=163ec4354a5135c6c38c3f4a9b46a31900ebdf48;p=pandora-kernel.git perf: Optimize throttling code By pre-computing the maximum number of samples per tick we can avoid a multiplication and a conditional since MAX_INTERRUPTS > max_samples_per_tick. Signed-off-by: Peter Zijlstra LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed