Re: [PATCHv2 0/4] tools/memory-model: Define more of LKMM in tools/memory-model
From: Alan Stern
Date: Fri Jun 07 2024 - 21:00:21 EST
On Wed, Jun 05, 2024 at 09:58:42PM +0200, Jonas Oberhauser wrote:
>
>
> Am 6/4/2024 um 7:56 PM schrieb Alan Stern:
> > Just to clarify: Your first step encompasses patches 1 - 3, and the
> > second step is patch 4. The first three patches can be applied now, but
> > the last one needs to wait until herd7 has been updated. Is this all
> > correct?
>
> Exactly.
With regard to patch 4, how much thought have you and Hernan given to
backward compatibility? Once herd7 is changed, old memory model files
will no longer work correctly.
To avoid being so disruptive, perhaps the changes to herd7 should be
under control of a new command-line or config-file switch. If the
switch is enabled, the new simplified code gets used; otherwise herd7
would continue to use its old built-in rules for special tags.
Alan