Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751796AbaBRSkH (ORCPT ); Tue, 18 Feb 2014 13:40:07 -0500 Received: from www.linutronix.de ([62.245.132.108]:44888 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751073AbaBRSkG (ORCPT ); Tue, 18 Feb 2014 13:40:06 -0500 Date: Tue, 18 Feb 2014 19:40:10 +0100 (CET) From: Thomas Gleixner To: Preeti Murthy cc: Linus Torvalds , LKML , Andrew Morton , Ingo Molnar , "H. Peter Anvin" , Preeti U Murthy Subject: Re: [GIT Pull] timer fixes for 3.14 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 18 Feb 2014, Preeti Murthy wrote: > Hi Thomas, > > With regard to the patch: "tick: Clear broadcast pending bit when > switching to oneshot" > isn't BROADCAST_EXIT called atleast after initializing the high > resolution timers while > handling the broadcast IPI and before re-entering idle? This should > clear the cpu bit > in the pending mask right? > > idle() > |__BROADCAST_ENTER > |__halt() > |__broadcast_ipi > |__init_highres()->clear oneshot mask > |__return from interrupt->BROADCAST_EXIT (clear pending mask) Unfortunately not: if (cpumask_test_and_clear_cpu(cpu, tick_broadcast_oneshot_mask)) { clear pending mask; } > |__re-enter idle Go figure :) Thanks, tglx -- 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/