lkml.org 
[lkml]   [1999]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux threads vs. solaris threads
On Sat, Sep 11, 1999 at 03:36:40AM -0700, David S. Miller wrote:
> Date: Sat, 11 Sep 1999 02:50:04 -0700
> From: Larry McVoy <lm@bitmover.com>
>
> Almost all (maybe 100%) modern hardware has context ids in the TLB.
>
> Unfortunately, the cpu with the largest market share, x86, does not.
>
> So if you aren't context switching between threads sharing the same
> address space, the whole TLB is in fact flushed.

So to get the numbers that you want on linux, just change the fork to
clone and away you go - it shares the VM. No flushing.
--
---
Larry McVoy lm@bitmover.com http://www.bitmover.com/lm

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

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.049 / U:1.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site