From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH][resubmit] x86: enable preemption in delay Date: Mon, 9 Jun 2008 18:16:06 +0200 Message-ID: <20080609161606.GA24841@elte.hu> References: <200805252108.25011.mitov@issp.bas.bg> <200806011901.23619.mitov@issp.bas.bg> <20080609121309.GA13610@elte.hu> <200806091911.21850.mitov@issp.bas.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: LKML , Steven Rostedt , Thomas Gleixner , linux-rt-users , akpm@osdl.org, Clark Williams , Peter Zijlstra , "Luis Claudio R. Goncalves" , Gregory Haskins , Linus Torvalds , Andi Kleen To: Marin Mitov Return-path: Received: from mx3.mail.elte.hu ([157.181.1.138]:60147 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750728AbYFIQQk (ORCPT ); Mon, 9 Jun 2008 12:16:40 -0400 Content-Disposition: inline In-Reply-To: <200806091911.21850.mitov@issp.bas.bg> Sender: linux-rt-users-owner@vger.kernel.org List-ID: * Marin Mitov wrote: > > i think Thomas had a concern with the original fix - forgot the > > details. > > Here they are: > > http://lkml.org/lkml/2008/5/25/251 > > but see my comment to it. > > There is no principal difference between both patches. I have seen > Steven's one as merged in linux-2.6.26-rc5. The only difference (if it > matters of all) is that in mine patch > preempt_disable()/preempt_enable() sections are shorter and protect > only the code that must be protected: > > preempt_disable() > rdtscl() > smp_processor_id() > preempt_enable() > > As far as Steven's patch is already merged - let it be :-) we could still merge your enhancements as well ontop of Steven's, if you would like to pursue it. If so then please send a patch against -rc5 or against -tip. Reducing the length of preempt-off sections is a fair goal. Ingo