2017-03-06-16-52 merged

AKASHI Takahiro (1):
      mm/memblock.c: fix memblock_next_valid_pfn()

Andrea Arcangeli (6):
      userfaultfd: shmem: __do_fault requires VM_FAULT_NOPAGE
      userfaultfd: non-cooperative: rollback userfaultfd_exit
      userfaultfd: non-cooperative: robustness check
      userfaultfd: non-cooperative: release all ctx in dup_userfaultfd_complete
      userfaultfd: non-cooperative: userfaultfd_remove revalidate vma in MADV_DONTNEED
      userfaultfd: selftest: vm: allow to build in vm/ directory

Andrew Morton (12):
      mm-move-madv_free-pages-into-lru_inactive_file-list-checkpatch-fixes
      mm-use-is_migrate_highatomic-to-simplify-the-code-fix
      mm-introduce-memalloc_nofs_saverestore-api-fix
      jbd2-mark-the-transaction-context-with-the-scope-gfp_nofs-context-fix
      jbd2-make-the-whole-kjournald2-kthread-nofs-safe-checkpatch-fixes
      treewide-move-set_memory_-functions-away-from-cacheflushh-fix
      arm64-use-set_memoryh-header-fix
      treewide-decouple-cacheflushh-and-set_memoryh-fix
      treewide-decouple-cacheflushh-and-set_memoryh-fix-fix-fix
      treewide-decouple-cacheflushh-and-set_memoryh-fix-fix-fix
      treewide-decouple-cacheflushh-and-set_memoryh-fix-fix-fix-fix-fix
      treewide-decouple-cacheflushh-and-set_memoryh-fix-fix-fix-fix-fix-fix

Andrey Konovalov (9):
      kasan: introduce helper functions for determining bug type
      kasan: unify report headers
      kasan: change allocation and freeing stack traces headers
      kasan: simplify address description logic
      kasan: change report header
      kasan: improve slab object description
      kasan: print page description after stacks
      kasan: improve double-free report format
      kasan: separate report parts by empty lines

Aneesh Kumar K.V (2):
      powerpc/mm: handle protnone ptes on fork
      power/mm: update pte_write and pte_wrprotect to handle savedwrite

Arnd Bergmann (1):
      include/linux/fs.h: fix unsigned enum warning with gcc-4.2

Dan Williams (2):
      x86, mm: fix gup_pte_range() vs DAX mappings
      x86, mm: unify exit paths in gup_pte_range()

David Rientjes (2):
      mm, vmstat: print non-populated zones in zoneinfo
      mm, vmstat: suppress pcp stats for unpopulated zones in zoneinfo

Geliang Tang (1):
      mm/page-writeback.c: use setup_deferrable_timer

Huang Ying (1):
      mm, swap: Fix a race in free_swap_and_cache()

Jinbum Park (1):
      mm: add arch-independent testcases for RODATA

Johannes Weiner (10):
      mm: fix 100% CPU kswapd busyloop on unreclaimable nodes
      mm: fix check for reclaimable pages in PF_MEMALLOC reclaim throttling
      mm: remove seemingly spurious reclaimability check from laptop_mode gating
      mm: remove unnecessary reclaimability check from NUMA balancing target
      mm: don't avoid high-priority reclaim on unreclaimable nodes
      mm: don't avoid high-priority reclaim on memcg limit reclaim
      mm: delete NR_PAGES_SCANNED and pgdat_reclaimable()
      Revert "mm, vmscan: account for skipped pages as a partial scan"
      mm: remove unnecessary back-off function when retrying page reclaim
      mm: memcontrol: provide shmem statistics

John Johansen (1):
      apparmor: move lib definitions into separate lib include

Kirill A. Shutemov (8):
      rmap: fix NULL-pointer dereference on THP munlocking
      thp: fix another corner case of munlock() vs. THPs
      thp: reduce indentation level in change_huge_pmd()
      thp: fix MADV_DONTNEED vs. numa balancing race
      mm: drop unused pmdp_huge_get_and_clear_notify()
      thp: fix MADV_DONTNEED vs. MADV_FREE race
      thp-fix-madv_dontneed-vs-madv_free-race-fix
      thp: fix MADV_DONTNEED vs clear soft dirty race

