[PATCH 14/14] arm64/fpsimd: signal: Simplify preserve_tpidr2_context()

Mark Brown broonie at kernel.org
Fri Apr 4 11:51:09 PDT 2025


On Fri, Apr 04, 2025 at 06:44:35PM +0100, Mark Rutland wrote:
> During a context-switch, tls_thread_switch() reads and writes a task's
> thread_struct::tpidr2_el0 field. Other code shouldn't access this field
> for an active task, as such accesses would form a data-race with a
> concurrent context-switch.

Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250404/84b7b412/attachment.sig>


More information about the linux-arm-kernel mailing list