From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Martin Schwidefsky <schwidefsky@de.ibm.com>,
Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux-mm@kvack.org
Subject: TLB flushes on s390
Date: Wed, 6 May 2015 14:29:39 +0300 [thread overview]
Message-ID: <20150506112939.GA17739@node.dhcp.inet.fi> (raw)
Hi,
I'm looking though s390 code around page table handling and I found that
in many places s390 does tlb flush before changing page table entry.
Let's look for instance on pmdp_clear_flush() implementation on s390.
It's implemented with pmdp_get_and_clear() which does pmdp_flush_direct()
*before* pmd_clear(). That's invert order comparing to generic
pmdp_flush_direct().
The question is what prevents tlb from being re-fill between flushing tlb
and clearing page table entry?
--
Kirill A. Shutemov
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2015-05-06 11:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-06 11:29 Kirill A. Shutemov [this message]
2015-05-06 12:00 ` Martin Schwidefsky
2015-05-06 12:50 ` Kirill A. Shutemov
2015-05-06 12:56 ` Martin Schwidefsky
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=20150506112939.GA17739@node.dhcp.inet.fi \
--to=kirill@shutemov.name \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-mm@kvack.org \
--cc=schwidefsky@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