Re: [RFC PATCH v11 for 4.15 01/24] Restartable sequences system call

From: Ben Maurer
Date: Tue Nov 14 2017 - 15:41:30 EST


>       int rseq(struct rseq * rseq, uint32_t rseq_len, int flags, uint32_t sig);

Really dumb question -- and one I'm sorry to bring up at the last minute. Should we consider making the syscall name something more generic "register_tls_abi"? I'm assuming that if we ever want to use a per-thread userspace/kernel ABI we'll want to use this field given the difficulty of getting adoption of registration, the need to involve glibc, etc. It seems like there could be future use cases of this TLS area that have nothing to do with rseq.