From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751999AbcAZVoW (ORCPT ); Tue, 26 Jan 2016 16:44:22 -0500 Received: from mga14.intel.com ([192.55.52.115]:7977 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751184AbcAZVoT (ORCPT ); Tue, 26 Jan 2016 16:44:19 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,351,1449561600"; d="scan'208";a="869283457" 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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