Re: 2.2.5 optimizations for web benchmarks?

Steve Dodd (dirk@loth.demon.co.uk)
Tue, 27 Apr 1999 13:26:48 +0100


On Tue, Apr 27, 1999 at 12:07:30AM +0100, Alan Cox wrote:

> > So are you saying that a "thread" context switch is less painful than
> > a "process"?
>
> If you are sharing the virtual memory space it means you don't take a TLB
> flush

Stupid question:

Does the scheduler prefer processes which share vm space with the current task?
As I see it, threads are just special processes, so the scheduler may just
switch to a completely different process anyway and incur the TLB flush.

-- 
If it's tourist season, why can't we shoot them?

- 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/