Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756271AbcDGOKy (ORCPT ); Thu, 7 Apr 2016 10:10:54 -0400 Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:36322 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755832AbcDGOKx (ORCPT ); Thu, 7 Apr 2016 10:10:53 -0400 Date: Thu, 7 Apr 2016 15:10:17 +0100 From: One Thousand Gnomes To: Andi Kleen Cc: zengzhaoxiu@163.com, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, dvlasenk@redhat.com, bp@suse.de, akpm@linux-foundation.org, dvyukov@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, Zhaoxiu Zeng Subject: Re: [PATCH v2 10/30] Add x86-specific parity functions Message-ID: <20160407151017.3d8b1a86@lxorguk.ukuu.org.uk> In-Reply-To: <87wpoay10o.fsf@tassilo.jf.intel.com> References: <57031D9D.801@gmail.com> <1459934085-7152-1-git-send-email-zengzhaoxiu@163.com> <87wpoay10o.fsf@tassilo.jf.intel.com> Organization: Intel Corporation X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 436 Lines: 16 On Wed, 06 Apr 2016 12:45:27 -0700 Andi Kleen wrote: > zengzhaoxiu@163.com writes: > > > From: Zhaoxiu Zeng > > > > Use alternatives, lifted from arch_hweight > > Is there actually anything performance critical in the kernel that uses > parity? On very low end devices some of the flash, but the implementation here is ironically pretty much worst-case for such x86 devices 8) Alan