From be0424155138c3b7dc5bb9db6fae38f5ddd36e79 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mario=20Bl=C3=A4ttermann?= Date: Mon, 10 Apr 2023 16:34:08 +0200 Subject: [PATCH] taskset: (man) Fix typos and use correct markup --- schedutils/taskset.1.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/schedutils/taskset.1.adoc b/schedutils/taskset.1.adoc index 56084fd3c5..056b1ca301 100644 --- a/schedutils/taskset.1.adoc +++ b/schedutils/taskset.1.adoc @@ -94,7 +94,7 @@ Or set it{colon}:: *taskset -p* _mask pid_ //TRANSLATORS: Keep {colon} untranslated. -When a cpu-list is specified for an existing process, the 'p' and 'c' options must be grouped together{colon}:: +When a cpu-list is specified for an existing process, the *-p* and *-c* options must be grouped together{colon}:: *taskset -pc* _cpu-list pid_ //TRANSLATORS: Keep {colon} untranslated. @@ -107,9 +107,9 @@ A user can change the CPU affinity of a process belonging to the same user. A us == RETURN VALUE -*Taskset* returns 0 in its affinity-getting mode as long as the provided PID exists. +*taskset* returns 0 in its affinity-getting mode as long as the provided PID exists. -*Taskset* returns 0 in its affinity-setting mode as long as the underlying *sched_setaffinity()* system call does. The success of the command does not guarantee that the specified thread has actually migrated to the indicated CPU(s), but only that the thread will not migrate to a CPU outside the new affinity mask. For example, the affinity of the kernel thread kswapd can be set, but the thread may not immediately migrate and is not guaranteed to ever do so: +*taskset* returns 0 in its affinity-setting mode as long as the underlying *sched_setaffinity*(2) system call does. The success of the command does not guarantee that the specified thread has actually migrated to the indicated CPU(s), but only that the thread will not migrate to a CPU outside the new affinity mask. For example, the affinity of the kernel thread kswapd can be set, but the thread may not immediately migrate and is not guaranteed to ever do so: $ ps ax -o comm,psr,pid | grep kswapd + kswapd0 4 82 + -- 2.47.3