Re: [PATCH] um: fix _nofault accesses

2025-04-04 Thread Nathan Chancellor
On Fri, Apr 04, 2025 at 05:05:19PM +0200, Johannes Berg wrote: > From: Johannes Berg > > Nathan reported [1] that when built with clang, the um kernel > crashes pretty much immediately. This turned out to be an issue > with the inline assembly I had added, when clang used %rax/%eax > for both ope

[PATCH] um: fix _nofault accesses

2025-04-04 Thread Johannes Berg
From: Johannes Berg Nathan reported [1] that when built with clang, the um kernel crashes pretty much immediately. This turned out to be an issue with the inline assembly I had added, when clang used %rax/%eax for both operands. Reorder it so current->thread.segv_continue is written first, and th