Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 21 Nov 2022 16:51:49 +0800
From: "兔子猪" <>
To: "musl" <>
Subject: about sysconf(_SC_NPROCESSORS_CONF) issue


currently, we use "sysconf(_SC_NPROCESSORS_CONF)" to get the number of the CPU,&nbsp; and the musl implements this function by SYS_sched_getaffinity system call,&nbsp; when some of CPUs are isolated, the return value is not correct.

I have searched the history maillist of musl and found the same issue:&nbsp;,&nbsp; but there is no final conclusion. I wonder why musl is doing this?

I'm Looking forward to your reply, Thanks.

Tony Gan
Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.