summaryrefslogtreecommitdiffstats
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorAndrew Morton2016-05-20 02:11:43 +0200
committerLinus Torvalds2016-05-20 04:12:14 +0200
commitfee83b3aba4b7ddb0cb1497a04ddebcaa43f236e (patch)
treef0b43899dfc3383cf8c73c10eaf9079972066f87 /mm/rmap.c
parentmm/hugetlb.c: use first_memory_node (diff)
downloadkernel-qcow2-linux-fee83b3aba4b7ddb0cb1497a04ddebcaa43f236e.tar.gz
kernel-qcow2-linux-fee83b3aba4b7ddb0cb1497a04ddebcaa43f236e.tar.xz
kernel-qcow2-linux-fee83b3aba4b7ddb0cb1497a04ddebcaa43f236e.zip
mm/mempolicy.c:offset_il_node() document and clarify
This code was pretty obscure and was relying upon obscure side-effects of next_node(-1, ...) and was relying upon NUMA_NO_NODE being equal to -1. Clean that all up and document the function's intent. Acked-by: Vlastimil Babka <vbabka@suse.cz> Cc: Xishi Qiu <qiuxishi@huawei.com> Cc: Joonsoo Kim <js1304@gmail.com> Cc: David Rientjes <rientjes@google.com> Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: Laura Abbott <lauraa@codeaurora.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions