aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
AgeCommit message (Expand)AuthorFilesLines
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
2012-08-23Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-3/+2
2012-08-21mm: change nr_ptes BUG_ON to WARN_ONHugh Dickins1-1/+1
2012-08-21uprobes: Fix mmap_region()'s mm->mm_rb corruption if uprobe_mmap() failsOleg Nesterov1-3/+2
2012-07-31Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-3/+2
2012-07-31mm: account the total_vm in the vm_stat_account()Huang Shijie1-3/+2
2012-07-30uprobes: Remove insert_vm_struct()->uprobe_mmap()Oleg Nesterov1-3/+0
2012-07-30uprobes: Remove copy_vma()->uprobe_mmap()Oleg Nesterov1-3/+0
2012-06-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-48/+6
2012-06-01unexport do_munmap()Al Viro1-1/+0
2012-06-01new helper: vm_mmap_pgoff()Al Viro1-29/+1
2012-06-01kill do_mmap() completelyAl Viro1-11/+5
2012-06-01switch aio and shm to do_mmap_pgoff(), make do_mmap() staticAl Viro1-2/+2
2012-06-01move security_mmap_addr() to saner placeAl Viro1-14/+3
2012-06-01take security_mmap_file() outside of ->mmap_semAl Viro1-11/+12
2012-05-31split ->file_mmap() into ->mmap_addr()/->mmap_file()Al Viro1-4/+8
2012-05-30unexport do_mmap()Al Viro1-1/+0
2012-05-29mm/mmap.c: find_vma(): remove unnecessary if(mm) checkRajman Mekaco1-26/+27
2012-05-24Merge branch 'perf-uprobes-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+32
2012-05-14Merge branch 'perf/uprobes' of git://git.kernel.org/pub/scm/linux/kernel/git/...Ingo Molnar1-9/+50
2012-05-06vm: remove 'nr_accounted' calculations from the unmap_vmas() interfacesLinus Torvalds1-6/+12
2012-05-06vm: simplify unmap_vmas() calling conventionLinus Torvalds1-2/+2
2012-04-21kill mm argument of vm_munmap()Al Viro1-2/+3
2012-04-20VM: add "vm_mmap()" helper functionLinus Torvalds1-2/+27
2012-04-20VM: add "vm_munmap()" helper functionLinus Torvalds1-6/+9
2012-04-20VM: add "vm_brk()" helper functionLinus Torvalds1-2/+14
2012-04-14uprobes/core: Decrement uprobe count before the pages are unmappedSrikar Dronamraju1-4/+4
2012-04-14Merge branch 'perf/core' into perf/uprobesIngo Molnar1-32/+58
2012-03-31uprobes/core: Optimize probe hits with the help of a counterSrikar Dronamraju1-1/+9
2012-03-22Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-24/+27
2012-03-21mmap.c: fix comment for __insert_vm_struct()Kautuk Consul1-3/+2
2012-03-21hugetlbfs: fix alignment of huge page requestsSteven Truelove1-3/+3
2012-03-21mm: search from free_area_cache for the bigger sizeXiao Guangrong1-15/+21
2012-03-21mm: do not reset cached_hole_size when vma is unmappedXiao Guangrong1-3/+1
2012-03-21Merge branch 'vm' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-3/+2
2012-03-21Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-2/+15
2012-03-20VM: make unmap_vmas() return voidAl Viro1-2/+1
2012-03-20VM: don't bother with feeding upper limit to tlb_finish_mmu() in exit_mmap()Al Viro1-1/+1
2012-03-06mm: fix find_vma_prevMikulas Patocka1-2/+10
2012-03-06mmap: EINVAL not ENOMEM when rejecting VM_GROWSHugh Dickins1-1/+2
2012-03-05VM_GROWS{UP,DOWN} shouldn't be set on shmem VMAsAl Viro1-0/+2
2012-02-17uprobes/core: Clean up, refactor and improve the codeIngo Molnar1-6/+6
2012-02-17uprobes, mm, x86: Add the ability to install and remove uprobes breakpointsSrikar Dronamraju1-0/+23
2012-02-14security: trim security.hAl Viro1-0/+13
2012-02-14mm: collapse security_vm_enough_memory() variants into a single functionAl Viro1-2/+2
2012-01-10mm: simplify find_vma_prev()KOSAKI Motohiro1-28/+8
2012-01-10mremap: enforce rmap src/dst vma ordering in case of vma_merge() succeeding i...Andrea Arcangeli1-3/+21
2011-11-06Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2011-10-31mm/mmap.c: eliminate the ret variable from mm_take_all_locks()Kautuk Consul1-6/+3
2011-10-31mm: Map most files to use export.h instead of module.hPaul Gortmaker1-1/+1
2011-07-25mmap: fix and tidy up overcommit page arithmeticDmitry Fink1-21/+13
2011-06-16mm: get rid of the most spurious find_vma_prev() usersLinus Torvalds1-9/+3
2011-05-26mm: don't access vm_flags as 'int'KOSAKI Motohiro1-4/+4
2011-05-25mm: convert anon_vma->lock to a mutexPeter Zijlstra1-5/+5
2011-05-25mm: Convert i_mmap_lock to a mutexPeter Zijlstra1-11/+11
2011-05-25mm: Remove i_mmap_lock lockbreakPeter Zijlstra1-12/+1
2011-05-25mm: mmu_gather reworkPeter Zijlstra1-9/+9
2011-05-25mm: make expand_downwards() symmetrical with expand_upwards()Michal Hocko1-6/+1
2011-05-25mm: nommu: sort mm->mmap list properlyNamhyung Kim1-23/+0
2011-05-25mmap: avoid merging cloned VMAsShaohua Li1-5/+13
2011-05-25mmap: avoid unnecessary anon_vma lockShaohua Li1-1/+1
2011-05-25mmap: add alignment for some variablesShaohua Li1-3/+7
2011-05-09vm: fix vm_pgoff wrap in upward expansionHugh Dickins1-4/+7
2011-04-14brk: COMPAT_BRK: fix detection of randomized brkJiri Kosina1-1/+1
2011-04-13vm: fix vm_pgoff wrap in stack expansionLinus Torvalds1-5/+8
2011-01-13brk: fix min_brk lower bound computation for COMPAT_BRKJiri Kosina1-1/+9
2011-01-13thp: avoid breaking huge pmd invariants in case of vma_adjust failuresAndrea Arcangeli1-0/+2
2011-01-13thp: khugepaged vma mergeAndrea Arcangeli1-0/+5
2010-12-15install_special_mapping skips security_file_mmap check.Tavis Ormandy1-4/+12
2010-10-30audit mmapAl Viro1-0/+2
2010-09-22mmap: call unlink_anon_vmas() in __split_vma() in case of errorAndrea Arcangeli1-0/+1
2010-08-24guard page for stacks that grow upwardsLuck, Tony1-3/+0
2010-08-21mm: make the vma list be doubly linkedLinus Torvalds1-4/+17
2010-08-09mmap: remove unnecessary lock from __vma_linkAndrea Arcangeli1-2/+0
2010-08-09mm: always lock the root (oldest) anon_vmaRik van Riel1-8/+22
2010-08-09mm: change direct call of spin_lock(anon_vma->lock) to inline functionRik van Riel1-1/+1
2010-08-09mm: rename anon_vma_lock to vma_lock_anon_vmaRik van Riel1-7/+7
2010-06-09perf: Add non-exec mmap() trackingEric B Munson1-1/+5
2010-04-27mmap: check ->vm_ops before dereferencingRik van Riel1-1/+2
2010-04-12vma_adjust: fix the copying of anon_vma chainsLinus Torvalds1-16/+8
2010-04-12Simplify and comment on anon_vma re-use for anon_vma_prepare()Linus Torvalds1-24/+62
2010-03-12Add generic sys_old_mmap()Christoph Hellwig1-0/+24
2010-03-06mm: remove VM_LOCK_RMAP codeRik van Riel1-15/+0
2010-03-06mm: change anon_vma linking to fix multi-process server scalability issueRik van Riel1-41/+97
2010-03-06mm: use rlimit helpersJiri Slaby1-6/+7
2010-03-06mm: mlock_vma_pages_range() only return success or failureKOSAKI Motohiro1-2/+2
2010-03-06mm: mlock_vma_pages_range() never return negative valueKOSAKI Motohiro1-9/+2