From: Julia Lawall <julia.lawall@inria.fr>
To: kvm-riscv@lists.infradead.org, kvm@vger.kernel.org,
linux-riscv@lists.infradead.org, anup@brainfault.org
Subject: question about arch/riscv/kvm/mmu.c
Date: Wed, 16 Mar 2022 22:10:06 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.22.394.2203162205550.3177@hadrien> (raw)
Hello,
The function kvm_riscv_stage2_map contains the code:
mmu_seq = kvm->mmu_notifier_seq;
I noticed that in every other place in the kernel where the
mmu_notifier_seq field is read, there is a read barrier after it. Is
there some reason why it is not necessary here?
thanks,
julia
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next reply other threads:[~2022-03-16 21:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-16 21:10 Julia Lawall [this message]
2022-03-31 5:52 ` question about arch/riscv/kvm/mmu.c Palmer Dabbelt
2022-03-31 6:36 ` Anup Patel
2022-03-31 8:02 ` Julia Lawall
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=alpine.DEB.2.22.394.2203162205550.3177@hadrien \
--to=julia.lawall@inria.fr \
--cc=anup@brainfault.org \
--cc=kvm-riscv@lists.infradead.org \
--cc=kvm@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
/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