2018-05-03-15-54 merged
Amir Goldstein (1):
tmpfs: allow decoding a file handle of an unlinked file
Andrew Morton (9):
z3fold-fix-reclaim-lock-ups-checkpatch-fixes
zram-introduce-zram-memory-tracking-fix
zram-introduce-zram-memory-tracking-update-fix
zram-introduce-zram-memory-tracking-update-fix-fix
mm-check-for-sigkill-inside-dup_mmap-loop-fix
mm-vmalloc-pass-proper-vm_start-into-debugobjects-fix
mm-shmem-make-statst_blksize-return-huge-page-size-if-thp-is-on-fix
mm/memcontrol.c: add mem_cgroup_from_task() as a local helper
mm-oom-cgroup-aware-oom-killer-fix-2
Ashish Samant (1):
ocfs2: take inode cluster lock before moving reflinked inode from orphan dir
Changbin Du (1):
scripts/faddr2line: fix error when addr2line output contains discriminator
Chintan Pandya (4):
mm: vmalloc: clean up vunmap to avoid pgtable ops twice
mm-vmalloc-clean-up-vunmap-to-avoid-pgtable-ops-twice-v3
mm: vmalloc: avoid racy handling of debugobjects in vunmap
mm: vmalloc: pass proper vm_start into debugobjects
Cyrill Gorcunov (1):
prctl: remove non PR_SET_MM_MAP operations
Dave Young (1):
kexec_file: do not add extra alignment to efi memmap
David Rientjes (1):
mm, oom: fix concurrent munlock and oom reaper unmap, v3
Dmitry Vyukov (1):
KASAN: prohibit KASAN+STRUCTLEAK combination
Eric W. Biederman (1):
memcg: replace mm->owner with mm->memcg
Greg Thelen (1):
memcg: mark memcg1_events static const
Huang Ying (1):
mm, gup: prevent pmd checking race in follow_pmd_mask()
Jeffrey Hugo (1):
init: fix false positives in W+X checking
Joe Perches (1):
mm: use octal not symbolic permissions
Kees Cook (1):
fork: unconditionally clear stack on fork
Laura Abbott (1):
proc/kcore: don't bounds check against address 0
Laurent Dufour (2):
mm: introduce ARCH_HAS_PTE_SPECIAL
mm: remove odd HAVE_PTE_SPECIAL
Matthew Wilcox (2):
slab: __GFP_ZERO is incompatible with a constructor
mm/filemap.c: fix NULL pointer in page_cache_tree_insert()
Michal Hocko (5):
Reverted "fs/dcache.c: re-add cond_resched() in shrink_dcache_parent()"
Revert "mm: hugetlbfs: move HUGETLBFS_I outside #ifdef CONFIG_HUGETLBFS"
Revert "mm: memfd: split out memfd for use by multiple filesystems"
Revert "mm: memfd: remove memfd code from shmem files and use new memfd files"
mm: fix do_pages_move status handling
Mike Kravetz (3):
mm/shmem: add __rcu annotations and properly deref radix entry
mm/shmem: update file sealing comments and file checking
mm: restructure memfd code
Mike Rapoport (2):
mm/ksm: remove unused page_referenced_ksm declaration
mm/ksm: move [set_]page_stable_node from ksm.h to ksm.c
Minchan Kim (6):
zram: correct flag name of ZRAM_ACCESS
zram: mark incompressible page as ZRAM_HUGE
zram: record accessed second
zram: introduce zram memory tracking
zram-introduce-zram-memory-tracking-update
mm: memcg: add __GFP_NOWARN in __memcg_schedule_kmem_cache_create()
Naoya Horiguchi (1):
mm: migrate: fix double call of radix_tree_replace_slot()
Omar Sandoval (1):
lockdep: fix fs_reclaim annotation
Pavel Tatashin (2):
mm: sections are not offlined during memory hotremove
mm: access to uninitialized struct page
Roman Gushchin (5):
mm: don't show nr_indirectly_reclaimable in /proc/vmstat
mm: rename page_counter's count/limit into usage/max
mm: memory.low hierarchical behavior
mm: treat memory.low value inclusive
mm/docs: describe memory.low refinements
Sergey Senozhatsky (1):
prctl: don't compile some of prctl functions when CRUI disabled
Shuah Khan (Samsung OSG) (1):
MAINTAINERS: update Shuah's email address
Stefan Agner (1):
mm/memblock: introduce PHYS_ADDR_MAX
Tejun Heo (2):
mm, memcontrol: move swap charge handling into get_swap_page()
mm, memcontrol: implement memory.swap.events
Tetsuo Handa (2):
mm: check for SIGKILL inside dup_mmap() loop.
fs, elf: don't complain MAP_FIXED_NOREPLACE unless -EEXIST error
Vitaly Wool (1):
z3fold: fix reclaim lock-ups
Wang Long (1):
memcg: writeback: use memcg->cgwb_list directly
Wei Yang (3):
mm/page_alloc: remove realsize in free_area_init_core()
mm/sparse.c: check __highest_present_section_nr only for a present section
mm/sparse.c: pass the __highest_present_section_nr + 1 to alloc_func()
Yang Shi (3):
mm: introduce arg_lock to protect arg_start|end and env_start|end in mm_struct
prctl: add comment about mmap_sem and arg_lock
mm: shmem: make stat.st_blksize return huge page size if THP is on
Yury Norov (1):
lib/find_bit_benchmark.c: avoid soft lockup in test_find_first_bit()
mm/filemap.c: fix NULL pointer in page_cache_tree_insert()
f2fs specifies the __GFP_ZERO flag for allocating some of its pages.
Unfortunately, the page cache also uses the mapping's GFP flags for
allocating radix tree nodes. It always masked off the __GFP_HIGHMEM
flag, and masks off __GFP_ZERO in some paths, but not all. That causes
radix tree nodes to be allocated with a NULL list_head, which causes
backtraces like:
__list_del_entry+0x30/0xd0
list_lru_del+0xac/0x1ac
page_cache_tree_insert+0xd8/0x110
The __GFP_DMA and __GFP_DMA32 flags would also be able to sneak through
if they are ever used. Fix them all by using GFP_RECLAIM_MASK at the
innermost location, and remove it from earlier in the callchain.
Link: http://lkml.kernel.org/r/20180411060320.14458-2-willy@infradead.org
Fixes: 449dd6984d0e ("mm: keep page cache radix tree nodes in check")
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Reported-by: Chris Fries <cfries@google.com>
Debugged-by: Minchan Kim <minchan@kernel.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit abc1be13fd113ddef5e2d807a466286b864caed3)
1 file changed