From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161083AbcA0UfH (ORCPT ); Wed, 27 Jan 2016 15:35:07 -0500 Received: from g1t6223.austin.hp.com ([15.73.96.124]:37914 "EHLO g1t6223.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934374AbcA0UfA (ORCPT ); Wed, 27 Jan 2016 15:35:00 -0500 Message-ID: <56A929EB.7010701@hpe.com> Date: Wed, 27 Jan 2016 15:34:51 -0500 From: Waiman Long User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130109 Thunderbird/10.0.12 MIME-Version: 1.0 To: Andi Kleen 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> <87vb6gc8ya.fsf@tassilo.jf.intel.com> In-Reply-To: <87vb6gc8ya.fsf@tassilo.jf.intel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/26/2016 04:44 PM, Andi Kleen wrote: > 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 You are probably right. I will look into that. Cheers, Longman