Commit 7c88a292 authored by Xishi Qiu's avatar Xishi Qiu Committed by Linus Torvalds

Documentation/sysctl/vm.txt: update numa_zonelist_order description

Commit 3193913c ("mm: page_alloc: default node-ordering on 64-bit
NUMA, zone-ordering on 32-bit") changes the default value of
numa_zonelist_order.  Update the document.
Signed-off-by: default avatarXishi Qiu <qiuxishi@huawei.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 33334e25
...@@ -581,15 +581,16 @@ Specify "[Nn]ode" for node order ...@@ -581,15 +581,16 @@ Specify "[Nn]ode" for node order
"Zone Order" orders the zonelists by zone type, then by node within each "Zone Order" orders the zonelists by zone type, then by node within each
zone. Specify "[Zz]one" for zone order. zone. Specify "[Zz]one" for zone order.
Specify "[Dd]efault" to request automatic configuration. Autoconfiguration Specify "[Dd]efault" to request automatic configuration.
will select "node" order in following case.
(1) if the DMA zone does not exist or On 32-bit, the Normal zone needs to be preserved for allocations accessible
(2) if the DMA zone comprises greater than 50% of the available memory or by the kernel, so "zone" order will be selected.
(3) if any node's DMA zone comprises greater than 70% of its local memory and
the amount of local memory is big enough. On 64-bit, devices that require DMA32/DMA are relatively rare, so "node"
order will be selected.
Otherwise, "zone" order will be selected. Default order is recommended unless
this is causing problems for your system/application. Default order is recommended unless this is causing problems for your
system/application.
============================================================== ==============================================================
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment