From: Martin Dalecki <dalecki@evision-ventures.com>
To: Andrea Arcangeli <andrea@suse.de>
Cc: Linus Torvalds <torvalds@transmeta.com>, linux-kernel@vger.kernel.org
Subject: Re: Q: backport of the free_pgtables tlb fixes to 2.4
Date: Thu, 23 May 2002 21:53:44 +0200 [thread overview]
Message-ID: <3CED48C8.80406@evision-ventures.com> (raw)
In-Reply-To: <20020523195757.GW21164@dualathlon.random> <Pine.LNX.4.33.0205231300530.4338-100000@penguin.transmeta.com> <20020523204101.GY21164@dualathlon.random>
Uz.ytkownik Andrea Arcangeli napisa?:
> What I don't understand is how the BTB can invoke random userspace tlb
> fills when we are running do_munmap, there's no point at all in doing
> that. If the cpu see a read of an user address after invalidate_tlb,
> the tlb must not be started because it's before an invalidate_tlb.
>
> And if it's true not even irq are barriers for the tlb fills invoked by
> this p4-BTB thing, so if leave_mm is really necessary, then 2.5 is as
> well wrong in UP, because the pagetable can be scribbled by irqs in a UP
> machine, and so the fastmode must go away even in 1 cpu systems.
I for one would be really really surprised if the execution of an
interrupt isn't treating the BTB specially. If one reads
about CPU validation "exception handling" aka irq handling
is something that is paramount there. Hard to beleve they
would implement software IRQ commands by not just toggling the
IRQ input line of the chip themself. This safes testing.
But it may be as well indeed just "accidental" that system
call gates are implemented on recent ia32 systems by an op code
which belongs to the IRQ handling family...
next prev parent reply other threads:[~2002-05-23 20:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-23 5:14 Q: backport of the free_pgtables tlb fixes to 2.4 Andrea Arcangeli
2002-05-23 6:01 ` Linus Torvalds
2002-05-23 19:57 ` Andrea Arcangeli
2002-05-23 20:05 ` Linus Torvalds
2002-05-23 20:41 ` Andrea Arcangeli
2002-05-23 19:53 ` Martin Dalecki [this message]
2002-05-23 21:15 ` Andrea Arcangeli
2002-05-23 20:40 ` Martin Dalecki
2002-05-23 22:04 ` Linus Torvalds
2002-05-23 23:22 ` Andrea Arcangeli
2002-05-23 23:51 ` Linus Torvalds
2002-05-24 0:27 ` Andrea Arcangeli
-- strict thread matches above, loose matches on Subject: below --
2002-05-31 13:19 Roland Fehrenbacher
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=3CED48C8.80406@evision-ventures.com \
--to=dalecki@evision-ventures.com \
--cc=andrea@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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