From: Thomas Gleixner Date: Fri, 12 Mar 2010 16:34:14 +0000 (+0100) Subject: clockevents: Sanitize min_delta_ns adjustment and prevent overflows X-Git-Tag: v2.6.34-rc3~22^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80a05b9ffa7dc13f6693902dd8999a2b61a3a0d7;p=pandora-kernel.git clockevents: Sanitize min_delta_ns adjustment and prevent overflows The current logic which handles clock events programming failures can increase min_delta_ns unlimited and even can cause overflows. Sanitize it by: - prevent zero increase when min_delta_ns == 1 - limiting min_delta_ns to a jiffie - bail out if the jiffie limit is hit - add retries stats for /proc/timer_list so we can gather data Reported-by: Uwe Kleine-Koenig Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed