This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] glibc: Remove CPU set size checking from affinity functions [BZ #19143]
- From: Florian Weimer <fweimer at redhat dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 4 Nov 2015 21:17:23 +0100
- Subject: Re: [PATCH] glibc: Remove CPU set size checking from affinity functions [BZ #19143]
- Authentication-results: sourceware.org; auth=none
- References: <5621126E dot 5080801 at redhat dot com> <56252723 dot 6010407 at redhat dot com> <562A3D82 dot 5010907 at redhat dot com>
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.
(There is an extend_alloca removal hidden in there. :)
Florian