This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: SMP-ix86-threads-fork: Linux 2.4.x kernel problem identified [phantom read()]
- To: Wolfram Gloger <wg at malloc dot de>
- Subject: Re: SMP-ix86-threads-fork: Linux 2.4.x kernel problem identified [phantom read()]
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 11 Sep 2001 20:53:59 -0700
- Cc: libc-alpha at sources dot redhat dot com
- References: <E15gSpt-0008PG-00@mrvdom01.schlund.de>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Good analysis, thanks. It really strange that this bug was still there.
Note that I've checked in a slightly different patch. It must be
sufficient to use TEMP_FAILURE_RETRY since all the communication is
with pipes. If read/write would produce short reads or writes
something would be wrong in the kernel.
Thanks,
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------