[PATCH 1/2] nptl: Remove __ASSUME_SET_ROBUST_LIST

Florian Weimer fweimer@redhat.com
Wed Apr 19 05:37:00 GMT 2017


On 04/18/2017 11:13 PM, Adhemerval Zanella wrote:
> This patch removes the __ASSUME_SET_ROBUST_LIST usage on nptl generic
> code.  The set_robust_list availability is defined by '__set_robust_list_avail'
> which is now defined regardless.  Its initial value is set to -1 and
> defined to a positive value if both __NR_set_robust_list is defined
> and the syscall returns correctly.

I think we should drop support for kernels without set_robust_list.  We 
really need something like robust mutex support for liveness detection 
of the nscd mappings.  Making POSIX robust mutexes conditionally 
supported is awkward, and the fact that some architectures may lack 
support for them is undocumented.  Application programmers will not 
expect this.

Thanks,
Florian



More information about the Libc-alpha mailing list