From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752679Ab0K0Omk (ORCPT ); Sat, 27 Nov 2010 09:42:40 -0500 Received: from mail.openrapids.net ([64.15.138.104]:43992 "EHLO blackscsi.openrapids.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752322Ab0K0Omi (ORCPT ); Sat, 27 Nov 2010 09:42:38 -0500 Date: Sat, 27 Nov 2010 09:42:35 -0500 From: Mathieu Desnoyers To: Christoph Lameter Cc: akpm@linux-foundation.org, Pekka Enberg , linux-kernel@vger.kernel.org, Eric Dumazet , Tejun Heo Subject: Re: [thisops uV2 01/10] percpucounter: Optimize __percpu_counter_add a bit through the use of this_cpu() options. Message-ID: <20101127144235.GB15365@Krystal> References: <20101126210937.383047168@linux.com> <20101126210949.557998171@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101126210949.557998171@linux.com> X-Editor: vi X-Info: http://www.efficios.com X-Operating-System: Linux/2.6.26-2-686 (i686) X-Uptime: 09:42:04 up 3 days, 19:45, 2 users, load average: 0.01, 0.02, 0.00 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Christoph Lameter (cl@linux.com) wrote: > The this_cpu_* options can be used to optimize __percpu_counter_add a bit. Avoids > some address arithmetic and saves 12 bytes. > Reviewed-by: Mathieu Desnoyers -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com