Re: [PATCH v2 0/3] riscv: misaligned: fix misaligned accesses handling in put/get_user()
From: David Laight
Date: Mon Jun 02 2025 - 17:09:05 EST
On Mon, 2 Jun 2025 21:39:13 +0200
Clément Léger <cleger@xxxxxxxxxxxx> wrote:
...
> The second solution was the one chosen as there are too many callsites to
> put/get_user() that could potentially do misaligned accesses. We tried
> two approaches for that, either split access in two aligned accesses
> (and do RMW for put_user())
You can't do RMW because it is visible to other threads.
David