summaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorWei Yang2015-09-08 23:59:48 +0200
committerLinus Torvalds2015-09-09 00:35:28 +0200
commit904a9553d4fcdc0c7d5621f6178f0e07598701dc (patch)
tree2dd0acd4856e1365c3abb47ff7da700200e29279 /CREDITS
parentmm, dax: use i_mmap_unlock_write() in do_cow_fault() (diff)
downloadkernel-qcow2-linux-904a9553d4fcdc0c7d5621f6178f0e07598701dc.tar.gz
kernel-qcow2-linux-904a9553d4fcdc0c7d5621f6178f0e07598701dc.tar.xz
kernel-qcow2-linux-904a9553d4fcdc0c7d5621f6178f0e07598701dc.zip
mm/page_alloc.c: refine the calculation of highest possible node id
nr_node_ids records the highest possible node id, which is calculated by scanning the bitmap node_states[N_POSSIBLE]. Current implementation scan the bitmap from the beginning, which will scan the whole bitmap. This patch reverses the order by scanning from the end with find_last_bit(). Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com> Cc: Tejun Heo <tj@kernel.org> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions