[Top] [All Lists]

Re: thread-ready ABIs

To: (Daniel Jacobowitz)
Subject: Re: thread-ready ABIs
From: Alan Cox <>
Date: Sun, 27 Jan 2002 20:24:36 +0000 (GMT)
Cc: (Kevin D. Kissell), (Dominic Sweetman), (Ralf Baechle), (Ulrich Drepper), (Mike Uhler), ("MIPS/Linux List (SGI)"), (H . J . Lu)
In-reply-to: <> from "Daniel Jacobowitz" at Jan 22, 2002 12:13:30 PM
> Which it is.  Fork shares no memory regions; vfork/clone share all
> memory regions.  AFAIK there is no share-heap-but-not-stack option in
> Linux.

Thats a design decision. At the point you don't have identical mappings for
both threads you need two sets of page tables and you take all the
performance hits that go with changing current tables on a schedule.

Its a lot cheaper to use a different %esp for each thread

<Prev in Thread] Current Thread [Next in Thread>