mbox series

[0/3] trivial code refine for sparsemem

Message ID 20180823130732.9489-1-richard.weiyang@gmail.com (mailing list archive)
Headers show
Series trivial code refine for sparsemem | expand

Message

Wei Yang Aug. 23, 2018, 1:07 p.m. UTC
Here is three trivial refine patches for sparsemem.

Wei Yang (3):
  mm/sparse: add likely to mem_section[root] check in
    sparse_index_init()
  mm/sparse: expand the CONFIG_SPARSEMEM_EXTREME range in
    __nr_to_section()
  mm/sparse: use __highest_present_section_nr as the boundary for pfn
    check

 include/linux/mmzone.h | 6 +++---
 mm/sparse.c            | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)