Re: [PATCH] Change ZERO_SIZE_PTR to point at unmapped space

Larry H.
2009-05-30T23:02:48Z

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