From: Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>
To: manfred@colorfullife.com
Cc: linux-kernel@vger.kernel.org, uweigand@de.ibm.com,
schwidefsky@de.ibm.com
Subject: Re: [PATCH] flush_cache_page while pte valid
Date: Tue, 12 Nov 2002 02:08:46 +0100 (MET) [thread overview]
Message-ID: <200211120108.CAA05101@faui11.informatik.uni-erlangen.de> (raw)
Manfred Spraul wrote:
>Is it correct that this are 3 arch hooks that must appear back to back?
>What about one hook with all parameters?
>
> pte = ptep_get_and_clear_and_flush(ptep, vma, address);
This interface would help us on s390 very much. We have a hardware
instruction (INVALIDATE PAGE TABLE ENTRY) that implements the combination
of
pte = ptep_get_and_clear(ptep);
flush_tlb_page(vma, address);
very efficiently, but we cannot use it to implement flush_tlb_page
alone, because it requires the pte to be valid.
This is why our current in-tree flush_tlb_page is quite inefficient
(it always flushes the complete TLB) ...
If we had a combined hook, we could use our IPTE instruction.
Bye,
Ulrich
--
Dr. Ulrich Weigand
weigand@informatik.uni-erlangen.de
next reply other threads:[~2002-11-12 1:02 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-12 1:08 Ulrich Weigand [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-12 21:32 Ulrich Weigand
2002-11-12 20:53 Manfred Spraul
2002-11-12 22:01 ` David S. Miller
2002-11-11 21:20 Manfred Spraul
2002-11-12 0:37 ` Russell King
2002-11-11 18:25 Hugh Dickins
2002-11-11 18:35 ` Andrew Morton
2002-11-11 23:19 ` David S. Miller
2002-11-12 6:53 ` Hugh Dickins
2002-11-12 6:53 ` David S. Miller
2002-11-12 14:49 ` Rik van Riel
2002-11-12 21:45 ` David S. Miller
2002-11-12 17:43 ` Hugh Dickins
2002-11-12 21:51 ` David S. Miller
2002-11-12 22:59 ` Hugh Dickins
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=200211120108.CAA05101@faui11.informatik.uni-erlangen.de \
--to=weigand@immd1.informatik.uni-erlangen.de \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
--cc=schwidefsky@de.ibm.com \
--cc=uweigand@de.ibm.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
all inboxes | Powered by JetHome®