]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-execute: use CPUSet too
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 28 May 2019 19:38:41 +0000 (21:38 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 29 May 2019 08:29:28 +0000 (10:29 +0200)
commit167a776dbe9d033523bd6881e5a695f2155dc321
tree34cdc15be5e1ff66c745a2aafb47bdd1f9cfff84
parentfb39af4ce42d7ef9af63009f271f404038703704
test-execute: use CPUSet too

cpu_set_malloc() was the last user. It doesn't seem useful to keep
it just to save the allocation of a few hundred bytes in a test, so
it is dropped and a fixed maximum is allocated (1024 bytes).
src/shared/cpu-set-util.c
src/shared/cpu-set-util.h
src/test/test-execute.c