Re: [PATCH v5 00/17] Reference count checker and related fixes
From: Adrian Hunter
Date: Tue Apr 04 2023 - 13:29:35 EST
On 4/04/23 18:58, Ian Rogers wrote:
> Ping. It would be nice to have this landed or at least the first 10
> patches that refactor the map API and are the bulk of the
> lines-of-code changed. Having those landed would make it easier to
> rebase in the future, but I also think the whole series is ready to
> go.
I was wondering if the handling of dynamic data like struct map makes
any sense at present. Perhaps someone can reassure me.
A struct map can be updated when an MMAP event is processed. So it
seems like anything racing with event processing is already broken, and
reference counting / locking cannot help - unless there is also
copy-on-write (which there isn't at present)?
For struct maps, referencing it while simultaneously processing
events seems to make even less sense?