2017-05-18-14-18 merged

Andrea Arcangeli (4):
      ksm: prevent crash after write_protect_page fails
      ksm: cleanup stable_node chain collapse case
      ksm: swap the two output parameters of chain/chain_prune
      ksm: optimize refile of stable_node_dup at the head of the chain

Andrew Morton (1):
      mm-clarify-why-we-want-kmalloc-before-falling-backto-vmallock-checkpatch-fixes

Aneesh Kumar K.V (30):
      mm/hugetlb/migration: use set_huge_pte_at instead of set_pte_at
      mm/follow_page_mask: split follow_page_mask to smaller functions.
      mm/hugetlb: export hugetlb_entry_migration helper
      mm/hugetlb: move default definition of hugepd_t earlier in the header
      mm/follow_page_mask: add support for hugepage directory entry
      powerpc/hugetlb: add follow_huge_pd implementation for ppc64
      powerpc/mm/hugetlb: remove follow_huge_addr for powerpc
      powerpc/hugetlb: enable hugetlb migration for ppc64
      mm/hugetlb: clean up ARCH_HAS_GIGANTIC_PAGE
      powerpc/mm/nohash: MM_SLICE is only used by book3s 64
      powerpc/mm/slice: Fix off-by-1 error when computing slice mask
      powerpc/mm: Cleanup bits definition between hash and radix.
      powerpc/mm/radix: rename _PAGE_LARGE to R_PAGE_LARGE
      powerpc/mm: Add translation mode information in /proc/cpuinfo
      powerpc/mm/hugetlb: Filter out hugepage size not supported by page table layout
      powerpc/mm: Define _PAGE_SOFT_DIRTY unconditionally
      powerpc/mm: Define all PTE bits based on radix definitions.
      powerpc/mm: Lower the max real address to 53 bits
      powerpc/mm: Move hash specific pte bits to be top bits of RPN
      powerpc/mm/slice: Convert slice_mask high slice to a bitmap
      powerpc/mm/slice: Update the function prototype
      powerpc/mm: Move copy_mm_to_paca to paca.c
      powerpc/mm: Remove checks that TASK_SIZE_USER64 is too small
      powerpc/mm/slice: Move slice_mask struct definition to slice.c
      powerpc/mm/slice: Update slice mask printing to use bitmap printing.
      powerpc/mm/hash: Use context ids 1-4 for the kernel
      powerpc/mm/hash: Support 68 bit VA
      powerpc/mm/hash: Convert mask to unsigned long
      powerpc/mm/hash: Increase VA range to 128TB
      powerpc/mm/hugetlb: add support for 1G huge pages

Anshuman Khandual (2):
      mm/madvise: enable (soft|hard) offline of HugeTLB pages at PGD level
      mm/follow_page_mask: add support for hugetlb pgd entries

Huang Ying (4):
      mm, THP, swap: delay splitting THP during swap out
      mm, THP, swap: Fix two issues in THP optimize patch
      mm, THP, swap: check whether THP can be split firstly
      mm, THP, swap: enable THP swap optimization only if has compound map

Joonsoo Kim (2):
      mm/kasan/kasan_init.c: use kasan_zero_pud for p4d table
      mm/kasan/kasan.c: rename XXX_is_zero to XXX_is_nonzero

Matthias Kaehlcke (2):
      frv: declare jiffies to be located in the .data section
      mm/page_alloc.c: mark bad_range() and meminit_pfn_in_nid() as __maybe_unused

Michael Ellerman (4):
      powerpc/mm/hash: Abstract context id allocation for KVM
      powerpc/mm/hash: Pull hash constants into hash__alloc_context_id()
      powerpc/mm: Split radix vs hash mm context initialisation
      powerpc/mm/hash: Check for non-kernel address in get_kernel_vsid()

Michal Hocko (19):
      include/linux/gfp.h: fix ___GFP_NOLOCKDEP value
      mm: clarify why we want kmalloc before falling backto vmallock
      mm: remove return value from init_currently_empty_zone
      mm, memory_hotplug: use node instead of zone in can_online_high_movable
      mm: drop page_initialized check from get_nid_for_pfn
      mm, memory_hotplug: get rid of is_zone_device_section
      mm, memory_hotplug: split up register_one_node()
      mm, memory_hotplug: consider offline memblocks removable
      mm: consider zone which is not fully populated to have holes
      fold me "mm: consider zone which is not fully populated to have holes"
      mm, compaction: skip over holes in __reset_isolation_suitable
      mm: __first_valid_page skip over offline pages
      mm, vmstat: skip reporting offline pages in pagetypeinfo
      mm, memory_hotplug: do not associate hotadded memory to zones until online
      mm, memory_hotplug: replace for_device by want_memblock in arch_add_memory
      mm, memory_hotplug: fix the section mismatch warning
      mm, memory_hotplug: remove unused cruft after memory hotplug rework
      mm: drop HASH_ADAPT
      fold me "mm, vmstat: skip reporting offline pages in pagetypeinfo"

Mike Rapoport (2):
      kernel/exit.c: don't include unused userfaultfd_k.h
      fs/userfaultfd.c: drop dead code

Minchan Kim (4):
      zram: count same page write as page_stored
      zram: do not count duplicated pages as compressed
      mm, THP, swap: unify swap slot free functions to put_swap_page
      mm, THP, swap: move anonymous THP split logic to vmscan

Naoya Horiguchi (1):
      mm: drop NULL return check of pte_offset_map_lock()

Pavel Machek (1):
      powerpc/sequoia: fix NAND partitions not to overlap

Randy Dunlap (1):
      MAINTAINERS: greybus-dev list is members-only

Sergey Senozhatsky (1):
      zram: try harder to store user data on compression error
fold me "mm, vmstat: skip reporting offline pages in pagetypeinfo"

0-day has reported
   In file included from arch/x86/include/asm/page.h:75:0,
                    from arch/x86/include/asm/thread_info.h:11,
                    from include/linux/thread_info.h:37,
                    from arch/x86/include/asm/preempt.h:6,
                    from include/linux/preempt.h:80,
                    from include/linux/spinlock.h:50,
                    from include/linux/wait.h:8,
                    from include/linux/fs.h:5,
                    from mm/vmstat.c:12:
   mm/vmstat.c: In function 'pagetypeinfo_showblockcount_print':
>> include/asm-generic/memory_model.h:54:52: warning: 'page' is used uninitialized in this function [-Wuninitialized]
    #define __page_to_pfn(page) (unsigned long)((page) - vmemmap)
                                                       ^
   mm/vmstat.c:1224:16: note: 'page' was declared here
      struct page *page;
                   ^~~~

Signed-off-by: Michal Hocko <mhocko@suse.com>
1 file changed