Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755071AbYCYMIz (ORCPT ); Tue, 25 Mar 2008 08:08:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753621AbYCYMIs (ORCPT ); Tue, 25 Mar 2008 08:08:48 -0400 Received: from smtp-out03.alice-dsl.net ([88.44.63.5]:47332 "EHLO smtp-out03.alice-dsl.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753341AbYCYMIs (ORCPT ); Tue, 25 Mar 2008 08:08:48 -0400 To: "Robert P. J. Day" Cc: Linux Kernel Mailing List , Andrew Morton Subject: Re: [PATCH] RWSEM: Rewrite rwsem.c and rwsem-spinlock.c more simply. References: From: Andi Kleen Date: 25 Mar 2008 13:08:45 +0100 In-Reply-To: Message-ID: <87skyfgg4y.fsf@basil.nowhere.org> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 25 Mar 2008 12:02:08.0256 (UTC) FILETIME=[0CD0F000:01C88E70] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 570 Lines: 10 "Robert P. J. Day" writes: > Rewrite these source files more simply by deleting the superfluous > "tsk" task_struct pointer and rephrasing in terms of the "current" > task pointer. This is likely a code pessimization because "current" is inline assembler and many gcc versions cannot CSE it. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/