On Fri, Oct 20, 2023 at 11:29:24AM +0200, Jonas Oberhauser wrote:
Am 10/19/2023 um 6:39 PM schrieb Paul E. McKenney:This was a verbal discussion with Richard Smith at the 2020 C++ Standards
On Wed, Oct 18, 2023 at 12:11:58PM +0200, Jonas Oberhauser wrote:TIL :) Btw, do you remember a discussion where this is clarified? A quick
Hi Paul,The compiler is forbidden from inventing pointer comparisons.
[...]
search didn't turn up anything.
Committee meeting in Prague. I honestly do not know what standardese
supports this.
The question is instead what parts that are still relevant are missingBest wishes,The old smp_read_barrier_depends() that these section cover really
jonas
Am 10/6/2023 um 6:39 PM schrieb Jonas Oberhauser:
Hi Paul,
The "more up-to-date information" makes it sound like (some of) the
information in this section is out-of-date/no longer valid.
does no longer exist.
(and the parts that are still there are all still relevant, while the parts
that only the authors know was intended to be there and is out-of-date is
already gone).
from rcu_dereference.rst.
So I would add a disclaimer specifying that (since 4.15) *all* markedOr maybe it is now time to remove those sections from memory-barriers.txt,
accesses imply read dependency barriers which resolve most of the issues
mentioned in the remainder of the article.
However, some issues remain because the dependencies that are preserved by
such barriers are just *semantic* dependencies, and readers should check
rcu_dereference.rst for examples of what that implies.
leaving only the first section's pointer to rcu_dereference.rst.
It still feels a bit early to me, and I am still trying to figure out
why you care so much about these sections. ;-)
Some compromise is needed for people that read the document some timeThe longer-term direction, perhaps a few years from now, is for theSounds good to me, but that doesn't mean we need to compromise the
first section to simply reference rcu_dereference.rst and for the second
section to be removed completely.
readability in the interim :)
back and are looking for something specific.