From: Thomas Gleixner Date: Thu, 12 Nov 2009 21:12:06 +0000 (+0100) Subject: nohz: Track last do_timer() cpu X-Git-Tag: v2.6.33-rc1~363^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27185016b806d5a1181ff501cae120582b2b27dd;p=pandora-kernel.git nohz: Track last do_timer() cpu The previous patch which limits the sleep time to the maximum deferment time of the time keeping clocksource has some limitations on SMP machines: if all CPUs are idle then for all CPUs the maximum sleep time is limited. Solve this by keeping track of which cpu had the do_timer() duty assigned last and limit the sleep time only for this cpu. Signed-off-by: Thomas Gleixner LKML-Reference: Cc: Jon Hunter Cc: John Stultz --- Reading git-diff-tree failed