Date: Wed, 27 Jul 2022 01:28:29 -0500 From: Rob Landley <rob@...dley.net> To: musl@...ts.openwall.com Subject: sysconf(_SC_NPROCESSORS_CONF) broken. NPROCESSORS_CONF is supposed to show total processors, NPROCESSORS_ONLN shows available processors using the tasket mask sched_getaffinity()). Musl is (uniquely) using the getaffinity() version for both. Neither glibc nor bionic have that bug. Test: my laptop has 4 processors: $ taskset 7 nproc 3 $ taskset 7 nproc --all 4 With musl, both show 3. Rob
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.