Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 7 Oct 2002 06:51:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 7 Oct 2002 06:51:14 -0400 Received: from zero.aec.at ([193.170.194.10]:29458 "EHLO zero.aec.at") by vger.kernel.org with ESMTP id ; Mon, 7 Oct 2002 06:51:13 -0400 Date: Mon, 7 Oct 2002 12:56:22 +0200 From: Andi Kleen To: "David S. Miller" Cc: rth@twiddle.net, jakub@redhat.com, ak@muc.de, torvalds@transmeta.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Use __attribute__((malloc)) for gcc 3.2 Message-ID: <20021007105622.GA24530@averell> References: <20020929152731.GA10631@averell> <20020929160113.K5659@devserv.devel.redhat.com> <20021007030541.A3910@twiddle.net> <20021007.032900.51704978.davem@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021007.032900.51704978.davem@redhat.com> User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 864 Lines: 21 On Mon, Oct 07, 2002 at 12:29:00PM +0200, David S. Miller wrote: > From: Richard Henderson > Date: Mon, 7 Oct 2002 03:05:41 -0700 > > On Sun, Sep 29, 2002 at 04:01:13PM -0400, Jakub Jelinek wrote: > > Does this matter when the kernel is compiled with -fno-strict-aliasing? > > Yes. The malloc attribute uses REG_NOALIAS, not alias sets. > > Great, I'm all for Andi's patch in that case. I retested it on gcc 3.2 and it unfortunately doesn't make any difference (resulting kernel is byte-for-byte identical). So it looks like with current gcc it isn't worth the effort. -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/