> +         my $cores = POSIX::sysconf(84);

I wonder if we should add the constant name _SC_NPROCESSORS_ONLN
somewhere in pve-common, though, instead of using the literal 84.
Though I guess as long as it's  only used once...
(A comment stating that it actually is _SC_NPROCESSORS_ONLN would be
good though.)

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to