Re: [RFC PATCH for 5.8 1/4] sched: Fix unreliable rseq cpu_id for new tasks

2020-07-07 Thread Mathieu Desnoyers
- On Jul 7, 2020, at 3:30 AM, Florian Weimer f...@deneb.enyo.de wrote: > * Mathieu Desnoyers: > >> While integrating rseq into glibc and replacing glibc's sched_getcpu >> implementation with rseq, glibc's tests discovered an issue with >> incorrect __rseq_abi.cpu_id field value right after th

Re: [RFC PATCH for 5.8 1/4] sched: Fix unreliable rseq cpu_id for new tasks

2020-07-07 Thread Florian Weimer
* Mathieu Desnoyers: > While integrating rseq into glibc and replacing glibc's sched_getcpu > implementation with rseq, glibc's tests discovered an issue with > incorrect __rseq_abi.cpu_id field value right after the first time > a newly created process issues sched_setaffinity. > > For the record

[RFC PATCH for 5.8 1/4] sched: Fix unreliable rseq cpu_id for new tasks

2020-07-06 Thread Mathieu Desnoyers
While integrating rseq into glibc and replacing glibc's sched_getcpu implementation with rseq, glibc's tests discovered an issue with incorrect __rseq_abi.cpu_id field value right after the first time a newly created process issues sched_setaffinity. For the records, it triggers after building gli