]> 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>
Wed, 11 Jul 2018 13:42:51 +0000 (15:42 +0200)
commit43afbce5609936cbc8e31778ad75dbef8f6569f6
treef1286941e1aafe7ec998a3681673ae62f51d8108
parent85605dcefb736791a849b2d59ad59f26c1f08acf
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