mirror of https://github.com/mkerrisk/man-pages
cpuset.7: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e46256a48c
commit
4d1de263eb
|
@ -254,8 +254,8 @@ Regardless of the
|
||||||
.I mem_exclusive
|
.I mem_exclusive
|
||||||
setting, if one cpuset is the ancestor of another,
|
setting, if one cpuset is the ancestor of another,
|
||||||
then their memory nodes must overlap, because the memory
|
then their memory nodes must overlap, because the memory
|
||||||
nodes of any cpuset are always a subset of that cpuset's
|
nodes of any cpuset are always a subset of the memory nodes
|
||||||
parent cpuset.
|
of that cpuset's parent cpuset.
|
||||||
.\" ==================== mem_hardwall ====================
|
.\" ==================== mem_hardwall ====================
|
||||||
.TP
|
.TP
|
||||||
.IR mem_hardwall " (since Linux 2.6.26)"
|
.IR mem_hardwall " (since Linux 2.6.26)"
|
||||||
|
@ -620,14 +620,14 @@ of their parent.
|
||||||
Setting memory spreading causes allocations for the affected page or
|
Setting memory spreading causes allocations for the affected page or
|
||||||
slab caches to ignore the process's NUMA memory policy and be spread
|
slab caches to ignore the process's NUMA memory policy and be spread
|
||||||
instead.
|
instead.
|
||||||
However, the affect of these changes in memory placement
|
However, the effect of these changes in memory placement
|
||||||
caused by cpuset-specified memory spreading is hidden from the
|
caused by cpuset-specified memory spreading is hidden from the
|
||||||
.BR mbind (2)
|
.BR mbind (2)
|
||||||
or
|
or
|
||||||
.BR set_mempolicy (2)
|
.BR set_mempolicy (2)
|
||||||
calls.
|
calls.
|
||||||
These two NUMA memory policy calls always appear to behave as if
|
These two NUMA memory policy calls always appear to behave as if
|
||||||
no cpuset-specified memory spreading is in affect, even if it is.
|
no cpuset-specified memory spreading is in effect, even if it is.
|
||||||
If cpuset memory spreading is subsequently turned off, the NUMA
|
If cpuset memory spreading is subsequently turned off, the NUMA
|
||||||
memory policy most recently specified by these calls is automatically
|
memory policy most recently specified by these calls is automatically
|
||||||
re-applied.
|
re-applied.
|
||||||
|
@ -755,7 +755,7 @@ So, for example, if the top cpuset has the flag
|
||||||
enabled, then the scheduler will load balance across all
|
enabled, then the scheduler will load balance across all
|
||||||
CPUs, and the setting of the
|
CPUs, and the setting of the
|
||||||
.I sched_load_balance
|
.I sched_load_balance
|
||||||
flag in other cpusets has no affect,
|
flag in other cpusets has no effect,
|
||||||
as we're already fully load balancing.
|
as we're already fully load balancing.
|
||||||
.PP
|
.PP
|
||||||
Therefore in the above two situations, the flag
|
Therefore in the above two situations, the flag
|
||||||
|
@ -1359,7 +1359,7 @@ set to
|
||||||
.BR EACCES ,
|
.BR EACCES ,
|
||||||
and the creation and truncation options on
|
and the creation and truncation options on
|
||||||
.BR open (2)
|
.BR open (2)
|
||||||
have no affect.
|
have no effect.
|
||||||
.\" ================== EXAMPLE ==================
|
.\" ================== EXAMPLE ==================
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
The following examples demonstrate querying and setting cpuset
|
The following examples demonstrate querying and setting cpuset
|
||||||
|
@ -1470,11 +1470,11 @@ only one process PID at a time may be written to the
|
||||||
.I tasks
|
.I tasks
|
||||||
file.
|
file.
|
||||||
.PP
|
.PP
|
||||||
The same affect (writing one PID at a time) as the
|
The same effect (writing one PID at a time) as the
|
||||||
.I while
|
.I while
|
||||||
loop can be accomplished more efficiently, in fewer keystrokes and in
|
loop can be accomplished more efficiently, in fewer keystrokes and in
|
||||||
syntax that works on any shell, but alas more obscurely, by using the
|
syntax that works on any shell, but alas more obscurely, by using the
|
||||||
.I \-u
|
.B \-u
|
||||||
(unbuffered) option of
|
(unbuffered) option of
|
||||||
.BR sed (1):
|
.BR sed (1):
|
||||||
.in +4n
|
.in +4n
|
||||||
|
|
Loading…
Reference in New Issue