This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: [RFC] [PATCH] sched_getaffinity() fails with -EINVAL
- From: Bert Wesarg <bert dot wesarg at googlemail dot com>
- To: Sharyathi Nagesh <sharyath at in dot ibm dot com>
- Cc: libc-help at sourceware dot org, suzuki <suzuki at in dot ibm dot com>, "Rishikesh K. Rajak" <risrajak at in dot ibm dot com>, "Carlos O'Donell" <carlos at systemhalted dot org>
- Date: Thu, 29 Oct 2009 09:00:57 +0100
- Subject: Re: [RFC] [PATCH] sched_getaffinity() fails with -EINVAL
- References: <4AD5AFAA.40107@in.ibm.com> <4AD85932.3000308@in.ibm.com> <4AE93B14.8080804@in.ibm.com>
On Thu, Oct 29, 2009 at 07:49, Sharyathi Nagesh <sharyath@in.ibm.com> wrote:
> Hi
> Â Â Â ÂThis is the patch I am proposing to fix the issue, I had mentioned
> earlier in this mailing list.
> Â Â Â ÂIs it possible to accommodate the patch in glibc ?
> Â Â Â Â Â Â Â ÂThis increased the CPU SETSIZE to reflect kernel
> capabilities. Other wise cpuset data structures will support only 1096 CPUS
> while kernel can do 4096.
>
> Â Â Â ÂLet me know your thoughts
Have you looked at the CPU_*_S() API introduces in glibc 2.7?
Bert
> Thanks
> Sharyathi
>
>
>