From: Carsten Emde <C.Emde@osadl.org>
To: util-linux@vger.kernel.org
Subject: [PATCH v2 0/1] Taskset: check first whether affinity is settable
Date: Sun, 07 Aug 2022 00:49:15 +0200 [thread overview]
Message-ID: <20220806224915.326517265@osadl.org> (raw)
Sorry, need v2, forgot that task commands may have spaces nowadays.
Current version successfully tested with various commands:
# taskset -p 3fff 3
pid 3's current affinity mask: ffff
warning: affinity cannot be set due to PF_NO_SETAFFINITY flag set
taskset: failed to set pid 3's affinity: Invalid argument
# Command "PCIe PME"
# taskset -p 3fff 191
pid 191's current affinity mask: 8
pid 191's new affinity mask: 3fff
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
next reply other threads:[~2022-08-06 23:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-06 22:49 Carsten Emde [this message]
2022-08-06 22:49 ` [PATCH v2 1/1] Taskset: check first whether affinity is settable Carsten Emde
2022-08-08 13:35 ` Karel Zak
2022-08-09 21:54 ` Carsten Emde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220806224915.326517265@osadl.org \
--to=c.emde@osadl.org \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).