Messages in this thread | | | Date | Sat, 11 Sep 1999 11:23:11 -0700 | From | Larry McVoy <> | Subject | Re: 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/
| |