[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH 0/2] Add check for _SC_NPROCESSORS_ONLN in sysconf



sysconf should return the number of processors currently available when
the _SC_NPROCESSORS_ONLN argument is passed. We return 1 as SMP is not
available on Unikraft.

Vlad-Andrei Badoiu (2):
  lib/nolibc: Add _SC_NPROCESSORS_ONLN define
  lib/uksysinfo: Implement sysconf check for _SC_NPROCESSORS_ONLN

 lib/nolibc/include/unistd.h | 1 +
 lib/uksysinfo/sysinfo.c     | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

-- 
2.21.0

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.