malloc patch for 2.2.4

Jakub Jelinek jakub@redhat.com
Wed Aug 22 03:14:00 GMT 2001


On Wed, Aug 22, 2001 at 12:04:29PM +0200, Andreas Schwab wrote:
> Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de> writes:
> 
> |> > Thanks, I've applied the patch.
> |> 
> |> Thanks.  However, I'm still seeing the fork/malloc SMP problem on my
> |> machine... :-(
> 
> I'd guess it's because the compiler has the full right to forget about the
> local variable and reload from the global one anyway.

Guess asm ("" : "=r" (hook) : "0" (hook)); before hook != NULL tests might
cure this though.

	Jakub



More information about the Libc-alpha mailing list