From: Linus Torvalds Date: Sat, 5 Sep 2015 21:27:38 +0000 (-0700) Subject: Merge branch 'akpm' (patches from Andrew) X-Git-Tag: v5.15~15140 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c0f568e84a3cfc775682311d65205462c3f3bc1;p=platform%2Fkernel%2Flinux-starfive.git Merge branch 'akpm' (patches from Andrew) Merge patch-bomb from Andrew Morton: - a few misc things - Andy's "ambient capabilities" - fs/nofity updates - the ocfs2 queue - kernel/watchdog.c updates and feature work. - some of MM. Includes Andrea's userfaultfd feature. [ Hadn't noticed that userfaultfd was 'default y' when applying the patches, so that got fixed in this merge instead. We do _not_ mark new features that nobody uses yet 'default y' - Linus ] * emailed patches from Andrew Morton : (118 commits) mm/hugetlb.c: make vma_has_reserves() return bool mm/madvise.c: make madvise_behaviour_valid() return bool mm/memory.c: make tlb_next_batch() return bool mm/dmapool.c: change is_page_busy() return from int to bool mm: remove struct node_active_region mremap: simplify the "overlap" check in mremap_to() mremap: don't do uneccesary checks if new_len == old_len mremap: don't do mm_populate(new_addr) on failure mm: move ->mremap() from file_operations to vm_operations_struct mremap: don't leak new_vma if f_op->mremap() fails mm/hugetlb.c: make vma_shareable() return bool mm: make GUP handle pfn mapping unless FOLL_GET is requested mm: fix status code which move_pages() returns for zero page mm: memcontrol: bring back the VM_BUG_ON() in mem_cgroup_swapout() genalloc: add support of multiple gen_pools per device genalloc: add name arg to gen_pool_get() and devm_gen_pool_create() mm/memblock: WARN_ON when nid differs from overlap region Documentation/features/vm: add feature description and arch support status for batched TLB flush after unmap mm: defer flush of writable TLB entries mm: send one IPI per CPU to TLB flush all entries after unmapping pages ... --- 6c0f568e84a3cfc775682311d65205462c3f3bc1 diff --cc init/Kconfig index bb9b4dd,cf7e482..2c0e50e --- a/init/Kconfig +++ b/init/Kconfig @@@ -1576,6 -1586,17 +1586,14 @@@ config ADVISE_SYSCALL applications use these syscalls, you can disable this option to save space. + config USERFAULTFD + bool "Enable userfaultfd() system call" + select ANON_INODES - default y + depends on MMU + help + Enable the userfaultfd() system call that allows to intercept and + handle page faults in userland. + - If unsure, say Y. - config PCI_QUIRKS default y bool "Enable PCI quirk workarounds" if EXPERT