aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
AgeCommit message (Expand)AuthorFilesLines
2017-09-08lib/interval_tree: fast overlap detectionDavidlohr Bueso1-5/+5
2017-09-06mm: oom: let oom_reap_task and exit_mmap run concurrentlyAndrea Arcangeli1-0/+18
2017-09-06userfaultfd: call userfaultfd_unmap_prep only if __split_vma succeedsAndrea Arcangeli1-7/+15
2017-09-06mm: rename global_page_state to global_zone_page_stateMichal Hocko1-3/+3
2017-07-14mm: fix overflow check in expand_upwards()Helge Deller1-1/+1
2017-07-10mm: use dedicated helper to access rlimit valueKrzysztof Opasiak1-3/+2
2017-07-10mm/mmap.c: expand_downwards: don't require the gap if !vm_prevOleg Nesterov1-7/+3
2017-07-10mm/mmap.c: do not blow on PROT_NONE MAP_FIXED holes in the stackMichal Hocko1-2/+4
2017-07-08Merge branch 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-armLinus Torvalds1-0/+4
2017-07-06mm/mmap.c: mark protection_map as __ro_after_initDaniel Micay1-1/+1
2017-06-21Allow stack to grow up to address space limitHelge Deller1-5/+8
2017-06-21mm: fix new crash in unmapped_area_topdown()Hugh Dickins1-2/+4
2017-06-21ARM: 8683/1: ARM32: Support mremap() for sigpage/vDSODmitry Safonov1-0/+4
2017-06-19mm: larger stack guard gap, between vmasHugh Dickins1-60/+89
2017-05-03mm/mmap: replace SHM_HUGE_MASK with MAP_HUGE_MASK inside mmap_pgoffAnshuman Khandual1-1/+1
2017-03-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2017-03-02Merge remote-tracking branch 'ovl/for-viro' into for-linusAl Viro1-1/+1
2017-02-24mm, madvise: fail with ENOMEM when splitting vma will hit max_map_countDavid Rientjes1-4/+4
2017-02-24userfaultfd: non-cooperative: add event for memory unmapsMike Rapoport1-15/+31
2017-02-24mm: call vm_munmap in munmap syscall instead of using open coded versionMike Rapoport1-8/+1
2017-02-24mm: fix comments for mmap_init()seokhoon.yoon1-1/+1
2017-02-24mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmfDave Jiang1-5/+4
2017-02-22powerpc: do not make the entire heap executableDenys Vlasenko1-5/+19
2017-02-20mm: use helper for calling f_op->mmap()Miklos Szeredi1-1/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-10-07mm: vma_merge: correct false positive from __vma_unlink->validate_mm_rbAndrea Arcangeli1-18/+41
2016-10-07mm: vma_adjust: minor comment correctionAndrea Arcangeli1-1/+1
2016-10-07mm: vma_adjust: remove superfluous check for next not NULLAndrea Arcangeli1-1/+1
2016-10-07mm: vma_merge: fix vm_page_prot SMP race condition against rmap_walkAndrea Arcangeli1-27/+130
2016-10-07mm: vma_adjust: remove superfluous confusing update in remove_next == 1 caseAndrea Arcangeli1-2/+22
2016-10-07mm: vm_page_prot: update with WRITE_ONCE/READ_ONCEAndrea Arcangeli1-7/+9
2016-10-03Merge branch 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+8
2016-09-14x86/arch_prctl/vdso: Add ARCH_MAP_VDSO_*Dmitry Safonov1-0/+8
2016-08-25arm64: Introduce execute-only page access permissionsCatalin Marinas1-0/+5
2016-08-02mm: refuse wrapped vm_brk requestsKees Cook1-3/+5
2016-07-28mm: fix use-after-free if memory allocation failed in vma_adjust()Kirill A. Shutemov1-5/+15
2016-07-26shmem: get_unmapped_area align huge pageHugh Dickins1-2/+14
2016-07-26thp, mlock: do not mlock PTE-mapped file huge pagesKirill A. Shutemov1-0/+6
2016-07-26thp: run vma_adjust_trans_huge() outside i_mmap_rwsemKirill A. Shutemov1-2/+2
2016-07-08x86/vdso: Add mremap hook to vm_special_mappingDmitry Safonov1-0/+10
2016-05-27mm: remove more IS_ERR_VALUE abusesLinus Torvalds1-8/+8
2016-05-23mm: make vm_brk killableMichal Hocko1-6/+3
2016-05-23mm: make vm_munmap killableMichal Hocko1-5/+3
2016-05-23mm: make vm_mmap killableMichal Hocko1-1/+1
2016-05-23mm: make mmap_sem for write waits killable for mm syscallsMichal Hocko1-4/+23
2016-05-20mm: enable RLIMIT_DATA by default with workaround for valgrindKonstantin Khlebnikov1-4/+8
2016-05-19mm/mmap: kill hook arch_rebalance_pgtables()Konstantin Khlebnikov1-5/+0
2016-03-20Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+9
2016-03-17mm: coalesce split stringsJoe Perches1-5/+3
2016-03-17mm: deduplicate memory overcommitment codeAndrey Ryabinin1-124/+0
2016-03-17mm: move max_map_count bits into mm.hAndrey Ryabinin1-1/+0
2016-03-07Merge tag 'v4.5-rc7' into x86/asm, to pick up SMAP fixIngo Molnar1-5/+29
2016-02-18mm: fix regression in remap_file_pages() emulationKirill A. Shutemov1-5/+29
2016-02-18mm/core, x86/mm/pkeys: Add execute-only protection keys supportDave Hansen1-1/+9
2016-02-18mm/core, arch, powerpc: Pass a protection key in to calc_vm_flag_bits()Dave Hansen1-1/+1
2016-02-18Merge branch 'x86/urgent' into x86/asm, to pick up fixesIngo Molnar1-38/+47
2016-02-16Merge branches 'x86/fpu', 'x86/mm' and 'x86/asm' into x86/pkeysIngo Molnar1-4/+9
2016-02-05mm: replace vma_lock_anon_vma with anon_vma_lock_read/writeKonstantin Khlebnikov1-30/+25
2016-02-05mm: validate_mm browse_rb SMP race conditionAndrea Arcangeli1-2/+5
2016-02-03mm: warn about VmData over RLIMIT_DATAKonstantin Khlebnikov1-6/+17
2016-01-29Merge tag 'v4.5-rc1' into x86/asm, to refresh the branch before merging new c...Ingo Molnar1-44/+62
2016-01-15mm: fix locking order in mm_take_all_locks()Kirill A. Shutemov1-5/+20
2016-01-14mm: rework virtual memory accountingKonstantin Khlebnikov1-31/+32
2016-01-14mm: mmap: add new /proc tunable for mmap_base ASLRDaniel Cashman1-0/+12
2016-01-14mm/mmap.c: remove incorrect MAP_FIXED flag comparison from mmap_regionPiotr Kwapulinski1-3/+0
2016-01-14mm/mmap.c: remove redundant local variables for may_expand_vm()Chen Gang1-8/+1
2016-01-12mm: Add a vm_special_mapping.fault() methodAndy Lutomirski1-4/+9
2015-11-05mm: introduce VM_LOCKONFAULTEric B Munson1-1/+1
2015-11-05mm/mmap.c: change __install_special_mapping() args orderChen Gang1-6/+6
2015-11-05mm/mmap.c: do not initialize retval in mmap_pgoff()Chen Gang1-3/+2
2015-11-05mm/mmap.c: remove redundant statement "error = -ENOMEM"Chen Gang1-1/+0
2015-11-05mm: add the "struct mm_struct *mm" local intoOleg Nesterov1-11/+13
2015-11-05mm: fix the racy mm->locked_vm change inOleg Nesterov1-4/+8
2015-11-05mm/mmap: use offset_in_page macroAlexander Kuleshov1-6/+6
2015-11-05mm/mmap.c: remove useless statement "vma = NULL" in find_vma()Chen Gang1-1/+0
2015-09-22mm, dax: VMA with vm_ops->pfn_mkwrite wants to be write-notifiedKirill A. Shutemov1-1/+2
2015-09-17revert "mm: make sure all file VMAs have ->vm_ops set"Andrew Morton1-8/+0
2015-09-10mm: make sure all file VMAs have ->vm_ops setKirill A. Shutemov1-0/+8
2015-09-10mm, mpx: add "vm_flags_t vm_flags" arg to do_mmap_pgoff()Oleg Nesterov1-6/+4
2015-09-08mm/mmap.c:insert_vm_struct(): check for failure before setting valuesChen Gang1-6/+7
2015-09-08mm/mmap.c: simplify the failure return working flowChen Gang1-22/+22
2015-09-08mremap: fix the wrong !vma->vm_file check in copy_vma()Oleg Nesterov1-1/+1
2015-09-08mmap: fix the usage of ->vm_pgoff in special_mapping pathsOleg Nesterov1-10/+2
2015-09-04userfaultfd: teach vma_merge to merge across vma->vm_userfaultfd_ctxAndrea Arcangeli1-13/+27
2015-07-10vfs: Commit to never having exectuables on proc and sysfs.Eric W. Biederman1-2/+2
2015-06-24mm/mmap.c: optimization of do_mmap_pgoff functionPiotr Kwapulinski1-3/+3
2015-04-15mm/mmap.c: use while instead of if+gotoRasmus Villemoes1-7/+6
2015-04-15mm: remove rest of ACCESS_ONCE() usagesJason Low1-4/+4
2015-04-14mm: rename __mlock_vma_pages_range() to populate_vma_page_range()Kirill A. Shutemov1-2/+2
2015-03-25mm: fix anon_vma->degree underflow in anon_vma endless growing preventionLeon Yu1-3/+1
2015-02-11mm/mmap.c: fix arithmetic overflow in __vm_enough_memory()Roman Gushchin1-2/+2
2015-02-11mm: fix false-positive warning on exit due mm_nr_pmds(mm)Kirill A. Shutemov1-5/+0
2015-02-11mm: account pmd page tables to the processKirill A. Shutemov1-1/+3
2015-02-10rmap: drop support of non-linear mappingsKirill A. Shutemov1-17/+7
2015-02-10mm: replace remap_file_pages() syscall with emulationKirill A. Shutemov1-0/+69
2015-01-11mm: fix corner case in anon_vma endless growing preventionKonstantin Khlebnikov1-2/+4
2015-01-11mm: Don't count the stack guard page towards RLIMIT_STACKLinus Torvalds1-2/+5
2014-12-13mm: export find_extend_vma() and handle_mm_fault() for driver useJesse Barnes1-0/+2
2014-12-13mm: convert i_mmap_mutex to rwsemDavidlohr Bueso1-4/+4
2014-12-13mm: use new helper functions around the i_mmap_mutexDavidlohr Bueso1-7/+7
2014-12-10Merge branch 'x86-mpx-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+2
2014-12-03mm: fix anon_vma_clone() error treatmentDaniel Forrest1-3/+7
2014-11-18x86, mpx: Cleanup unused bound tablesDave Hansen1-0/+2
2014-10-29mm, thp: fix collapsing of hugepages on madviseDavid Rientjes1-4/+4
2014-10-14mm: softdirty: enable write notifications on VMAs after VM_SOFTDIRTY clearedPeter Feiner1-17/+28
2014-10-10Merge branch 'for-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/p...Linus Torvalds1-1/+1
2014-10-09mm: use VM_BUG_ON_MM where possibleSasha Levin1-3/+4
2014-10-09mm/mmap.c: clean up CONFIG_DEBUG_VM_RB checksAndrew Morton1-6/+11
2014-10-09mm: convert a few VM_BUG_ON callers to VM_BUG_ON_VMASasha Levin1-3/+3
2014-10-09mm: use may_adjust_brk helperCyrill Gorcunov1-4/+3
2014-10-09mm/mmap.c: whitespace fixesvishnu.ps1-18/+19
2014-09-24Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/axb...Tejun Heo1-8/+8
2014-09-10mm/mmap.c: use pr_emerg when printing BUG related informationSasha Levin1-8/+8
2014-09-08percpu_counter: add @gfp to percpu_counter_init()Tejun Heo1-1/+1
2014-08-08mm: allow drivers to prevent new writable mappingsDavid Herrmann1-6/+24
2014-08-06mm: catch memory commitment underflowKonstantin Khlebnikov1-0/+5
2014-06-06mm: convert some level-less printks to pr_*Mitchel Humpherys1-9/+12
2014-06-05Merge branch 'x86/vdso' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/...Linus Torvalds1-29/+60
2014-06-04mm/mmap.c: remove the first mapping checkHuang Shijie1-3/+2
2014-06-04mm/mmap.c: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERODuan Jiong1-3/+1
2014-05-20x86, mm: Improve _install_special_mapping and fix x86 vdso namingAndy Lutomirski1-29/+60
2014-04-07mm: per-thread vma cachingDavidlohr Bueso1-26/+29
2014-04-04Merge branch 'locks-3.15' of git://git.samba.org/jlayton/linuxLinus Torvalds1-1/+1
2014-04-03mm/mmap.c: mark function as staticRashika Kheria1-1/+1
2014-03-31locks: fix locks_mandatory_locked to respect file-private locksJeff Layton1-1/+1
2014-03-18mm: Add new func _install_special_mapping() to mmap.cStefani Seibold1-4/+16
2014-01-23mm: ignore VM_SOFTDIRTY on VMA mergingCyrill Gorcunov1-2/+10
2014-01-23mm: audit/fix non-modular users of module_init in core codePaul Gortmaker1-3/+3
2014-01-21mm/mmap.c: add mlock_future_check() helperDavidlohr Bueso1-22/+23
2014-01-21mm: add overcommit_kbytes sysctl variableJerome Marchand1-0/+1
2013-11-15mm: convert mm->nr_ptes to atomic_long_tKirill A. Shutemov1-1/+2
2013-11-13Merge branch 'akpm' (patches from Andrew Morton)Linus Torvalds1-9/+7
2013-11-13mm: factor commit limit calculationJerome Marchand1-3/+1
2013-11-13mm: ensure get_unmapped_area() returns higher address than mmap_min_addrAkira Takeuchi1-5/+5
2013-11-13mmap: arch_get_unmapped_area(): use proper mmap base for bottom up directionHeiko Carstens1-1/+1
2013-10-24file->f_op is never NULL...Al Viro1-2/+2
2013-09-11mm/mmap: remove unnecessary assignmentYanchuan Nian1-1/+0
2013-09-11mm: track vma changes with VM_SOFTDIRTY bitCyrill Gorcunov1-1/+11
2013-09-11mm: mmap_region: kill correct_wcount/inode, use allow_write_access()Oleg Nesterov1-9/+5
2013-09-11mm: do_mmap_pgoff: cleanup the usage of file_inode()Oleg Nesterov1-3/+2
2013-09-11mm: shift VM_GROWS* check from mmap_region() to do_mmap_pgoff()Oleg Nesterov1-6/+4
2013-09-11mm: mempolicy: turn vma_set_policy() into vma_dup_policy()Oleg Nesterov1-12/+5
2013-08-16Fix TLB gather virtual address range invalidation corner casesLinus Torvalds1-2/+2
2013-07-31mm: mempolicy: fix mbind_range() && vma_adjust() interactionOleg Nesterov1-1/+1
2013-07-10mm: remove free_area_cacheMichel Lespinasse1-28/+0
2013-07-09ipc/shmc.c: eliminate ugly 80-col tricksAndrew Morton1-2/+2
2013-07-09mmap: allow MAP_HUGETLB for hugetlbfs files v2Jörn Engel1-2/+4
2013-07-03mm: use vma_pages() to replace (vm_end - vm_start) >> PAGE_SHIFTLibin1-1/+1
2013-05-09shm: fix null pointer deref when userspace specifies invalid hugepage sizeLi Zefan1-2/+6
2013-05-07hugetlbfs: fix mmap failure in unaligned size requestNaoya Horiguchi1-1/+6
2013-04-29mm/mmap: check for RLIMIT_AS before unmappingCyril Hrubis1-4/+46
2013-04-29mm: reinititalise user and admin reserves if memory is added or removedAndrew Shewmaker1-2/+74
2013-04-29mm: replace hardcoded 3% with admin_reserve_pages knobAndrew Shewmaker1-4/+26
2013-04-29mm: limit growth of 3% hardcoded other user reserveAndrew Shewmaker1-5/+30
2013-04-29mm: merging memory blocks resets mempolicyHampson, Steven T1-1/+1
2013-04-29mm: allow arch code to control the user page table ceilingHugh Dickins1-2/+2
2013-04-29mmap: find_vma: remove the WARN_ON_ONCE(!mm) checkZhang Yanfei1-3/+0
2013-04-04mm: prevent mmap_cache race in find_vma()Jan Stancek1-1/+1
2013-03-28Revert "mm: introduce VM_POPULATE flag to better deal with racy userspace pro...Michel Lespinasse1-1/+3
2013-02-27mm: do not grow the stack vma just because of an overrun on preceding vmaLinus Torvalds1-0/+27
2013-02-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-4/+4
2013-02-23mm/rmap: rename anon_vma_unlock() => anon_vma_unlock_write()Konstantin Khlebnikov1-2/+2
2013-02-23swap: add per-partition lock for swapfileShaohua Li1-1/+1
2013-02-23mm: make do_mmap_pgoff return populate as a size in bytes, not as a boolMichel Lespinasse1-3/+3
2013-02-23mm: introduce VM_POPULATE flag to better deal with racy userspace programsMichel Lespinasse1-3/+1
2013-02-23mm: directly use __mlock_vma_pages_range() in find_extend_vma()Michel Lespinasse1-6/+4
2013-02-23mm: remove flags argument to mmap_regionMichel Lespinasse1-17/+16
2013-02-23mm: use mm_populate() when adjusting brk with MCL_FUTURE in effectMichel Lespinasse1-4/+14
2013-02-23mm: introduce mm_populate() for populating new vmasMichel Lespinasse1-5/+15
2013-02-22new helper: file_inode(file)Al Viro1-4/+4
2013-02-19Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+1
2013-02-07sched: Move sched.h sysctl bits into separate headerClark Williams1-0/+1
2013-02-05mm: fix wrong comments about anon_vma lockYuanhan Liu1-1/+1
2013-01-11mm: mmap: annotate vm_lock_anon_vma locking properly for lockdepJiri Kosina1-1/+1
2012-12-16Merge tag 'balancenuma-v11' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-5/+5
2012-12-12mm: protect against concurrent vma expansionMichel Lespinasse1-0/+28
2012-12-12mm: WARN_ON_ONCE if f_op->mmap() change vma's start addressJoonsoo Kim1-0/+4
2012-12-11Merge branch 'akpm' (Andrew's patchbomb)Linus Torvalds1-117/+396
2012-12-11mm: vm_unmapped_area() lookup functionMichel Lespinasse1-90/+222
2012-12-11mm: check rb_subtree_gap correctnessMichel Lespinasse1-14/+39
2012-12-11mm: augment vma rbtree with rb_subtree_gapMichel Lespinasse1-11/+132
2012-12-11mm: support more pagesizes for MAP_HUGETLB/SHM_HUGETLBAndi Kleen1-2/+3
2012-12-11mm/rmap, migration: Make rmap_walk_anon() and try_to_unmap_anon() more scalableIngo Molnar1-1/+1
2012-12-11mm/rmap: Convert the struct anon_vma::mutex to an rwsemIngo Molnar1-4/+4
2012-11-16Merge 3.7-rc6 into char-misc-nextGreg Kroah-Hartman1-0/+2
2012-11-16mm: add anon_vma_lock to validate_mm()Michel Lespinasse1-0/+2
2012-11-15mm: export a function to get vm committed memoryK. Y. Srinivasan1-0/+14
2012-10-09mm: avoid taking rmap locks in move_ptes()Michel Lespinasse1-2/+5
2012-10-09mm anon rmap: in mremap, set the new vma's position before anon_vma_clone()Michel Lespinasse1-4/+4
2012-10-09mm: add CONFIG_DEBUG_VM_RB build optionMichel Lespinasse1-10/+9
2012-10-09mm anon rmap: replace same_anon_vma linked list with an interval tree.Michel Lespinasse1-18/+55
2012-10-09mm anon rmap: remove anon_vma_moveto_tailMichel Lespinasse1-2/+1
2012-10-09mm: replace vma prio_tree with an interval treeMichel Lespinasse1-11/+11
2012-10-09mm: fix potential anon_vma locking issue in mprotect()Michel Lespinasse1-1/+5
2012-10-09mm/mmap.c: replace find_vma_prepare() with clearer find_vma_links()Hugh Dickins1-24/+21
2012-10-09mm: kill vma flag VM_RESERVED and mm->reserved_vm counterKonstantin Khlebnikov1-2/+0
2012-10-09mm: kill vma flag VM_EXECUTABLE and mm->num_exe_file_vmasKonstantin Khlebnikov1-21/+4
2012-10-09mm: kill vma flag VM_CAN_NONLINEARKonstantin Khlebnikov1-2/+1
2012-10-09mm: kill vma flag VM_INSERTPAGEKonstantin Khlebnikov1-1/+1
2012-09-26make get_file() return its argumentAl Viro1-2/+1