Linux-RISC-V Archive on lore.kernel.org
 help / color / mirror / Atom feed
* question about arch/riscv/kvm/mmu.c
@ 2022-03-16 21:10 Julia Lawall
  2022-03-31  5:52 ` Palmer Dabbelt
  2022-03-31  6:36 ` Anup Patel
  0 siblings, 2 replies; 4+ messages in thread
From: Julia Lawall @ 2022-03-16 21:10 UTC (permalink / raw)
  To: kvm-riscv, kvm, linux-riscv, anup

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-31  8:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-16 21:10 question about arch/riscv/kvm/mmu.c Julia Lawall
2022-03-31  5:52 ` Palmer Dabbelt
2022-03-31  6:36 ` Anup Patel
2022-03-31  8:02   ` Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox