]> git.ipfire.org Git - thirdparty/util-linux.git/commit
taskset: warn if affinity is not settable
authorKarel Zak <kzak@redhat.com>
Thu, 11 Aug 2022 08:59:40 +0000 (10:59 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 11 Aug 2022 08:59:40 +0000 (10:59 +0200)
commitadc72421f4db93bc9cd932bac2b0be8197a1d64f
tree156108b1ef22a4ffc8a10a842e863b96479c8ce9
parentc2ece66e6a7078edc11afd4f1a1a08de656564ee
taskset: warn if affinity is not settable

Let's read /proc/#/stat to get process flags and print warning
if the affinity is not settable.

Based on patch from Carsten.

Tested-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
schedutils/taskset.c