aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mlock.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-04mm: make folios_put() the basis of release_pages()Matthew Wilcox (Oracle)1-2/+1
2023-10-25mm: mlock: avoid folio_within_range() on KSM pagesHugh Dickins1-0/+4
2023-10-18mm: abstract the vma_merge()/split_vma() pattern for mprotect() et al.Lorenzo Stoakes1-21/+4
2023-10-04mm: mlock: update mlock_pte_range to handle large folioYin Fengwei1-2/+64
2023-08-21merge mm-hotfixes-stable into mm-stable to pick up depended-upon changesAndrew Morton1-0/+1
2023-08-21mm: lock vma explicitly before doing vm_flags_reset and vm_flags_reset_onceSuren Baghdasaryan1-1/+2
2023-08-21mm: enable page walking API to lock vmas during the walkSuren Baghdasaryan1-0/+1
2023-07-17mm/mlock: fix vma iterator conversion of apply_vma_lock_flags()Liam R. Howlett1-4/+5
2023-06-19mm: ptep_get() conversionRyan Roberts1-2/+4
2023-06-19mm/pagewalkers: ACTION_AGAIN if pte_offset_map_lock() failsHugh Dickins1-0/+4
2023-04-18mm: mlock: use folios_put() in mlock_folio_batch()Qi Zheng1-1/+1
2023-02-09mm: introduce vm_flags_reset_once to replace WRITE_ONCE vm_flags updatesSuren Baghdasaryan1-2/+2
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-3/+3
2023-02-09mm: switch vma_merge(), split_vma(), and __split_vma to vma iteratorLiam R. Howlett1-3/+3
2023-02-09mlock: convert mlock to vma iteratorLiam R. Howlett1-29/+28
2023-02-02mm: remove mlock_vma_page()Matthew Wilcox (Oracle)1-2/+2
2023-02-02mm: mlock: update the interface to use foliosLorenzo Stoakes1-20/+18
2023-02-02mm: mlock: use folios and a folio batch internallyLorenzo Stoakes1-122/+124
2022-09-26mm/mlock: drop dead code in count_mm_mlocked_page_nr()Liam Howlett1-3/+1
2022-09-26mm/mlock: use vma iterator and maple state instead of vma linked listMatthew Wilcox (Oracle)1-16/+19
2022-07-17mm: handling Non-LRU pages returned by vm_normal_pagesAlex Sierra1-1/+1
2022-04-01mm/munlock: protect the per-CPU pagevec by a local_lock_tSebastian Andrzej Siewior1-10/+36
2022-03-28Merge tag 'ucount-rlimit-for-v5.18' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-4/+3
2022-03-23mm/mlock: fix two bugs in user_shm_lock()Miaohe Lin1-4/+3
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-372/+266
2022-03-22mm/mlock: fix potential imbalanced rlimit ucounts adjustmentMiaohe Lin1-0/+1
2022-03-21mm/mlock: Add mlock_vma_folio()Matthew Wilcox (Oracle)1-11/+11
2022-03-05mm: refactor vm_area_struct::anon_vma_name usage codeSuren Baghdasaryan1-1/+1
2022-02-17mm/munlock: mlock_page() munlock_page() batch by pagevecHugh Dickins1-34/+185
2022-02-17mm/munlock: mlock_pte_range() when mlocking or munlockingHugh Dickins1-22/+89
2022-02-17mm/munlock: maintain page->mlock_count while unevictableHugh Dickins1-14/+54
2022-02-17mm/munlock: replace clear_page_mlock() by final clearanceHugh Dickins1-30/+0
2022-02-17mm/munlock: rmap call mlock_vma_page() munlock_vma_page()Hugh Dickins1-14/+7
2022-02-17mm/munlock: delete munlock_vma_pages_all(), allow oomreapHugh Dickins1-2/+2
2022-02-17mm/munlock: delete page_mlock() and all its worksHugh Dickins1-351/+24
2022-01-15mm: add a field to store names for private anonymous memoryColin Cross1-1/+1
2021-09-27mm/memcg: Add folio_lruvec_relock_irq() and folio_lruvec_relock_irqsave()Matthew Wilcox (Oracle)1-1/+2
2021-07-08mm: introduce memfd_secret system call to create "secret" memory areasMike Rapoport1-1/+2
2021-07-02Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-6/+6
2021-07-01mm/rmap: split try_to_munlock from try_to_unmapAlistair Popple1-6/+6
2021-06-28Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-8/+14
2021-05-05mm/mempool: minor coding style tweaksZhiyuan Dai1-2/+2
2021-04-30Reimplement RLIMIT_MEMLOCK on top of ucountsAlexey Gladkov1-8/+14
2021-02-26mm/mlock: stop counting mlocked pages when none vma is foundMiaohe Lin1-1/+1
2021-02-24mm/swap.c: don't pass "enum lru_list" to del_page_from_lru_list()Yu Zhao1-2/+1
2020-12-15mm/lru: introduce relock_page_lruvec()Alexander Duyck1-10/+1
2020-12-15mm/lru: replace pgdat lru_lock with lruvec lockAlex Shi1-6/+16
2020-12-15mm/lru: introduce TestClearPageLRU()Alex Shi1-2/+1
2020-12-15mm/mlock: remove __munlock_isolate_lru_page()Alex Shi1-22/+9
2020-12-15mm/mlock: remove lru_lock on TestClearPageMlockedAlex Shi1-21/+5
2020-09-19mlock: fix unevictable_pgs event counts on THPHugh Dickins1-9/+15
2020-08-14mm: replace hpage_nr_pages with thp_nr_pagesMatthew Wilcox (Oracle)1-5/+4
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-3/+3
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-8/+8
2019-09-25mm: untag user pointers passed to memory syscallsAndrey Konovalov1-0/+4
2019-06-13mm/mlock.c: change count_mm_mlocked_page_nr return typeswkhack1-2/+2
2019-06-13mm/mlock.c: mlockall error for flag MCL_ONFAULTPotyra, Stefan1-1/+2
2019-03-05mm: remove zone_lru_lock() function, access ->lru_lock directlyAndrey Ryabinin1-7/+7
2018-08-17dax: remove VM_MIXEDMAP for fsdax and device daxDave Jiang1-1/+2
2018-02-21mm, mlock, vmscan: no more skipping pagevecsShakeel Butt1-0/+6
2018-02-06mm: docs: fixup punctuationMike Rapoport1-1/+1
2017-11-28mm: Eliminate cond_resched_rcu_qs() in favor of cond_resched()Paul E. McKenney1-1/+1
2017-11-15mm: mlock: remove lru_add_drain_all()Shakeel Butt1-5/+0
2017-11-15mm, pagevec: remove cold parameter for pagevecsMel Gorman1-2/+2
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-08mm/mlock.c: use page_zone() instead of page_zone_id()Joonsoo Kim1-6/+4
2017-06-02mlock: fix mlock count can not decrease in race conditionYisheng Xie1-2/+3
2017-05-03mm: make try_to_munlock() return voidMinchan Kim1-4/+2
2017-03-10Merge branch 'prep-for-5level'Linus Torvalds1-0/+1
2017-03-09thp: fix another corner case of munlock() vs. THPsKirill A. Shutemov1-5/+4
2017-03-09mm: convert generic code to 5-level pagingKirill A. Shutemov1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2016-11-30thp: fix corner case of munlock() of PTE-mapped THPsKirill A. Shutemov1-2/+5
2016-10-07mm: mlock: avoid increase mm->locked_vm on mlock() when already mlock2(,MLOCK...Simon Guo1-0/+3
2016-10-07mm: mlock: check against vma for actual mlock() sizeSimon Guo1-0/+49
2016-07-28mm, vmscan: move LRU lists to nodeMel Gorman1-1/+1
2016-07-28mm, vmscan: move lru_lock to the nodeMel Gorman1-5/+5
2016-05-23mm: make mmap_sem for write waits killable for mm syscallsMichal Hocko1-6/+10
2016-01-21mm: fix mlock accoutingKirill A. Shutemov1-1/+1
2016-01-15mm/mlock.c: change can_do_mlock return value type to booleanWang Xiaoqiang1-4/+4
2016-01-15thp: allow mlocked THP againKirill A. Shutemov1-21/+47
2016-01-15thp, mlock: do not allow huge pages in mlocked areaKirill A. Shutemov1-32/+19
2016-01-14mm/mlock.c: drop unneeded initialization in munlock_vma_pages_range()Alexey Klimov1-1/+1
2015-11-05mm: mlock: add mlock flags to enable VM_LOCKONFAULT usageEric B Munson1-13/+38
2015-11-05mm: introduce VM_LOCKONFAULTEric B Munson1-1/+1
2015-11-05mm: mlock: add new mlock system callEric B Munson1-0/+8
2015-11-05mm: mlock: refactor mlock, munlock, and munlockall codeEric B Munson1-13/+17
2015-11-05mm/mlock: use offset_in_page macroAlexander Kuleshov1-3/+3
2015-11-05mm/mlock.c: reorganize mlockall() return values and remove goto-out labelAlexey Klimov1-5/+4
2015-09-04userfaultfd: teach vma_merge to merge across vma->vm_userfaultfd_ctxAndrea Arcangeli1-1/+2
2015-04-14mm: move mm_populate()-related code to mm/gup.cKirill A. Shutemov1-118/+0
2015-04-14mm: move gup() -> posix mlock() error conversion out of __mm_populateKirill A. Shutemov1-4/+7
2015-04-14mm: rename __mlock_vma_pages_range() to populate_vma_page_range()Kirill A. Shutemov1-6/+6
2015-04-14mm: rename FOLL_MLOCK to FOLL_POPULATEKirill A. Shutemov1-1/+1
2015-03-12mm: reorder can_do_mlock to fix audit denialJeff Vander Stoep1-2/+2
2014-10-13Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2014-10-09mm: use VM_BUG_ON_MM where possibleSasha Levin1-1/+1
2014-10-09mm: convert a few VM_BUG_ON callers to VM_BUG_ON_VMASasha Levin1-2/+2
2014-09-07rcu: Provide cond_resched_rcu_qs() to force quiescent states in long loopsPaul E. McKenney1-1/+1
2014-08-06mm: describe mmap_sem rules for __lock_page_or_retry() and callersPaul Cassella1-1/+8
2014-04-07mm: try_to_unmap_cluster() should lock_page() before mlockingVlastimil Babka1-0/+2
2014-01-23mm: dump page when hitting a VM_BUG_ON using VM_BUG_ON_PAGESasha Levin1-2/+2
2014-01-23mm: munlock: fix potential race with THP page splitVlastimil Babka1-44/+60
2014-01-21mm/mlock: prepare params outside critical regionDavidlohr Bueso1-7/+11
2014-01-02mm: munlock: fix deadlock in __munlock_pagevec()Vlastimil Babka1-5/+10
2014-01-02mm: munlock: fix a bug where THP tail page is encounteredVlastimil Babka1-7/+22
2013-09-30mm/mlock.c: prevent walking off the end of a pagetable in no-pmd configurationVlastimil Babka1-2/+6
2013-09-24mm: Place preemption point in do_mlockall() loopPaul E. McKenney1-0/+1
2013-09-11mm: munlock: manual pte walk in fast path instead of follow_page_mask()Vlastimil Babka1-31/+79
2013-09-11mm: munlock: remove redundant get_page/put_page pair on the fast pathVlastimil Babka1-12/+14
2013-09-11mm: munlock: bypass per-cpu pvec for putback_lru_pageVlastimil Babka1-4/+69
2013-09-11mm: munlock: batch NR_MLOCK zone state updatesVlastimil Babka1-3/+3
2013-09-11mm: munlock: batch non-THP page isolation and munlock+putback using pagevecVlastimil Babka1-40/+156
2013-09-11mm: munlock: remove unnecessary call to lru_add_drain()Vlastimil Babka1-1/+0
2013-03-28Revert "mm: introduce VM_POPULATE flag to better deal with racy userspace pro...Michel Lespinasse1-6/+5
2013-02-27mm: accelerate munlock() treatment of THP pagesMichel Lespinasse1-11/+23
2013-02-23mm: use long type for page counts in mm_populate() and get_user_pages()Michel Lespinasse1-2/+2
2013-02-23mm/mlock.c: document scary-looking stack expansion mlock chainJohannes Weiner1-0/+4
2013-02-23mm: introduce VM_POPULATE flag to better deal with racy userspace programsMichel Lespinasse1-9/+10
2013-02-23mm: directly use __mlock_vma_pages_range() in find_extend_vma()Michel Lespinasse1-54/+3
2013-02-23mm: introduce mm_populate() for populating new vmasMichel Lespinasse1-6/+11
2013-02-12mm: don't overwrite mm->def_flags in do_mlockall()Gerald Schaefer1-3/+3
2012-10-09mm, thp: fix mlock statisticsDavid Rientjes1-3/+6
2012-10-09mm: use clear_page_mlock() in page_remove_rmap()Hugh Dickins1-13/+3
2012-10-09mm: kill vma flag VM_RESERVED and mm->reserved_vm counterKonstantin Khlebnikov1-1/+1
2012-03-06vm: avoid using find_vma_prev() unnecessarilyLinus Torvalds1-1/+2
2011-11-06Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2011-10-31mm: munlock use mapcount to avoid terrible overheadHugh Dickins1-1/+9
2011-10-31mm: do not drain pagevecs for mlockall(MCL_FUTURE)Christoph Lameter1-1/+2
2011-10-31mm: Map most files to use export.h instead of module.hPaul Gortmaker1-1/+1
2011-05-26mm: don't access vm_flags as 'int'KOSAKI Motohiro1-4/+4
2011-05-04VM: skip the stack guard page lookup in get_user_pages only for mlockLinus Torvalds1-4/+1
2011-04-12vm: fix mlock() on stack guard pageLinus Torvalds1-13/+0
2011-03-23mm: arch: make get_gate_vma take an mm_struct instead of a task_structStephen Wilson1-2/+2
2011-02-02mlock: operate on any regions with protection != PROT_NONEMichel Lespinasse1-0/+7
2011-01-13mlock: do not hold mmap_sem for extended periods of timeMichel Lespinasse1-17/+23
2011-01-13mm: move VM_LOCKED check to __mlock_vma_pages_range()Michel Lespinasse1-13/+13
2011-01-13mm: add FOLL_MLOCK follow_page flag.Michel Lespinasse1-60/+5
2011-01-13mlock: only hold mmap_sem in shared mode when faulting in pagesMichel Lespinasse1-17/+64
2011-01-13mlock: avoid dirtying pages and triggering writebackMichel Lespinasse1-1/+6
2010-09-09mm: Move vma_stack_continue into mm.hStefan Bader1-6/+0
2010-08-21mm: make the mlock() stack guard page checks stricterLinus Torvalds1-5/+16
2010-08-15mm: fix up some user-visible effects of the stack guard pageLinus Torvalds1-0/+8
2010-03-26x86, perf, bts, mm: Delete the never used BTS-ptrace codePeter Zijlstra1-41/+0
2010-03-06mm: use rlimit helpersJiri Slaby1-6/+6
2009-12-15mlock: replace stale comments in munlock_vma_page()Lee Schermerhorn1-22/+19
2009-12-15ksm: fix mlockfreed to munlockedHugh Dickins1-2/+2
2009-12-15mm: mlocking in try_to_unmap_oneHugh Dickins1-1/+1
2009-09-22mm: m(un)lock avoid ZERO_PAGEHugh Dickins1-13/+36
2009-09-22mm: FOLL flags for GUP flagsHugh Dickins1-2/+2
2009-09-22mm: munlock use follow_pageHugh Dickins1-59/+40
2009-06-16mm: remove CONFIG_UNEVICTABLE_LRU config optionKOSAKI Motohiro1-22/+0
2009-04-24x86, bts, mm: clean up buffer allocationMarkus Metzger1-19/+17
2009-04-08mm, x86, ptrace, bts: defer branch trace stopping, remove dead codeIngo Molnar1-6/+0
2009-04-07mm, x86, ptrace, bts: defer branch trace stoppingMarkus Metzger1-7/+6
2009-02-17Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+6
2009-02-11x86, ptrace, mm: fix double-free on raceMarkus Metzger1-1/+6
2009-02-08mm: fix error case in mlock downgrade reversionHugh Dickins1-1/+4
2009-02-01Manually revert "mlock: downgrade mmap sem while populating mlocked regions"Linus Torvalds1-45/+2
2009-01-14[CVE-2009-0029] System call wrappers part 14Heiko Carstens1-2/+2
2009-01-14[CVE-2009-0029] System call wrappers part 13Heiko Carstens1-2/+2
2009-01-06mm: make get_user_pages() interruptibleYing Han1-4/+5
2008-12-20x86, bts: memory accountingMarkus Metzger1-0/+45
2008-11-16unitialized return value in mm/mlock.c: __mlock_vma_pages_range()Helge Deller1-1/+1
2008-11-12mm: remove lru_add_drain_all() from the munlock pathKOSAKI Motohiro1-10/+6
2008-10-20mlock: make mlock error return Posixly CorrectLee Schermerhorn1-6/+27
2008-10-20vmstat: mlocked pages statisticsNick Piggin1-5/+36
2008-10-20mmap: handle mlocked pages during map, remap, unmapRik van Riel1-131/+90
2008-10-20mlock: downgrade mmap sem while populating mlocked regionsLee Schermerhorn1-3/+43
2008-10-20mlock: mlocked pages are unevictableNick Piggin1-19/+375
2008-08-04mlock() fix return valuesKOSAKI Motohiro1-2/+0
2007-07-16do not limit locked memory when RLIMIT_MEMLOCK is RLIM_INFINITYHerbert van den Bergh1-1/+4
2007-05-21Detach sched.h from mm.hAlexey Dobriyan1-0/+11
2006-12-07[PATCH] mlock cleanupRik Bobbaers1-1/+1
2006-01-11[PATCH] move capable() to capability.hRandy.Dunlap1-0/+1
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+253