public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Gregory Maxwell <greg@linuxpower.cx>,
	Michael Rothwell <rothwell@holly-springs.nc.us>,
	linux-kernel@vger.kernel.org
Subject: Re: high load & poor interactivity on fast thread creation
Date: Wed, 27 Dec 2000 20:43:42 +0100	[thread overview]
Message-ID: <20001227204342.D19378@athlon.random> (raw)
In-Reply-To: <3A266895.F522A0E2@austin.ibm.com> <20001130081443.A8118@bach.iverlek.kotnet.org> <3A266895.F522A0E2@austin.ibm.com> <4.3.2.7.2.20001227110018.00e5ba90@cam-pop.cambridge.arm.com> <3A4A22A8.D434B7F@holly-springs.nc.us> <20001227122508.A29579@xi.linuxpower.cx> <20001227093236.A1409@work.bitmover.com>
In-Reply-To: <20001227093236.A1409@work.bitmover.com>; from lm@bitmover.com on Wed, Dec 27, 2000 at 09:32:36AM -0800

On Wed, Dec 27, 2000 at 09:32:36AM -0800, Larry McVoy wrote:
> [..] You do
> pay a price for not sharing TLB entries if the OS is stupid (Linux' is
> not).

Even assuming all segments are attached at the same virtual address on all MM
(this can be enforced with MAP_FIXED of course), we can't use the same tlb
entries for accessing the same shared sement from different MM. That's not even
possible on hardware with address space numbers (on x86 it's obvious it's not
possible even with future x86 chips that can tag the TLB entries
with the phisical address of the pgd to skip the full tlb flush during
switch_mm).

I think the main point of using threads instead of shared mappings is
performance.

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

  reply	other threads:[~2000-12-27 20:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-30  7:14 high load & poor interactivity on fast thread creation Arnaud Installe
2000-11-30 14:47 ` Ray Bryant
2000-11-30 16:11   ` Arnaud Installe
2000-11-30 16:37     ` James A Sutherland
2000-12-27 11:01   ` Ruth Ivimey-Cook
2000-12-27 17:11     ` Michael Rothwell
2000-12-27 17:25       ` Gregory Maxwell
2000-12-27 17:32         ` Larry McVoy
2000-12-27 19:43           ` Andrea Arcangeli [this message]
2000-11-30 16:12 ` Alan Cox
2000-11-30 23:00 ` David Lang
2000-12-01  9:47   ` Arnaud Installe
2000-12-01 21:20     ` David Lang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001227204342.D19378@athlon.random \
    --to=andrea@suse.de \
    --cc=greg@linuxpower.cx \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rothwell@holly-springs.nc.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox