[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH v2 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. Changes since v1: *) Fixed checkpath erros & added comments Vlad-Andrei BĂDOIU (78692) (2): lib/nolibc: Add _SC_NPROCESSORS_ONLN define lib/uksysinfo: Implement sysconf check for _SC_NPROCESSORS_ONLN lib/nolibc/include/unistd.h | 6 ++++++ lib/uksysinfo/sysinfo.c | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) -- 2.21.0 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |