]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: Update man page documentation for CPUAffinity 1699/head
authorFilipe Brandenburger <filbranden@google.com>
Tue, 13 Oct 2015 07:12:39 +0000 (00:12 -0700)
committerFilipe Brandenburger <filbranden@google.com>
Wed, 28 Oct 2015 00:56:26 +0000 (17:56 -0700)
Document support for commas as a separator and possibility of specifying
ranges of CPU indices.

Tested by regenerating the manpages locally and reading them on man.

man/systemd-system.conf.xml
man/systemd.exec.xml

index 56db9ff17eb1bd9be573264802f976bf9553746a..8dad0e0f5930db11e00cbe222f99b8098af3fedc 100644 (file)
         <term><varname>CPUAffinity=</varname></term>
 
         <listitem><para>Configures the initial CPU affinity for the
-        init process. Takes a space-separated list of CPU
-        indices.</para></listitem>
+        init process. Takes a list of CPU indices or ranges separated
+        by either whitespace or commas. CPU ranges are specified by
+        the lower and upper CPU indices separated by a
+        dash.</para></listitem>
       </varlistentry>
 
       <varlistentry>
index d3f56fee408a467a3534bad433fd2083350bd621..5f99fa875eb12029915319319443af17f449a4df 100644 (file)
         <term><varname>CPUAffinity=</varname></term>
 
         <listitem><para>Controls the CPU affinity of the executed
-        processes. Takes a space-separated list of CPU indices. This
-        option may be specified more than once in which case the
+        processes. Takes a list of CPU indices or ranges separated by
+        either whitespace or commas. CPU ranges are specified by the
+        lower and upper CPU indices separated by a dash.
+        This option may be specified more than once in which case the
         specified CPU affinity masks are merged. If the empty string
         is assigned, the mask is reset, all assignments prior to this
         will have no effect. See