public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Question] smp_wmb() in prepare_uprobe()
@ 2018-11-21 22:41 Andrea Parri
  2018-11-22 12:36 ` Oleg Nesterov
  0 siblings, 1 reply; 5+ messages in thread
From: Andrea Parri @ 2018-11-21 22:41 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Alexander Shishkin, Jiri Olsa, Namhyung Kim, Oleg Nesterov
  Cc: linux-kernel

Hi,

The comment for the smp_wmb() in prepare_uprobe() says:

  "pairs with rmb() in find_active_uprobe()"

but I see no (smp_)rmb() in find_active_uprobe(); I see the smp_rmb() in
handle_swbp(): is this the intended pairing barrier?

Which memory accesses do you want to "order" with this pairing?

Thanks,
  Andrea

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

end of thread, other threads:[~2018-11-22 15:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-21 22:41 [Question] smp_wmb() in prepare_uprobe() Andrea Parri
2018-11-22 12:36 ` Oleg Nesterov
2018-11-22 13:44   ` Andrea Parri
2018-11-22 15:05     ` Oleg Nesterov
2018-11-22 15:45       ` Andrea Parri

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