From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755339AbZE3XCz (ORCPT ); Sat, 30 May 2009 19:02:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752504AbZE3XCr (ORCPT ); Sat, 30 May 2009 19:02:47 -0400 Received: from oblivion.subreption.com ([66.240.236.22]:33048 "EHLO mail.subreption.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750970AbZE3XCr (ORCPT ); Sat, 30 May 2009 19:02:47 -0400 Date: Sat, 30 May 2009 16:00:22 -0700 From: "Larry H." To: Linus Torvalds Cc: linux-mm@kvack.org, Alan Cox , Rik van Riel , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Change ZERO_SIZE_PTR to point at unmapped space Message-ID: <20090530230022.GO6535@oblivion.subreption.com> References: <20090530192829.GK6535@oblivion.subreption.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Subreption LLC Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15:29 Sat 30 May , Linus Torvalds wrote: > > > On Sat, 30 May 2009, Larry H. wrote: > > > > The ZERO_OR_NULL_PTR macro is changed accordingly. This patch does > > not modify its behavior nor has any performance nor functionality > > impact. > > I'm sure it makes a code generation difference, with (a) big constants and > (b) no longer possible to merge the conditional into one single one. Like I said in the reply to Peter, this is 3 extra bytes for amd64 with gcc 4.3.3. I can't be bothered to check other architectures at the moment. Larry