aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mremap.c
AgeCommit message (Expand)AuthorFilesLines
2023-10-18mm: abstract VMA merge and extend into vma_merge_extend() helperLorenzo Stoakes1-17/+13
2023-10-04mm/mremap: allow moves within the same VMA for stack movesJoel Fernandes (Google)1-14/+19
2023-10-04mm/mremap: optimize the start addresses in move_page_tables()Joel Fernandes (Google)1-0/+62
2023-10-04mm/mremap: fix unaccount of memory on vma_merge() failureAnthony Yznaga1-1/+3
2023-09-16vm: fix move_vma() memory accounting being offLinus Torvalds1-1/+1
2023-08-18mm/huge pud: use transparent huge pud helpers only with CONFIG_TRANSPARENT_HU...Aneesh Kumar K.V1-1/+1
2023-07-01mm: Update do_vmi_align_munmap() return semanticsLiam R. Howlett1-16/+12
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-10/+22
2023-06-21mm: Fix a dangling Documentation/arm64 referenceJonathan Corbet1-1/+2
2023-06-19mm: ptep_get() conversionRyan Roberts1-1/+1
2023-06-19mm/mremap: retry if either pte_offset_map_*lock() failsHugh Dickins1-8/+20
2023-06-09mm/mlock: rename mlock_future_check() to mlock_future_ok()Andrew Morton1-1/+1
2023-06-09mm/mmap: refactor mlock_future_check()Lorenzo Stoakes1-1/+1
2023-04-05mm/mremap: write-lock VMA while remapping it to a new address rangeSuren Baghdasaryan1-0/+1
2023-04-05mm/mremap: simplify vma expansion againVlastimil Babka1-16/+4
2023-03-28x86/mm/pat: clear VM_PAT if copy_p4d_range failedMa Wupeng1-1/+1
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan1-3/+3
2023-02-09mm: replace VM_LOCKED_CLEAR_MASK with VM_LOCKED_MASKSuren Baghdasaryan1-1/+1
2023-02-09mm/mremap: convert vma_adjust() to vma_expand()Liam R. Howlett1-2/+2
2023-02-09mm: don't use __vma_adjust() in __split_vma()Liam R. Howlett1-1/+1
2023-02-09mm: change munmap splitting order and move_vma()Liam R. Howlett1-11/+17
2023-02-09mm: add vma iterator to vma_adjust() argumentsLiam R. Howlett1-2/+2
2023-02-09mm: switch vma_merge(), split_vma(), and __split_vma to vma iteratorLiam R. Howlett1-6/+4
2023-02-09mm/mremap: use vmi version of vma_merge()Liam R. Howlett1-4/+7
2023-02-09mmap: change do_mas_munmap and do_mas_aligned_munmap() to use vma iteratorLiam R. Howlett1-3/+3
2023-02-02mm/mmu_notifier: remove unused mmu_notifier_range_update_to_read_only exportAlistair Popple1-1/+1
2023-01-31mm, mremap: fix mremap() expanding for vma's with vm_ops->close()Vlastimil Babka1-6/+19
2022-12-21mm, mremap: fix mremap() expanding vma with addr inside vmaVlastimil Babka1-1/+2
2022-09-26mm: add merging after mremap resizeJakub Matěna1-2/+17
2022-09-26mm/mremap: use vma_find_intersection() instead of vma linked listLiam R. Howlett1-2/+3
2022-09-26mm/mmap: reorganize munmap to use maple statesLiam R. Howlett1-7/+10
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-11/+5
2022-05-13mm: hugetlb: considering PMD sharing when flushing cache/TLBsBaolin Wang1-1/+1
2022-05-09mm: mremap: fix sign for EFAULT error return valueNiels Dossche1-1/+1
2022-04-28mm/mremap: avoid unneeded do_munmap callMiaohe Lin1-2/+2
2022-04-28mm/mremap: use helper mlock_future_check()Miaohe Lin1-8/+2
2022-04-08mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0)Paolo Bonzini1-0/+3
2022-03-22mm/mremap:: use vma_lookup() instead of find_vma()Miaohe Lin1-2/+2
2021-11-06mm, hugepages: add mremap() support for hugepage backed vmaMina Almasry1-3/+33
2021-11-06mm/mremap: don't account pages in vma_to_resize()Dmitry Safonov1-28/+22
2021-09-03mm/mremap: fix memory account on do_munmap() failureChen Wandun1-1/+1
2021-07-08mm/mremap: allow arch runtime overrideAneesh Kumar K.V1-1/+14
2021-07-08mm/mremap: hold the rmap lock in write mode when moving page table entries.Aneesh Kumar K.V1-2/+2
2021-07-08mm/mremap: use pmd/pud_poplulate to update page table entriesAneesh Kumar K.V1-4/+3
2021-07-08mm/mremap: don't enable optimized PUD move if page table levels is 2Aneesh Kumar K.V1-1/+1
2021-07-08mm/mremap: convert huge PUD move to separate helperAneesh Kumar K.V1-7/+73
2021-06-29mm/mremap: use vma_lookup() in vma_to_resize()Liam Howlett1-2/+3
2021-05-07mm: fix typos in commentsIngo Molnar1-1/+1
2021-04-30Revert "mremap: don't allow MREMAP_DONTUNMAP on special_mappings and aio"Brian Geffon1-1/+1
2021-04-30mm: extend MREMAP_DONTUNMAP to non-anonymous mappingsBrian Geffon1-2/+2
2021-02-24mm: mremap: unlink anon_vmas when mremap with MREMAP_DONTUNMAP successLi Xinhai1-0/+8
2021-02-21Merge tag 'for-linux-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-3/+0
2021-02-12mm: Remove arch_remap() and mm-arch-hooks.hChristophe Leroy1-3/+0
2021-02-09mm/mremap: fix BUILD_BUG_ON() error in get_extentArnd Bergmann1-2/+3
2020-12-29mm/mremap.c: fix extent calculationKalesh Singh1-1/+3
2020-12-15mremap: check if it's possible to split original vmaDmitry Safonov1-1/+10
2020-12-15mremap: don't allow MREMAP_DONTUNMAP on special_mappings and aioDmitry Safonov1-1/+1
2020-12-15mm/mremap: for MREMAP_DONTUNMAP check security_vm_enough_memory_mm()Dmitry Safonov1-23/+13
2020-12-15mm/mremap: account memory on do_munmap() failureDmitry Safonov1-1/+2
2020-12-15mm: speedup mremap on 1GB or larger regionsKalesh Singh1-40/+190
2020-08-07mm/mremap: start addresses are properly alignedWei Yang1-3/+0
2020-08-07mm/mremap: calculate extent in one placeWei Yang1-3/+3
2020-08-07mm/mremap: it is sure to have enough space when extent meets requirementWei Yang1-6/+4
2020-07-13mm: document warning in move_normal_pmd() and make it warn only onceLinus Torvalds1-2/+21
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-4/+4
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-3/+3
2020-06-04Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2020-06-04mm: use false for bool variableZou Wei1-1/+1
2020-06-04mm: Fix mremap not considering huge pmd devmapFan Yang1-1/+1
2020-05-14userfaultfd: fix remap event with MREMAP_DONTUNMAPBrian Geffon1-1/+1
2020-04-19mm: Fix MREMAP_DONTUNMAP accounting on VMA mergeBrian Geffon1-1/+12
2020-04-02mm/mremap: add MREMAP_DONTUNMAP to mremap()Brian Geffon1-21/+69
2020-04-02mm/vma: make is_vma_temporary_stack() available for general useAnshuman Khandual1-1/+1
2020-03-26mm/mremap: Add comment explaining the untagging behaviour of mremap()Will Deacon1-0/+10
2020-02-20mm: Avoid creating virtual address aliases in brk()/mmap()/mremap()Catalin Marinas1-1/+0
2019-12-01mm/mmap.c: use IS_ERR_VALUE to check return value of get_unmapped_areaGaowei Pu1-2/+2
2019-09-25mm: untag user pointers in mmap/munmap/mremap/brkCatalin Marinas1-5/+1
2019-09-25mm: untag user pointers passed to memory syscallsAndrey Konovalov1-0/+7
2019-05-14mm/mmu_notifier: contextual information for event triggering invalidationJérôme Glisse1-1/+2
2019-03-05mm,mremap: bail out earlier in mremap_to under map pressureOscar Salvador1-0/+17
2019-01-04mm: speed up mremap by 20x on large regionsJoel Fernandes (Google)1-0/+64
2019-01-04mm: treewide: remove unused address argument from pte_alloc functionsJoel Fernandes (Google)1-1/+1
2018-12-28mm/mmu_notifier: use structure for invalidate_range_start/end calls v2Jérôme Glisse1-6/+4
2018-10-26mm: mremap: downgrade mmap_sem to read when shrinkingYang Shi1-4/+16
2018-10-18mremap: properly flush TLB before releasing the pageLinus Torvalds1-17/+13
2018-06-15mremap: remove LATENCY_LIMIT from mremap to reduce the number of TLB shootdownsMel Gorman1-4/+0
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-08mm: thp: check pmd migration entry in common pathZi Yan1-1/+1
2017-09-06mm/mremap: fail map duplication attempts for private mappingsMike Kravetz1-0/+13
2017-08-02userfaultfd: non-cooperative: notify about unmap of destination during mremapMike Rapoport1-2/+5
2017-08-02mm, mprotect: flush TLB if potentially racing with a parallel reclaim leaving...Mel Gorman1-0/+1
2017-03-09mm: convert generic code to 5-level pagingKirill A. Shutemov1-2/+11
2017-02-24userfaultfd: non-cooperative: add event for memory unmapsMike Rapoport1-9/+14
2017-02-22userfaultfd: non-cooperative: optimize mremap_userfaultfd_complete()Andrea Arcangeli1-1/+1
2017-02-22userfaultfd: non-cooperative: add mremap() eventPavel Emelyanov1-5/+12
2016-11-29mremap: move_ptes: check pte dirty after its removalAaron Lu1-4/+8
2016-11-17mremap: fix race between mremap() and page cleanningAaron Lu1-9/+21
2016-07-26mm: thp: check pmd_trans_unstable() after split_huge_pmd()Naoya Horiguchi1-2/+1
2016-05-23mm: make mmap_sem for write waits killable for mm syscallsMichal Hocko1-1/+2
2016-05-19huge pagecache: extend mremap pmd rmap lockout to filesHugh Dickins1-20/+22
2016-05-19huge mm: move_huge_pmd does not need new_vmaHugh Dickins1-3/+2
2016-03-17mm: cleanup *pte_alloc* interfacesKirill A. Shutemov1-2/+1
2016-03-17mm: move max_map_count bits into mm.hAndrey Ryabinin1-1/+0
2016-02-11mm, dax: check for pmd_none() after split_huge_pmd()Kirill A. Shutemov1-0/+2
2016-01-15mm, thp: remove infrastructure for handling splitting PMDsKirill A. Shutemov1-8/+7
2016-01-15thp: rename split_huge_page_pmd() to split_huge_pmd()Kirill A. Shutemov1-1/+1
2016-01-14mm: rework virtual memory accountingKonstantin Khlebnikov1-3/+4
2016-01-05x86/mm/pat: Add untrack_pfn_moved for mremapToshi Kani1-0/+4
2015-11-05mm/mremap: use offset_in_page macroAlexander Kuleshov1-6/+6
2015-09-04mremap: simplify the "overlap" check in mremap_to()Oleg Nesterov1-7/+2
2015-09-04mremap: don't do uneccesary checks if new_len == old_lenOleg Nesterov1-10/+11
2015-09-04mremap: don't do mm_populate(new_addr) on failureOleg Nesterov1-1/+3
2015-09-04mm: move ->mremap() from file_operations to vm_operations_structOleg Nesterov1-2/+2
2015-09-04mremap: don't leak new_vma if f_op->mremap() failsOleg Nesterov1-9/+7
2015-06-24mm: new arch_remap() hookLaurent Dufour1-6/+11
2015-04-15mm/mremap.c: clean up goto just return ERR_PTRDerek1-17/+8
2015-04-15mremap should return -ENOMEM when __vm_enough_memory failDerek1-1/+1
2015-04-06fix mremap() vs. ioctx_kill() raceAl Viro1-2/+8
2015-02-10mm: remove rest usage of VM_NONLINEAR and pte_file()Kirill A. Shutemov1-2/+0
2014-12-14Merge git://git.kvack.org/~bcrl/aio-nextLinus Torvalds1-1/+2
2014-12-13aio: Make it possible to remap aio ringPavel Emelyanov1-1/+2
2014-12-13mm: convert i_mmap_mutex to rwsemDavidlohr Bueso1-1/+1
2014-12-13mm: use new helper functions around the i_mmap_mutexDavidlohr Bueso1-2/+2
2014-10-09mm/mremap.c: use linux headersPaul McQuade1-1/+1
2014-10-09mm: convert a few VM_BUG_ON callers to VM_BUG_ON_VMASasha Levin1-1/+2
2014-05-11mm, thp: close race between mremap() and split_huge_page()Kirill A. Shutemov1-1/+8
2013-10-16mm: revert mremap pud_free anti-fixHugh Dickins1-4/+1
2013-09-11mm/mremap.c: call pud_free() after fail calling pmd_alloc()Chen Gang1-1/+4
2013-08-27mm: move_ptes -- Set soft dirty bit depending on pte typeCyrill Gorcunov1-1/+20
2013-07-09mm: mremap: validate input before taking lockRasmus Villemoes1-8/+10
2013-07-03mm: soft-dirty bits for user memory changes trackingPavel Emelyanov1-1/+1
2013-02-23mm/rmap: rename anon_vma_unlock() => anon_vma_unlock_write()Konstantin Khlebnikov1-1/+1
2013-02-23mm: use mm_populate() for mremap() of VM_LOCKED vmasMichel Lespinasse1-12/+13
2013-02-07sched: Move sched.h sysctl bits into separate headerClark Williams1-0/+1
2012-12-16Merge tag 'balancenuma-v11' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2012-12-12thp: change split_huge_page_pmd() interfaceKirill A. Shutemov1-1/+1
2012-12-11mm/rmap, migration: Make rmap_walk_anon() and try_to_unmap_anon() more scalableIngo Molnar1-1/+1
2012-10-09mm: move all mmu notifier invocations to be done outside the PT lockSagi Grimberg1-2/+6
2012-10-09mm: avoid taking rmap locks in move_ptes()Michel Lespinasse1-18/+39
2012-10-09mm anon rmap: remove anon_vma_moveto_tailMichel Lespinasse1-9/+5
2012-07-31mm: account the total_vm in the vm_stat_account()Huang Shijie1-2/+0
2012-06-01move security_mmap_addr() to saner placeAl Viro1-7/+0
2012-05-31split ->file_mmap() into ->mmap_addr()/->mmap_file()Al Viro1-2/+2
2012-05-30merge do_mremap() into sys_mremap()Al Viro1-14/+5
2012-02-14mm: collapse security_vm_enough_memory() variants into a single functionAl Viro1-1/+1
2012-01-10mremap: enforce rmap src/dst vma ordering in case of vma_merge() succeeding i...Andrea Arcangeli1-0/+9
2011-10-31thp: mremap support and TLB optimizationAndrea Arcangeli1-4/+18
2011-10-31mremap: avoid sending one IPI per pageAndrea Arcangeli1-6/+9
2011-10-31mremap: check for overflow using deltasAndrea Arcangeli1-2/+3
2011-05-25mm: Convert i_mmap_lock to a mutexPeter Zijlstra1-2/+2
2011-05-25mm: Remove i_mmap_lock lockbreakPeter Zijlstra1-1/+0
2011-04-07mm: avoid wrapping vm_pgoff in mremap()Linus Torvalds1-2/+9
2011-02-23mm: fix possible cause of a page_mapped BUGHugh Dickins1-3/+1
2011-01-13thp: split_huge_page_mm/vmaAndrea Arcangeli1-0/+1
2011-01-13thp: pte alloc trans splittingAndrea Arcangeli1-3/+5
2010-10-26mm: remove pte_*map_nested()Peter Zijlstra1-2/+2
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-1/+0
2010-03-06mm: change anon_vma linking to fix multi-process server scalability issueRik van Riel1-2/+5
2010-03-06mm: use rlimit helpersJiri Slaby1-1/+1
2009-12-11Take arch_mmap_check() into get_unmapped_area()Al Viro1-12/+3
2009-12-11fix pgoff in "have to relocate" case of mremap()Al Viro1-1/+3
2009-12-11fix the arch checks in MREMAP_FIXED caseAl Viro1-2/+17
2009-12-11fix checks for expand-in-place mremapAl Viro1-2/+11
2009-12-11do_mremap() untangling, part 3Al Viro1-4/+12
2009-12-11do_mremap() untangling, part 2Al Viro1-48/+72
2009-12-11untangling do_mremap(), part 1Al Viro1-33/+55
2009-09-24truncate: new helpersnpiggin@suse.de1-2/+2
2009-09-22ksm: mremap use err from ksm_madviseHugh Dickins1-3/+5
2009-09-22ksm: prevent mremap move poisoningHugh Dickins1-0/+12
2009-01-14[CVE-2009-0029] System call wrappers part 13Heiko Carstens1-3/+3
2009-01-14[CVE-2009-0029] Convert all system calls to return a longHeiko Carstens1-1/+1
2009-01-05mm: update my addressAlan Cox1-1/+1
2008-10-20mmap: handle mlocked pages during map, remap, unmapRik van Riel1-3/+5
2008-07-28mmu-notifiers: coreAndrea Arcangeli1-0/+6
2007-10-18sparse pointer use of zero as nullStephen Hemminger1-2/+2
2007-07-19mm: variable length argument supportOllie Wild1-1/+1
2007-07-11security: Protection for exploiting null dereference using mmapEric Paris1-2/+11
2007-01-30[PATCH] mm: mremap correct rmap accountingHugh Dickins1-1/+0
2006-10-01[PATCH] paravirt: lazy mmu mode hooks.patchZachary Amsden1-0/+2
2006-07-03[PATCH] lockdep: annotate mmIngo Molnar1-1/+1
2006-01-11[PATCH] move capable() to capability.hRandy.Dunlap1-0/+1
2005-12-16Make sure we copy pages inserted with "vm_insert_page()" on forkLinus Torvalds1-1/+1
2005-10-29[PATCH] mm: split page table lockHugh Dickins1-1/+10
2005-10-29[PATCH] mm: ptd_alloc take ptlockHugh Dickins1-18/+9
2005-10-29[PATCH] mm: ptd_alloc inline and outHugh Dickins1-6/+1
2005-10-29[PATCH] mm: update_hiwaters just in timeHugh Dickins1-2/+10
2005-10-29[PATCH] mm: do_mremap current mmHugh Dickins1-9/+9
2005-10-29[PATCH] mm: move_page_tables by extentsHugh Dickins1-96/+72
2005-10-29[PATCH] mm: vm_stat_account unshackledHugh Dickins1-2/+2
2005-09-28[PATCH] mm: move_pte to remap ZERO_PAGENick Piggin1-3/+3
2005-09-05[PATCH] mm: remap ZERO_PAGE mappingsNick Piggin1-0/+4
2005-08-04[PATCH] fix VmSize and VmData after mremapHugh Dickins1-1/+1
2005-05-17[PATCH] mm acct accounting fixKirill Korotaev1-1/+6
2005-05-01[PATCH] RLIMIT_AS checking fixakpm@osdl.org1-3/+3
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+426