All of lore.kernel.org
 help / color / mirror / Atom feed
* Section 9.5: Nobody expects the Spanish Acquisition!
@ 2021-12-21 15:20 Elad Lahav
  2021-12-22  8:21 ` Akira Yokosawa
  0 siblings, 1 reply; 16+ messages in thread
From: Elad Lahav @ 2021-12-21 15:20 UTC (permalink / raw)
  To: perfbook

Hi Paul,

As promised, I have a potentially more interesting comment regarding
Section 9.5. Throughout this section, from the very first example, the
writer uses release semantics, but the readers are not obligated to
use acquire semantics, at least on sensible architectures (with
apologies to employees of HP nee Compaq nee Digital).

If I understand correctly, these relaxed semantics are the result of
an address dependency, with the data protected by the RCU critical
section residing in a structure whose address is stored by the pointer
dereferenced by a reader. The reader cannot consider any data outside
of this structure as protected by the critical section. This is a
critical point without which the examples won't work reliably.

Am I missing something? If not, I think that this point should be
emphasized early on, with a link to Section 15.2.3.

--Elad

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

end of thread, other threads:[~2022-01-06 21:15 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-21 15:20 Section 9.5: Nobody expects the Spanish Acquisition! Elad Lahav
2021-12-22  8:21 ` Akira Yokosawa
2021-12-22 12:15   ` Elad Lahav
2021-12-22 14:35     ` Akira Yokosawa
2021-12-22 18:19       ` Paul E. McKenney
     [not found]         ` <CAJbg=FUHcqEXE+MgXif0n=e09xYFoGFfmhjvY1=pnC6QCCRh2w@mail.gmail.com>
2021-12-23  2:29           ` Paul E. McKenney
2021-12-23 12:22             ` Akira Yokosawa
2021-12-23 12:46               ` Elad Lahav
2021-12-23 12:59                 ` Akira Yokosawa
2021-12-23 14:26                   ` Elad Lahav
2022-01-04  0:05                     ` Paul E. McKenney
2022-01-04  0:48                       ` Elad Lahav
2022-01-04 11:47                         ` Elad Lahav
2022-01-05  2:04                           ` Paul E. McKenney
2022-01-06 21:15                             ` Paul E. McKenney
2021-12-23 17:26                 ` Paul E. McKenney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.