aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mprotect.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-21mprotect: use pfn_swap_entry_folioMatthew Wilcox (Oracle)1-2/+2
2023-10-25mm: mprotect: use a folio in change_pte_range()Kefeng Wang1-7/+9
2023-10-18mm: abstract the vma_merge()/split_vma() pattern for mprotect() et al.Lorenzo Stoakes1-25/+4
2023-10-18mm/mprotect: allow unfaulted VMAs to be unaccounted on mprotect()Lorenzo Stoakes1-2/+11
2023-08-31Merge tag 'x86_shstk_for_6.6-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
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-0/+1
2023-08-21mm: enable page walking API to lock vmas during the walkSuren Baghdasaryan1-0/+1
2023-08-18mm/mprotect: fix obsolete function name in change_pte_range()Miaohe Lin1-1/+1
2023-08-18mm: make PTE_MARKER_SWAPIN_ERROR more generalAxel Rasmussen1-2/+2
2023-07-11mm: Make pte_mkwrite() take a VMARick Edgecombe1-1/+1
2023-06-23Merge mm-hotfixes-stable into mm-stable to pick up depended-upon changes.Andrew Morton1-1/+1
2023-06-19mm: ptep_get() conversionRyan Roberts1-3/+5
2023-06-19mm/mprotect: delete pmd_none_or_clear_bad_unless_trans_huge()Hugh Dickins1-57/+17
2023-06-19mm: use pmdp_get_lockless() without surplus barrier()Hugh Dickins1-5/+0
2023-06-19mm/mprotect: fix do_mprotect_pkey() limit checkLiam R. Howlett1-1/+1
2023-04-18mm/userfaultfd: don't consider uffd-wp bit of writable migration entriesDavid Hildenbrand1-2/+0
2023-04-16sync mm-stable with mm-hotfixes-stable to pick up depended-upon upstream changesAndrew Morton1-1/+1
2023-04-16mm/mprotect: fix do_mprotect_pkey() return on errorLiam R. Howlett1-1/+1
2023-04-05mm/uffd: UFFD_FEATURE_WP_UNPOPULATEDPeter Xu1-10/+41
2023-03-23mm: fix error handling for map_deny_write_execJoey Gouly1-1/+1
2023-02-25mm/mprotect: Fix successful vma_merge() of next in do_mprotect_pkey()Liam R. Howlett1-0/+1
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan1-1/+1
2023-02-09mm: switch vma_merge(), split_vma(), and __split_vma to vma iteratorLiam R. Howlett1-3/+3
2023-02-09mm: change mprotect_fixup to vma iteratorLiam R. Howlett1-25/+22
2023-02-02mm: implement memory-deny-write-execute as a prctlJoey Gouly1-0/+5
2023-02-02mm/mmu_notifier: remove unused mmu_notifier_range_update_to_read_only exportAlistair Popple1-1/+1
2023-01-18mm/uffd: detect pgtable allocation failuresPeter Xu1-21/+42
2023-01-18mm/mprotect: use long for page accountings and retvalPeter Xu1-13/+13
2023-01-18mm/mprotect: drop pgprot_t parameter from change_protection()David Hildenbrand1-3/+15
2023-01-18mm/uffd: always wr-protect pte in pte|pmd_mkuffd_wp()Peter Xu1-4/+2
2023-01-18mm: fix a few rare cases of using swapin error pte markerPeter Xu1-1/+7
2022-12-17Merge tag 'x86_mm_for_6.2_v2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2022-12-15mm: Rename pmd_read_atomic()Peter Zijlstra1-1/+1
2022-11-30mm/autonuma: use can_change_(pte|pmd)_writable() to replace savedwriteDavid Hildenbrand1-5/+2
2022-11-30mm/mprotect: factor out check whether manual PTE write upgrades are requiredDavid Hildenbrand1-13/+4
2022-11-30mm/mprotect: minor can_change_pte_writable() cleanupsDavid Hildenbrand1-5/+14
2022-11-30mm/mprotect: allow clean exclusive anon pages to be writableNadav Amit1-4/+3
2022-11-08Revert "mm/uffd: fix warning without PTE_MARKER_UFFD_WP compiled in"Peter Xu1-2/+0
2022-11-08mm: mprotect: use VM_ACCESS_FLAGSKefeng Wang1-2/+1
2022-10-12mm/uffd: fix warning without PTE_MARKER_UFFD_WP compiled inPeter Xu1-0/+2
2022-09-26mm/mprotect: use maple tree navigation instead of VMA linked listLiam R. Howlett1-3/+5
2022-09-26mm/demotion: update node_is_toptier to work with memory tiersAneesh Kumar K.V1-0/+1
2022-09-11memory tiering: hot page selection with hint page fault latencyHuang Ying1-1/+7
2022-08-28mm/mprotect: only reference swap pfn page if type matchPeter Xu1-1/+2
2022-07-29mm/mprotect: fix soft-dirty check in can_change_pte_writable()Peter Xu1-1/+1
2022-07-17mm/mprotect: remove the redundant initialization for errorXiu Jianfeng1-1/+1
2022-07-17mm: handling Non-LRU pages returned by vm_normal_pagesAlex Sierra1-1/+1
2022-07-03mm/mprotect: try avoiding write faults for exclusive anonymous pages when cha...David Hildenbrand1-15/+62
2022-05-13mm/hugetlb: handle UFFDIO_WRITEPROTECTPeter Xu1-1/+2
2022-05-13mm/shmem: allows file-back mem to be uffd wr-protected on thpsPeter Xu1-1/+8
2022-05-13mm/shmem: allow uffd wr-protect none pte for file-backed memPeter Xu1-2/+62
2022-05-13mm: teach core mm about pte markersPeter Xu1-0/+3
2022-05-13mm/mprotect: do not flush when not required architecturallyNadav Amit1-1/+2
2022-05-13mm/mprotect: use mmu_gatherNadav Amit1-42/+50
2022-05-09mm: remember exclusively mapped anonymous pages with PG_anon_exclusiveDavid Hildenbrand1-2/+6
2022-03-22memory tiering: skip to scan fast memoryHuang Ying1-1/+12
2022-03-05mm: refactor vm_area_struct::anon_vma_name usage codeSuren Baghdasaryan1-1/+1
2022-02-17mm: don't try to NUMA-migrate COW pages that have other usesLinus Torvalds1-1/+1
2022-01-15mm: add a field to store names for private anonymous memoryColin Cross1-1/+1
2021-11-06mm/mprotect.c: avoid repeated assignment in do_mprotect_pkey()Liu Song1-1/+4
2021-07-01mm: device exclusive memory accessAlistair Popple1-0/+8
2021-07-01mm/swapops: rework swap entry manipulation codeAlistair Popple1-4/+6
2021-05-07mm: fix typos in commentsIngo Molnar1-1/+1
2021-02-24mm/mprotect.c: optimize error detection in do_mprotect_pkey()Tianjia Zhang1-3/+4
2020-11-17mm: Add 'mprotect' hook to struct vm_operations_structSean Christopherson1-0/+7
2020-09-04mm: Introduce arch_validate_flags()Catalin Marinas1-0/+6
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-6/+6
2020-06-09mm: introduce include/linux/pgtable.hMike Rapoport1-1/+1
2020-04-10mm/vma: introduce VM_ACCESS_FLAGSAnshuman Khandual1-2/+2
2020-04-07userfaultfd: wp: support swap and page migrationPeter Xu1-11/+17
2020-04-07userfaultfd: wp: apply _PAGE_UFFD_WP bitPeter Xu1-0/+17
2020-04-07mm: merge parameters for change_protection()Peter Xu1-13/+16
2020-04-07mm: code cleanup for MADV_FREEHuang Ying1-1/+1
2020-03-06mm, numa: fix bad pmd by atomically check for pmd_trans_huge when marking pag...Mel Gorman1-2/+36
2019-12-01autonuma: reduce cache footprint when scanning page tablesHuang Ying1-4/+4
2019-09-25mm: untag user pointers passed to memory syscallsAndrey Konovalov1-0/+2
2019-09-07pagewalk: separate function pointers from iterator dataChristoph Hellwig1-15/+9
2019-09-07mm: split out a new pagewalk.h header from mm.hChristoph Hellwig1-1/+1
2019-05-14mm/mprotect.c: fix compilation warning because of unused 'mm' variableMike Rapoport1-3/+2
2019-05-14mm/mmu_notifier: use correct mmu_notifier events for each invalidationJérôme Glisse1-2/+3
2019-05-14mm/mmu_notifier: contextual information for event triggering invalidationJérôme Glisse1-1/+2
2019-03-05mm: update ptep_modify_prot_commit to take old pte value as argAneesh Kumar K.V1-3/+3
2019-03-05mm: update ptep_modify_prot_start/commit to take vm_area_struct as argAneesh Kumar K.V1-2/+2
2018-12-28mm/mmu_notifier: use structure for invalidate_range_start/end calls v2Jérôme Glisse1-7/+8
2018-06-20x86/speculation/l1tf: Disallow non privileged high MMIO PROT_NONE mappingsAndi Kleen1-0/+49
2018-04-11sched/numa: avoid trapping faults and attempting migration of file-backed dir...Mel Gorman1-0/+9
2018-03-18mm: Clear arch specific VM flags on protection changeKhalid Aziz1-1/+1
2018-03-18mm: Add address parameter to arch_validate_prot()Khalid Aziz1-1/+1
2018-01-31mm: numa: do not trap faults on shared data section pages.Henry Willard1-0/+5
2018-01-04mm/mprotect: add a cond_resched() inside change_pmd_range()Anshuman Khandual1-2/+4
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-08mm/ZONE_DEVICE: new type of ZONE_DEVICE for unaddressable memoryJérôme Glisse1-0/+14
2017-09-08mm: thp: check pmd migration entry in common pathZi Yan1-2/+2
2017-08-10mm: migrate: prevent racy access to tlb_flush_pendingNadav Amit1-2/+2
2017-08-02mm, mprotect: flush TLB if potentially racing with a parallel reclaim leaving...Mel Gorman1-0/+1
2017-07-06mm: drop NULL return check of pte_offset_map_lock()Naoya Horiguchi1-2/+0
2017-03-09mm: convert generic code to 5-level pagingKirill A. Shutemov1-3/+23
2017-02-24mm/autonuma: let architecture override how the write bit should be stashed in...Aneesh Kumar K.V1-1/+1
2017-02-22mm: mprotect: use pmd_trans_unstable instead of taking the pmd_lockAndrea Arcangeli1-31/+15
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-12mm/pkeys: generate pkey system call code only if ARCH_HAS_PKEYS is selectedHeiko Carstens1-0/+4
2016-12-12mm, thp: avoid unlikely branches for split_huge_pmdDavid Rientjes1-1/+1
2016-12-12mm/mprotect.c: don't touch single threaded PTEs which are on the right nodeAndi Kleen1-0/+13
2016-10-19mm/numa: Remove duplicated include from mprotect.cWei Yongjun1-1/+0
2016-10-10Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-5/+85
2016-10-07mm: vma_merge: fix vm_page_prot SMP race condition against rmap_walkAndrea Arcangeli1-0/+1
2016-10-07mm: vm_page_prot: update with WRITE_ONCE/READ_ONCEAndrea Arcangeli1-1/+1
2016-09-09x86/pkeys: Allocation/free syscallsDave Hansen1-6/+55
2016-09-09x86/pkeys: Make mprotect_key() mask off additional vm_flagsDave Hansen1-1/+10
2016-09-09mm: Implement new pkey_mprotect() system callDave Hansen1-4/+26
2016-07-26mm: thp: check pmd_trans_unstable() after split_huge_pmd()Naoya Horiguchi1-1/+1
2016-05-23mm: make mmap_sem for write waits killable for mm syscallsMichal Hocko1-1/+2
2016-03-22mm/mprotect.c: don't imply PROT_EXEC on non-exec fsPiotr Kwapulinski1-5/+8
2016-02-18mm/core, x86/mm/pkeys: Add execute-only protection keys supportDave Hansen1-4/+4
2016-02-18mm/core, arch, powerpc: Pass a protection key in to calc_vm_flag_bits()Dave Hansen1-1/+1
2016-02-11mm, dax: check for pmd_none() after split_huge_pmd()Kirill A. Shutemov1-2/+4
2016-01-15mm, dax: dax-pmd vs thp-pmd vs hugetlbfs-pmdDan Williams1-2/+3
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-2/+6
2015-09-04userfaultfd: teach vma_merge to merge across vma->vm_userfaultfd_ctxAndrea Arcangeli1-1/+2
2015-06-24mm: fix mprotect() behaviour on VM_LOCKED VMAsKirill A. Shutemov1-0/+11
2015-03-25mm: numa: preserve PTE write permissions across a NUMA hinting faultMel Gorman1-0/+3
2015-02-12mm: numa: avoid unnecessary TLB flushes when setting NUMA hinting entriesMel Gorman1-0/+4
2015-02-12mm: numa: do not trap faults on the huge zero pageMel Gorman1-1/+13
2015-02-12mm: convert p[te|md]_mknonnuma and remaining page table manipulationsMel Gorman1-1/+1
2015-02-12mm: convert p[te|md]_numa users to p[te|md]_protnone_numaMel Gorman1-28/+10
2015-02-10mm: remove rest usage of VM_NONLINEAR and pte_file()Kirill A. Shutemov1-1/+1
2014-10-14mm: softdirty: enable write notifications on VMAs after VM_SOFTDIRTY clearedPeter Feiner1-15/+5
2014-04-07mm: move mmu notifier call from change_protection to change_pmd_rangeRik van Riel1-3/+12
2014-04-07mm: numa: recheck for transhuge pages under lock during protection changesMel Gorman1-2/+34
2014-04-07mm,numa: reorganize change_pmd_range()Rik van Riel1-3/+4
2014-02-17mm: Use ptep/pmdp_set_numa() for updating _PAGE_NUMA bitAneesh Kumar K.V1-3/+1
2014-02-17mm: Dirty accountable change only apply to non prot numa caseAneesh Kumar K.V1-14/+7
2014-01-21mm: numa: do not automatically migrate KSM pagesMel Gorman1-1/+2
2013-12-18mm: fix TLB flush race between migration, and change_protection_rangeRik van Riel1-0/+2
2013-12-18mm: numa: clear numa hinting information on mprotectMel Gorman1-0/+2
2013-12-18mm: numa: do not clear PTE for pte_numa updateMel Gorman1-2/+7
2013-11-13mm: numa: return the number of base pages altered by protection changesMel Gorman1-3/+7
2013-11-01Merge branch 'linus' into sched/coreIngo Molnar1-2/+5
2013-10-29mm: Account for a THP NUMA hinting update as one PTE updateMel Gorman1-1/+1
2013-10-16mm: migration: do not lose soft dirty bit if page is in migration stateCyrill Gorcunov1-2/+5
2013-10-09mm: numa: Do not batch handle PMD pagesMel Gorman1-45/+2
2013-10-09mm: numa: Change page last {nid,pid} into {cpu,pid}Peter Zijlstra1-14/+14
2013-10-09mm: numa: Trap pmd hinting faults only if we would otherwise trap PTE faultsMel Gorman1-2/+5
2013-10-09sched/numa: Set preferred NUMA node based on number of private faultsMel Gorman1-9/+17
2013-10-09mm: numa: Scan pages with elevated page_mapcountMel Gorman1-3/+1
2013-10-09mm: Only flush TLBs if a transhuge PMD is modified for NUMA pte scanningMel Gorman1-4/+10
2013-10-09mm: Do not flush TLB during protection change if !pte_present && !migration_e...Mel Gorman1-1/+2
2013-10-09mm: Account for a THP NUMA hinting update as one PTE updateMel Gorman1-1/+1
2012-12-18mm/mprotect.c: coding-style cleanupsAndrew Morton1-14/+16
2012-12-16Merge tag 'balancenuma-v11' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-24/+111
2012-12-12thp: change split_huge_page_pmd() interfaceKirill A. Shutemov1-1/+1
2012-12-11mm: numa: Migrate pages handled during a pmd_numa hinting faultMel Gorman1-5/+20
2012-12-11mm: mempolicy: Implement change_prot_numa() in terms of change_protection()Mel Gorman1-16/+56
2012-12-11mm: Optimize the TLB flush of sys_mprotect() and change_protection() usersIngo Molnar1-1/+3
2012-12-11mm: Count the number of pages affected in change_protection()Peter Zijlstra1-14/+44
2012-03-22Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-1/+1
2012-03-21mm: replace PAGE_MIGRATION with IS_ENABLED(CONFIG_MIGRATION)Konstantin Khlebnikov1-1/+1
2012-03-21Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-1/+1
2012-03-06vm: avoid using find_vma_prev() unnecessarilyLinus Torvalds1-1/+2
2012-02-14mm: collapse security_vm_enough_memory() variants into a single functionAl Viro1-1/+1
2011-01-13thp: mprotect: transparent huge page supportJohannes Weiner1-1/+7
2011-01-13thp: mprotect: pass vma down to page table walkersJohannes Weiner1-6/+9
2011-01-13thp: split_huge_page_mm/vmaAndrea Arcangeli1-0/+1
2010-11-09perf_events: Fix perf_counter_mmap() hook in mprotect()Pekka Enberg1-1/+1
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-1/+0
2009-09-21perf: Do the big rename: Performance Counters -> Performance EventsIngo Molnar1-2/+2
2009-06-08perf_counter: Add mmap event hooks to mprotect()Peter Zijlstra1-0/+2
2009-02-10Do not account for the address space used by hugetlbfs using VM_ACCOUNTMel Gorman1-2/+3
2009-01-14[CVE-2009-0029] System call wrappers part 13Heiko Carstens1-2/+2
2009-01-06mm: cleanup: remove #ifdef CONFIG_MIGRATIONKOSAKI Motohiro1-4/+2
2009-01-05mm: update my addressAlan Cox1-1/+1
2008-07-28mmu-notifiers: coreAndrea Arcangeli1-0/+3
2008-07-24mm: record MAP_NORESERVE status on vmas and fix small page mprotect reservationsAndy Whitcroft1-4/+2
2008-07-15Merge commit '85082fd7cbe3173198aac0eb5e85ab1edcc6352c' into test-buildBenjamin Herrenschmidt1-6/+4
2008-07-09mm: Allow architectures to define additional protection bitsDave Kleikamp1-1/+1
2008-06-25mm: add a ptep_modify_prot transaction abstractionJeremy Fitzhardinge1-6/+4
2008-05-14mprotect: prevent alteration of the PAT bitsVenki Pallipadi1-1/+10
2007-10-23fix mprotect vma_wants_writenotify protHugh Dickins1-1/+1
2007-10-19setup vma->vm_page_prot by vm_get_page_prot()Coly Li1-4/+2
2007-10-16flush icache before set_pte() on ia64: flush icache at set_pteKAMEZAWA Hiroyuki1-1/+0
2007-07-19mm: variable length argument supportOllie Wild1-1/+1
2006-10-01[PATCH] paravirt: lazy mmu mode hooks.patchZachary Amsden1-0/+2
2006-09-26[PATCH] mm: optimize the new mprotect() code a bitPeter Zijlstra1-10/+24
2006-09-26[PATCH] mm: tracking shared dirty pagesPeter Zijlstra1-13/+8
2006-06-23[PATCH] add page_mkwrite() vm_operations methodDavid Howells1-2/+9
2006-06-23[PATCH] Swapless page migration: add R/W migration entriesChristoph Lameter1-3/+20
2006-06-23[PATCH] likely cleanup: remove unlikely in sys_mprotect()Hua Zhong1-2/+1
2006-03-22[PATCH] Enable mprotect on huge pagesZhang, Yanmin1-7/+5
2005-11-22[PATCH] unpaged: private write VM_RESERVEDHugh Dickins1-8/+0
2005-10-29[PATCH] mm: pte_offset_map_lock loopsHugh Dickins1-4/+3
2005-10-29[PATCH] core remove PageReservedNick Piggin1-0/+8
2005-10-29[PATCH] mm: vm_stat_account unshackledHugh Dickins1-2/+2
2005-09-21[PATCH] mm: add a note about partially hardcoded VM_* flagsPaolo 'Blaisorblade' Giarrusso1-1/+2
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+282