From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933992AbbDVTTQ (ORCPT ); Wed, 22 Apr 2015 15:19:16 -0400 Received: from terminus.zytor.com ([198.137.202.10]:41480 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757900AbbDVTLD (ORCPT ); Wed, 22 Apr 2015 15:11:03 -0400 Date: Wed, 22 Apr 2015 12:10:30 -0700 From: tip-bot for Thomas Gleixner Message-ID: Cc: peterz@infradead.org, fweisbec@gmail.com, tglx@linutronix.de, viresh.kumar@linaro.org, mingo@kernel.org, preeti@linux.vnet.ibm.com, mtosatti@redhat.com, linux-kernel@vger.kernel.org, hpa@zytor.com Reply-To: fweisbec@gmail.com, viresh.kumar@linaro.org, tglx@linutronix.de, mingo@kernel.org, peterz@infradead.org, linux-kernel@vger.kernel.org, hpa@zytor.com, preeti@linux.vnet.ibm.com, mtosatti@redhat.com In-Reply-To: <20150414203502.260487331@linutronix.de> References: <20150414203502.260487331@linutronix.de> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/core] x86: perf: Use hrtimer_start() Git-Commit-ID: 514c2304b4574dae28c3d7c0ad6b9cf296994140 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Commit-ID: 514c2304b4574dae28c3d7c0ad6b9cf296994140 Gitweb: http://git.kernel.org/tip/514c2304b4574dae28c3d7c0ad6b9cf296994140 Author: Thomas Gleixner AuthorDate: Tue, 14 Apr 2015 21:09:00 +0000 Committer: Thomas Gleixner CommitDate: Wed, 22 Apr 2015 17:06:50 +0200 x86: perf: Use hrtimer_start() hrtimer_start() does not longer defer already expired timers to the softirq. Get rid of the __hrtimer_start_range_ns() invocation. Signed-off-by: Thomas Gleixner Acked-by: Peter Zijlstra Cc: Preeti U Murthy Cc: Viresh Kumar Cc: Marcelo Tosatti Cc: Frederic Weisbecker Cc: x86@kernel.org Link: http://lkml.kernel.org/r/20150414203502.260487331@linutronix.de Signed-off-by: Thomas Gleixner --- arch/x86/kernel/cpu/perf_event_intel_rapl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/cpu/perf_event_intel_rapl.c b/arch/x86/kernel/cpu/perf_event_intel_rapl.c index 999289b9..10190c0 100644 --- a/arch/x86/kernel/cpu/perf_event_intel_rapl.c +++ b/arch/x86/kernel/cpu/perf_event_intel_rapl.c @@ -204,9 +204,8 @@ again: static void rapl_start_hrtimer(struct rapl_pmu *pmu) { - __hrtimer_start_range_ns(&pmu->hrtimer, - pmu->timer_interval, 0, - HRTIMER_MODE_REL_PINNED, 0); + hrtimer_start(&pmu->hrtimer, pmu->timer_interval, + HRTIMER_MODE_REL_PINNED); } static void rapl_stop_hrtimer(struct rapl_pmu *pmu)