[Question] smp_wmb() in prepare_uprobe()

From: Andrea Parri
Date: Wed Nov 21 2018 - 17:41:32 EST


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