Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756665Ab3H3QQZ (ORCPT ); Fri, 30 Aug 2013 12:16:25 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:49918 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753886Ab3H3QQX (ORCPT ); Fri, 30 Aug 2013 12:16:23 -0400 MIME-Version: 1.0 Reply-To: sedat.dilek@gmail.com In-Reply-To: <20130830121227.3915ffb3@gandalf.local.home> References: <1375758759-29629-1-git-send-email-Waiman.Long@hp.com> <1375758759-29629-2-git-send-email-Waiman.Long@hp.com> <1377751465.4028.20.camel@pasglop> <20130829070012.GC27322@gmail.com> <52200DAE.2020303@hp.com> <20130830121227.3915ffb3@gandalf.local.home> Date: Fri, 30 Aug 2013 18:16:22 +0200 Message-ID: Subject: Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount From: Sedat Dilek To: Steven Rostedt Cc: Linus Torvalds , Waiman Long , Ingo Molnar , Benjamin Herrenschmidt , Alexander Viro , Jeff Layton , Miklos Szeredi , Ingo Molnar , Thomas Gleixner , linux-fsdevel , Linux Kernel Mailing List , Peter Zijlstra , Andi Kleen , "Chandramouleeswaran, Aswin" , "Norton, Scott J" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1045 Lines: 31 On Fri, Aug 30, 2013 at 6:12 PM, Steven Rostedt wrote: > On Fri, 30 Aug 2013 17:38:47 +0200 > Sedat Dilek wrote: > > >> A Samsung series-5 ultrabook. >> >> $ grep "model name" /proc/cpuinfo | uniq >> model name : Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz > > I believe the number of CPUs is more important. But as this is an > ultrabook, I doubt that is very high. > Fantastic Four. > Now I know this isn't going to be popular, but I'll suggest it anyway. > What about only implementing the lockref locking when CPUs are greater > than 7, 7 or less will still use the normal optimized spinlocks. > I have seen that spinlock-lockref stuff is more important on that monster-machines. It's good to see it does not break "smaller" systems. - Sedat - -- 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/