Laura Abbott (16):
      arch: Move CONFIG_DEBUG_RODATA and CONFIG_SET_MODULE_RONX to be common
      arch: Rename CONFIG_DEBUG_RODATA and CONFIG_DEBUG_MODULE_RONX
      treewide: move set_memory_* functions away from cacheflush.h
      arm: use set_memory.h header
      arm64: use set_memory.h header
      s390: use set_memory.h header
      x86: use set_memory.h header
      agp: use set_memory.h header
      drm: use set_memory.h header
      intel_th: use set_memory.h header
      drivers/watchdog/hpwdt.c: use set_memory.h header
      include/linux/filter.h: use set_memory.h header
      module: use set_memory.h header
      kernel/power/snapshot.c: use set_memory.h header
      sound/pci/hda/hda_intel.c: use set_memory.h header
      treewide: decouple cacheflush.h and set_memory.h

Laurent Dufour (1):
      mm/cgroup: avoid panic when init with low memory

Martin Schwidefsky (1):
      s390: add no-execute support

Masanari Iida (1):
      drivers/md/bcache/util.h: remove duplicate inclusion of blkdev.h

Matthew Wilcox (1):
      mm: tighten up the fault path a little

Michal Hocko (15):
      lockdep: allow to disable reclaim lockup detection
      xfs: abstract PF_FSTRANS to PF_MEMALLOC_NOFS
      mm: introduce memalloc_nofs_{save,restore} API
      xfs: use memalloc_nofs_{save,restore} instead of memalloc_noio*
      jbd2: mark the transaction context with the scope GFP_NOFS context
      jbd2: make the whole kjournald2 kthread NOFS safe
      mm: introduce kv[mz]alloc helpers
      mm: support __GFP_REPEAT in kvmalloc_node for >32kB
      lib/rhashtable.c: simplify a strange allocation pattern
      net/ipv6/ila/ila_xlat.c: simplify a strange allocation pattern
      fs/xattr.c: zero out memory copied to userspace in getxattr
      treewide: use kv[mz]alloc* rather than opencoded variants
      net: use kvmalloc with __GFP_REPEAT rather than open coded variant
      drivers/md/dm-ioctl.c: use kvmalloc rather than opencoded variant
      drivers/md/bcache/super.c: use kvmalloc

Mike Rapoport (2):
      userfaultfd: documentation fixup after removal of UFFD_EVENT_EXIT
      userfaultfd: non-cooperative: fix fork fctx->new memleak

Minchan Kim (1):
      mm: clean up lazyfree page handling

Nikolay Borisov (1):
      lockdep: teach lockdep about memalloc_noio_save

Pavel Tatashin (4):
      sparc64: NG4 memset 32 bits overflow
      mm: zero hash tables in allocator
      mm: update callers to use HASH_ZERO flag
      mm: adaptive hash table scaling

Sangwoo Park (1):
      zram: reduce load operation in page_same_filled

Shaohua Li (6):
      mm: delete unnecessary TTU_* flags
      mm: don't assume anonymous pages have SwapBacked flag
      mm: move MADV_FREE pages into LRU_INACTIVE_FILE list
      mm: reclaim MADV_FREE pages
      mm: enable MADV_FREE for swapless system
      proc: show MADV_FREE pages info in smaps

Tetsuo Handa (1):
      AppArmor: Use GFP_KERNEL for __aa_kvmalloc().

Xishi Qiu (2):
      mm: use is_migrate_highatomic() to simplify the code
      mm: use is_migrate_isolate_page() to simplify the code

Yisheng Xie (1):
      mm/vmstats: add thp_split_pud event for clarity
drivers/md/bcache/super.c: use kvmalloc

bcache_device_init uses kmalloc for small requests and vmalloc for those
which are larger than 64 pages.  This alone is a strange criterion.
Moreover kmalloc can fallback to vmalloc on the failure.  Let's simply use
kvmalloc instead as it knows how to handle the fallback properly

Link: http://lkml.kernel.org/r/20170306103327.2766-5-mhocko@kernel.org
Signed-off-by: Michal Hocko <mhocko@suse.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 file changed