[PATCH] glibc: Remove CPU set size checking from affinity functions [BZ #19143]
Florian Weimer
fweimer@redhat.com
Tue Nov 24 16:39:00 GMT 2015
On 11/04/2015 09:17 PM, Florian Weimer wrote:
> On 10/23/2015 04:00 PM, Florian Weimer wrote:
>> 2015-10-23 Florian Weimer <fweimer@redhat.com>
>>
>> [BZ #19143]
>> [BZ #19164]
>> * nptl/check-cpuset.h: Remove.
>> * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
>> Remove CPU set size check.
>> * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
>> Likewise.
>> * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
>> * sysdeps/unix/sysv/linux/pthread_setaffinity.c
>> (__kernel_cpumask_size, __determine_cpumask_size): Remove.
>> (__pthread_setaffinity_new): Remove CPU set size check.
>> * sysdeps/unix/sysv/linux/sched_setaffinity.c
>> (__kernel_cpumask_size): Remove.
>> (__sched_setaffinity_new): Remove CPU set size check.
>> * manual/threads.texi (Default Thread Attributes): Remove stale
>> reference to check_cpuset_attr, determine_cpumask_size in comment.
>> * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
>> Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
>> [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
>> tst-thread-affinity-pthread2, tst-thread-affinity-sched.
>> * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
>> * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
>> * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
>> * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
>> * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
>> * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
>> * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
>> skeleton test file.
>> * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
>> tst-affinity-pid.
>
> Ping?
>
> Unfortunately, I didn't get *any* feedback from the kernel people I
> Cc:ed. There is very little traffic on the cgroups is list in general,
> though.
I have committed this. I believe all glibc-specific issues have been
addressed, and the technical contents was no longer in dispute.
Thanks,
Florian
More information about the Libc-alpha
mailing list