Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8f191f1 authored by Wanpeng Li's avatar Wanpeng Li Committed by Linus Torvalds
Browse files

mm/page_alloc: fix doc for numa_zonelist_order



The default zonelist order selecter will select "node" order if any nodes
DMA zone comprises greater than 70% of its local memory instead of 60%,
according to default_zonelist_order::low_kmem_size > total * 70/100.

Signed-off-by: default avatarWanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: default avatarMichal Hocko <mhocko@suse.cz>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent fc6df808
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -510,7 +510,7 @@ Specify "[Dd]efault" to request automatic configuration. Autoconfiguration
will select "node" order in following case.
will select "node" order in following case.
(1) if the DMA zone does not exist or
(1) if the DMA zone does not exist or
(2) if the DMA zone comprises greater than 50% of the available memory or
(2) if the DMA zone comprises greater than 50% of the available memory or
(3) if any node's DMA zone comprises greater than 60% of its local memory and
(3) if any node's DMA zone comprises greater than 70% of its local memory and
    the amount of local memory is big enough.
    the amount of local memory is big enough.


Otherwise, "zone" order will be selected. Default order is recommended unless
Otherwise, "zone" order will be selected. Default order is recommended unless