Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932412Ab1EFRuy (ORCPT ); Fri, 6 May 2011 13:50:54 -0400 Received: from one.firstfloor.org ([213.235.205.2]:51178 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755024Ab1EFRux (ORCPT ); Fri, 6 May 2011 13:50:53 -0400 Date: Fri, 6 May 2011 19:50:51 +0200 From: Andi Kleen To: Eric Dumazet Cc: Andi Kleen , Thomas Gleixner , john stultz , lkml , Paul Mackerras , "Paul E. McKenney" , Anton Blanchard , Ingo Molnar Subject: Re: [RFC] time: xtime_lock is held too long Message-ID: <20110506175051.GL11636@one.firstfloor.org> References: <1304574244.32152.666.camel@edumazet-laptop> <1304576495.2943.40.camel@work-vm> <1304604284.3032.78.camel@edumazet-laptop> <1304608095.3032.95.camel@edumazet-laptop> <20110505210118.GI2925@one.firstfloor.org> <20110506165913.GF11636@one.firstfloor.org> <1304703767.3066.211.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1304703767.3066.211.camel@edumazet-laptop> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 692 Lines: 19 On Fri, May 06, 2011 at 07:42:47PM +0200, Eric Dumazet wrote: > Le vendredi 06 mai 2011 ? 18:59 +0200, Andi Kleen a ?crit : > > > If you have a better way to make it faster please share it. > > Ideally we could use RCU :) Hmm, I didn't think my case had a lot of loops in the seqlock -- just expensive cache misses -- but I should double check. For the lots of loop case we probably need to understand first why you iterate that often. -Andi -- 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/