Re: Possible race in fork()

Tom Eastep (eastep@loc1.tandem.com)
Mon, 25 Jan 1999 21:11:49 +0000


This is a multi-part message in MIME format.
--------------42D6674D7C27843AFA9D5305
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dick,

"Richard B. Johnson" wrote:
>
> Hi!
> On a system at home I had a consitant problem trying to set the
> terminal speed after a fork(). It was traced to the fact that
> a termios structure, set by the parent, was being corrupted during
> the fork().
>
> I have written a test program that shows this problem without using
> any termios stuff, just malloc()ed memory. The problem does not
> occur with a machine here at work (same CPUs, same CPU board), but
> 128Mb of memory. Both are dual pentium 400MHz SMP machines.
>

I just ran your program on my SMP PPro 150 with both 32mb and 128mb.
Runs fine in both cases.

-Tom

-- 
Tom Eastep
Compaq Computer Corporation
Enterprise Computing Group
Tandem Division
tom.eastep@compaq.com
--------------42D6674D7C27843AFA9D5305
Content-Type: text/x-vcard; charset=us-ascii;
 name="eastep.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Tom Eastep
Content-Disposition: attachment;
 filename="eastep.vcf"

begin:vcard n:Eastep;Tom x-mozilla-html:TRUE org:Compaq Computer Corporation;Tandem Division adr:;;;;;; version:2.1 email;internet:tom.eastep@compaq.com x-mozilla-cpt:;-6528 fn:Tom Eastep end:vcard

--------------42D6674D7C27843AFA9D5305--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/