Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932357AbZKRUZN (ORCPT ); Wed, 18 Nov 2009 15:25:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932273AbZKRUZM (ORCPT ); Wed, 18 Nov 2009 15:25:12 -0500 Received: from hera.kernel.org ([140.211.167.34]:41275 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932278AbZKRUZL (ORCPT ); Wed, 18 Nov 2009 15:25:11 -0500 Date: Wed, 18 Nov 2009 20:24:46 GMT From: tip-bot for Feng Tang Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com, akpm@linux-foundation.org, heiko.carstens@de.ibm.com, tglx@linutronix.de, feng.tang@intel.com Reply-To: mingo@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, heiko.carstens@de.ibm.com, tglx@linutronix.de, feng.tang@intel.com In-Reply-To: References: To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/urgent] hrtimer: Fix /proc/timer_list regression Message-ID: Git-Commit-ID: 887a29f59b93cf54e21814869a4ab6e80b6fa623 X-Mailer: tip-git-log-daemon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1959 Lines: 51 Commit-ID: 887a29f59b93cf54e21814869a4ab6e80b6fa623 Gitweb: http://git.kernel.org/tip/887a29f59b93cf54e21814869a4ab6e80b6fa623 Author: Feng Tang AuthorDate: Thu, 3 Sep 2009 16:32:53 +0800 Committer: Thomas Gleixner CommitDate: Wed, 18 Nov 2009 21:20:37 +0100 hrtimer: Fix /proc/timer_list regression commit 507e1231 (timer stats: Optimize by adding quick check to avoid function calls) introduced a regression in /proc/timer_list. /proc/timer_list shows now #0: , tick_sched_timer, S:01, <(null)>, /-1 instead of #0: , tick_sched_timer, S:01, hrtimer_start, swapper/0 Revert the hrtimer quick check for now. The optimization needs more thought, but this is neither 2.6.32-rc7 nor stable material. [ tglx: Removed unrelated changes from the original patch and massaged the changelog ] Signed-off-by: Feng Tang LKML-Reference: Cc: Heiko Carstens Cc: stable@kernel.org Signed-off-by: Andrew Morton Signed-off-by: Thomas Gleixner --- include/linux/hrtimer.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index ff037f0..0a656d6 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h @@ -457,8 +457,6 @@ extern void __timer_stats_hrtimer_set_start_info(struct hrtimer *timer, static inline void timer_stats_hrtimer_set_start_info(struct hrtimer *timer) { - if (likely(!timer_stats_active)) - return; __timer_stats_hrtimer_set_start_info(timer, __builtin_return_address(0)); } -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/