Re: [PATCH] Use __attribute__((malloc)) for gcc 3.2

From: Arjan van de Ven (arjanv@redhat.com)
Date: Mon Oct 07 2002 - 06:07:48 EST


On Mon, 2002-10-07 at 12:56, Andi Kleen wrote:
> On Mon, Oct 07, 2002 at 12:29:00PM +0200, David S. Miller wrote:
> > From: Richard Henderson <rth@twiddle.net>
> > 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.

I'm still in favor of doing it, even if it's just to break the
chick-and-egg deadlock that such issues can have.

Greetings,
  Arjan van de Ven



-
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/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:58 EST