This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] sysconf: Use conservative default for _SC_NPROCESSORS_ONLN [BZ #21542]
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Sun, 25 Jun 2017 16:27:04 +0200
- Subject: Re: [PATCH] sysconf: Use conservative default for _SC_NPROCESSORS_ONLN [BZ #21542]
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 25F4488E60
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 25F4488E60
- References: <20170602142100.DA8D0404970C8@oldenburg.str.redhat.com>
On 06/02/2017 04:21 PM, Florian Weimer wrote:
> 2017-06-02 Florian Weimer <fweimer@redhat.com>
>
> [BZ #21542]
> * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
> two if no accurate information is available.
> * posix/tst-sysconf-empty-chroot.c: New file.
> * posix/Makefile (tests): Add it.
Any further comments? I'll commit this next week otherwise.
Thanks,
Florian