From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Andi Kleen To: Waiman Long Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Alexander Viro , linux-fsdevel@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Scott J Norton , Douglas Hatch Subject: Re: [RFC PATCH 2/3] lib/list_batch, x86: Enable list insertion/deletion batching in x86-64 References: <1453824219-51437-1-git-send-email-Waiman.Long@hpe.com> <1453824219-51437-3-git-send-email-Waiman.Long@hpe.com> Date: Tue, 26 Jan 2016 13:44:13 -0800 In-Reply-To: <1453824219-51437-3-git-send-email-Waiman.Long@hpe.com> (Waiman Long's message of "Tue, 26 Jan 2016 11:03:38 -0500") Message-ID: <87vb6gc8ya.fsf@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: Waiman Long writes: > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 330e738..443e41d 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -42,6 +42,7 @@ config X86 > select ARCH_SUPPORTS_NUMA_BALANCING if X86_64 > select ARCH_USE_BUILTIN_BSWAP > select ARCH_USE_CMPXCHG_LOCKREF if X86_64 > + select ARCH_USE_LIST_BATCHING if X86_64 I would make it unconditional. The code is simple enough and shouldn't have drawbacks on smaller systems. -Andi