Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752663AbbDBUaP (ORCPT ); Thu, 2 Apr 2015 16:30:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46505 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752324AbbDBUaN (ORCPT ); Thu, 2 Apr 2015 16:30:13 -0400 Date: Thu, 2 Apr 2015 17:29:54 -0300 From: Marcelo Tosatti To: Hillf Danton Cc: "'Luiz Capitulino'" , linux-kernel Subject: Re: kernel/timer: avoid spurious ksoftirqd wakeups Message-ID: <20150402202954.GA8957@amt.cnet> References: <042301d06cf5$2ec7ae90$8c570bb0$@alibaba-inc.com> <042701d06cf5$b243a7b0$16caf710$@alibaba-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <042701d06cf5$b243a7b0$16caf710$@alibaba-inc.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 793 Lines: 20 On Thu, Apr 02, 2015 at 11:32:49AM +0800, Hillf Danton wrote: > > --- a/kernel/time/tick-sched.c > > +++ b/kernel/time/tick-sched.c > > @@ -568,6 +568,7 @@ static ktime_t tick_nohz_stop_sched_tick(struct tick_sched *ts, > > unsigned long rcu_delta_jiffies; > > struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); > > u64 time_delta; > > + bool raise_softirq; > > > s/raise_softirq/raise_softirq = false/ ? Not necessary, variable is initialized before being used. > > time_delta = timekeeping_max_deferment(); > > -- 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/