]> git.ipfire.org Git - thirdparty/util-linux.git/commit
chcpu: Fix maximal number of CPUs
authorStanislav Brabec <sbrabec@suse.cz>
Wed, 9 May 2018 20:13:07 +0000 (22:13 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 10 May 2018 09:41:37 +0000 (11:41 +0200)
commit607274943bfd3d4856b872bc4278b36903fb2182
tree7492f5e5c3391ac04ae3f7163060605dc728cd0e
parent538b50cb0a4aac56b6b3b6e4d1e8ce886854c6d8
chcpu: Fix maximal number of CPUs

chcpu.c mixed maxcpus (number of cpus) and setsize (size of CPU bit
mask). It effectively limits number of CPUs to 1/8 of the supported
amount.

Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
Cc: Michael Matz <matz@suse.de>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
sys-utils/chcpu.c