From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751670Ab2BOPLz (ORCPT ); Wed, 15 Feb 2012 10:11:55 -0500 Received: from merlin.infradead.org ([205.233.59.134]:48620 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751512Ab2BOPLv convert rfc822-to-8bit (ORCPT ); Wed, 15 Feb 2012 10:11:51 -0500 Message-ID: <1329318679.2293.140.camel@twins> Subject: Re: [v7 0/8] Reduce cross CPU IPI interference From: Peter Zijlstra To: Gilad Ben-Yossef Cc: Chris Metcalf , Frederic Weisbecker , linux-kernel@vger.kernel.org, Christoph Lameter , linux-mm@kvack.org, Pekka Enberg , Matt Mackall , Sasha Levin , Rik van Riel , Andi Kleen , Mel Gorman , Andrew Morton , Alexander Viro , Avi Kivity , Michal Nazarewicz , Kosaki Motohiro , Milton Miller Date: Wed, 15 Feb 2012 16:11:19 +0100 In-Reply-To: References: <1327572121-13673-1-git-send-email-gilad@benyossef.com> <1327591185.2446.102.camel@twins> <20120201170443.GE6731@somewhere.redhat.com> <4F2AAEB9.9070302@tilera.com> <1328899105.25989.37.camel@laptop> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2012-02-10 at 22:24 +0200, Gilad Ben-Yossef wrote: > I think the concept of giving the task some way to know if the tick is > disabled or not is nice. > Not sure the exact feature and surely not the interface are what we > should adopt - maybe > allow registering to receive a signal at the end of the tick when it > is disabled an re-enabled? Fair enough, I indeed missed that property. And yes that makes sense. It might be a tad tricky to implement as things currently stand, because AFAICR Frederic's stuff re-enables the tick on kernel entry (syscall) things like signal delivery or a blocking wait for it might be 'fun'. But I'll have to defer to Frederic, its been too long since I've seen his patches to remember most details.