On Thu, Sep 24, 2026 at 03:49:14PM -0500, Bill Roberts wrote: > On 10/6/26 10:15 AM, Mark Brown wrote:
> > I was intending to do something soon to pull more of this code out into > > some shared place since especially for RISC-V and arm64 where they're > > using the prctl() rather than arch_prctl() interface so there's less > > reason for things to be duplicated. > Bear in mind that I do have patches out there, for x86 that enable prctl > for them as well. I looked into doing the lock check in the prctl call path > before > it gets dispatched to the arch specific backend, it does require a common > interface > into the threads feature bits that each arch would need to, trivially, > implement. Yeah, it'd be great if that could land and we could hopefully eventually end up with a shared interface for userspace. We'd still need some arch hooks no matter what, but the userspace experience would be much more pleasant.
signature.asc
Description: PGP signature

