aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mempolicy.c
AgeCommit message (Expand)AuthorFilesLines
2023-02-20mm: hugetlb: change to return bool for isolate_hugetlb()Baolin Wang1-1/+1
2023-02-20mm: change to return bool for folio_isolate_lru()Baolin Wang1-1/+1
2023-02-13mm/mempolicy: convert migrate_page_add() to migrate_folio_add()Vishal Moola (Oracle)1-19/+20
2023-02-13mm/mempolicy: convert queue_pages_required() to queue_folio_required()Vishal Moola (Oracle)1-6/+6
2023-02-13mm/mempolicy: convert queue_pages_hugetlb() to queue_folios_hugetlb()Vishal Moola (Oracle)1-11/+18
2023-02-13mm/mempolicy: convert queue_pages_pte_range() to queue_folios_pte_range()Vishal Moola (Oracle)1-14/+14
2023-02-13mm/mempolicy: convert queue_pages_pmd() to queue_folios_pmd()Vishal Moola (Oracle)1-12/+12
2023-02-13mm/hugetlb: convert hugetlb fault paths to use alloc_hugetlb_folio()Sidhartha Kumar1-2/+4
2023-02-13mm/hugetlb: convert isolate_hugetlb to foliosSidhartha Kumar1-1/+1
2023-02-09mm: switch vma_merge(), split_vma(), and __split_vma to vma iteratorLiam R. Howlett1-3/+3
2023-02-09mempolicy: convert to vma iteratorLiam R. Howlett1-17/+8
2023-01-31Sync mm-stable with mm-hotfixes-stable to pick up dependent patchesAndrew Morton1-1/+2
2023-01-31migrate: hugetlb: check for hugetlb shared PMD in node migrationMike Kravetz1-1/+2
2023-01-18mm/uffd: detect pgtable allocation failuresPeter Xu1-1/+1
2023-01-18mm/mprotect: use long for page accountings and retvalPeter Xu1-1/+1
2023-01-18mm/mprotect: drop pgprot_t parameter from change_protection()David Hildenbrand1-2/+1
2023-01-18mm/mempolicy: do not duplicate policy if it is not applicable for set_mempoli...Michal Hocko1-16/+12
2022-12-21mm/mempolicy: fix memory leak in set_mempolicy_home_node system callMathieu Desnoyers1-0/+1
2022-10-20mm/mempolicy: fix mbind_range() arguments to vma_merge()Liam Howlett1-6/+11
2022-10-03mm/mempolicy: use PAGE_ALIGN instead of open-coding itze zuo1-2/+2
2022-09-26mm/mempolicy: use vma iterator & maple state instead of vma linked listLiam R. Howlett1-24/+32
2022-09-11mm/hugetlb: add dedicated func to get 'allowed' nodemask for current processFeng Tang1-1/+1
2022-09-11mm/mempolicy: fix lock contention on mems_allowedAbel Wu1-1/+3
2022-07-29mm/mempolicy: remove unneeded out labelMiaohe Lin1-3/+1
2022-07-17mm: handling Non-LRU pages returned by vm_normal_pagesAlex Sierra1-1/+1
2022-07-03mm/mempolicy: fix get_nodes out of bound accessTianyu Li1-1/+1
2022-07-03mm/migration: return errno when isolate_huge_page failedMiaohe Lin1-1/+1
2022-05-19mm/mempolicy: fix uninit-value in mpol_rebind_policy()Wang Cheng1-1/+1
2022-05-13mm: remove alloc_pages_vma()Matthew Wilcox (Oracle)1-26/+25
2022-05-13mm/mprotect: use mmu_gatherNadav Amit1-1/+8
2022-04-28mm/mempolicy: clean up the code logic in queue_pages_pte_rangeMiaohe Lin1-9/+3
2022-04-08Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+1
2022-04-08mm/mempolicy: fix mpol_new leak in shared_policy_replaceMiaohe Lin1-0/+1
2022-04-08mm: migrate: use thp_order instead of HPAGE_PMD_ORDER for new page allocation.Zi Yan1-1/+1
2022-04-07mm/mempolicy: Use vma_alloc_folio() in new_page()Matthew Wilcox (Oracle)1-14/+11
2022-04-07mm: Add vma_alloc_folio()Matthew Wilcox (Oracle)1-0/+13
2022-03-22mempolicy: mbind_range() set_policy() after vma_merge()Hugh Dickins1-7/+1
2022-03-22mm: change lookup_node() to use get_user_pages_fast()John Hubbard1-12/+9
2022-03-05mm: refactor vm_area_struct::anon_vma_name usage codeSuren Baghdasaryan1-1/+1
2022-01-15mm/mempolicy: fix all kernel-doc warningsRandy Dunlap1-2/+3
2022-01-15mm/mempolicy: add set_mempolicy_home_node syscallAneesh Kumar K.V1-0/+79
2022-01-15mm/mempolicy: use policy_node helper with MPOL_PREFERRED_MANYAneesh Kumar K.V1-2/+3
2022-01-15mm: drop node from alloc_pages_vmaMichal Hocko1-1/+2
2022-01-15mm: add a field to store names for private anonymous memoryColin Cross1-1/+2
2021-12-25mm: mempolicy: fix THP allocations escaping mempolicy restrictionsAndrey Ryabinin1-2/+1
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-61/+82
2021-11-06mm: migrate: make demotion knob depend on migrationYang Shi1-61/+0
2021-11-06mm/vmalloc: introduce alloc_pages_bulk_array_mempolicy to accelerate memory a...Chen Wandun1-0/+82
2021-11-01Merge tag 'folio-5.16' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-0/+10
2021-10-18mm/mempolicy: do not allow illegal MPOL_F_NUMA_BALANCING | MPOL_LOCAL in mbind()Eric Dumazet1-11/+5
2021-10-18mm/page_alloc: Add folio allocation functionsMatthew Wilcox (Oracle)1-0/+10
2021-09-08Merge branches 'akpm' and 'akpm-hotfixes' (patches from Andrew)Linus Torvalds1-154/+60
2021-09-08mm/mempolicy: fix a race between offset_il_node and mpol_rebind_taskyanghui1-4/+13
2021-09-08compat: remove some compat entry pointsArnd Bergmann1-37/+0
2021-09-08mm: simplify compat numa syscallsArnd Bergmann1-121/+55
2021-09-03mm/mempolicy.c: use in_task() in mempolicy_slab_node()Vasily Averin1-1/+1
2021-09-03mm/mempolicy: unify the create() func for bind/interleave/prefer-many policiesFeng Tang1-20/+4
2021-09-03mm/mempolicy: advertise new MPOL_PREFERRED_MANYBen Widawsky1-6/+1
2021-09-03mm/memplicy: add page allocation function for MPOL_PREFERRED_MANY policyFeng Tang1-0/+30
2021-09-03mm/mempolicy: add MPOL_PREFERRED_MANY for multiple preferred nodesDave Hansen1-14/+59
2021-09-03mm/mempolicy: use readable NUMA_NO_NODE macro instead of magic numberBaolin Wang1-3/+3
2021-09-03mm/migrate: add sysfs interface to enable reclaim migrationHuang Ying1-0/+61
2021-09-03mm/migrate: enable returning precise migrate_pages() success countYang Shi1-2/+2
2021-06-30mm/mempolicy: use unified 'nodes' for bind/interleave/prefer policiesBen Widawsky1-52/+44
2021-06-30mm: mempolicy: don't have to split pmd for huge zero pageYang Shi1-4/+5
2021-06-30mm/mempolicy: unify the parameter sanity check for mbind and set_mempolicyFeng Tang1-18/+30
2021-06-30mm/mempolicy: don't handle MPOL_LOCAL like a fake MPOL_PREFERRED policyFeng Tang1-80/+56
2021-06-30mm/mempolicy: cleanup nodemask intersection check for oomFeng Tang1-25/+9
2021-06-29mm/vmstat: convert NUMA statistics to basic NUMA countersMel Gorman1-1/+1
2021-06-29mm/mempolicy: use vma_lookup() in __access_remote_vm()Liam Howlett1-1/+1
2021-05-07mm: fix typos in commentsLu Jialin1-1/+1
2021-05-07mm: fix typos in commentsIngo Molnar1-2/+2
2021-05-05mm/mempool: minor coding style tweaksZhiyuan Dai1-2/+2
2021-05-05mm: replace migrate_[prep|finish] with lru_cache_[disable|enable]Minchan Kim1-4/+4
2021-05-05mm: disable LRU pagevec during the migration temporarilyMinchan Kim1-0/+4
2021-04-30mm/mempolicy: fix mpol_misplaced kernel-docMatthew Wilcox (Oracle)1-7/+4
2021-04-30mm/mempolicy: rewrite alloc_pages_vma documentationMatthew Wilcox (Oracle)1-21/+13
2021-04-30mm/mempolicy: rewrite alloc_pages documentationMatthew Wilcox (Oracle)1-11/+10
2021-04-30mm/mempolicy: rename alloc_pages_current to alloc_pagesMatthew Wilcox (Oracle)1-3/+3
2021-04-30mm/page_alloc: combine __alloc_pages and __alloc_pages_nodemaskMatthew Wilcox (Oracle)1-3/+3
2021-02-24mm/mempolicy: use helper range_in_vma() in queue_pages_test_walk()Miaohe Lin1-1/+1
2021-02-24numa balancing: migrate on fault among multiple bound nodesHuang Ying1-0/+16
2021-01-12mm: migrate: initialize err in do_migrate_pagesJan Stancek1-1/+1
2020-12-15mm: migrate: clean up migrate_prep{_local}Yang Shi1-6/+2
2020-11-02mm: mempolicy: fix potential pte_unmap_unlock pte errorShijie Luo1-3/+3
2020-10-13mm: remove unused alloc_page_vma_node()Wei Yang1-2/+1
2020-10-13mm/mempolicy: remove or narrow the lock on currentWei Yang1-4/+1
2020-08-14mm: replace hpage_nr_pages with thp_nr_pagesMatthew Wilcox (Oracle)1-1/+1
2020-08-12mm/mempolicy: use a standard migration target allocation callbackJoonsoo Kim1-25/+6
2020-08-12mm/hugetlb: unify migration callbacksJoonsoo Kim1-4/+6
2020-08-12mm/mempolicy.c: check parameters first in kernel_get_mempolicyWenchao Hao1-2/+2
2020-08-12mm: mempolicy: fix kerneldoc of numa_map_to_online_node()Krzysztof Kozlowski1-1/+1
2020-08-12mm/hugetlb: add mempolicy check in the reservation routineMuchun Song1-1/+1
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-2/+2
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-6/+6
2020-06-09mmap locking API: convert mmap_sem API commentsMichel Lespinasse1-1/+1
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-11/+11
2020-06-03mm, mempolicy: fix up gup usage in lookup_nodeMichal Hocko1-4/+1
2020-04-08Merge tag 'libnvdimm-for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+26
2020-04-07mm/mempolicy: Allow lookup_node() to handle fatal signalPeter Xu1-2/+5
2020-04-07mm: use fallthrough;Joe Perches1-3/+0
2020-04-07mm/mempolicy: add missing annotation for queue_pages_pmd()Jules Irenge1-0/+1
2020-04-07mm: merge parameters for change_protection()Peter Xu1-1/+1
2020-04-07mm: code cleanup for MADV_FREEHuang Ying1-1/+1
2020-04-07mm/vma: make vma_is_accessible() available for general useAnshuman Khandual1-2/+1
2020-04-02mm: mempolicy: require at least one nodeid for MPOL_PREFERREDRandy Dunlap1-1/+5
2020-04-02mm: mempolicy: use VM_BUG_ON_VMA in queue_pages_test_walk()Yang Shi1-1/+1
2020-04-02mm/mempolicy: check hugepage migration is supported by arch in vma_migratable()Li Xinhai1-0/+28
2020-04-02mm/mempolicy: support MPOL_MF_STRICT for huge page mappingLi Xinhai1-4/+33
2020-02-17mm/numa: Skip NUMA_NO_NODE and online nodes in numa_map_to_online_node()Dan Williams1-12/+8
2020-02-17ACPI: NUMA: Up-level "map to online node" functionalityDan Williams1-0/+30
2020-01-31mm/mempolicy.c: fix out of bounds write in mpol_parse_str()Dan Carpenter1-3/+3
2020-01-13mm, thp: tweak reclaim/compaction effort of local-only and all-node allocationsVlastimil Babka1-3/+7
2019-12-01mm/mempolicy.c: fix checking unmapped holes for mbindLi Xinhai1-13/+27
2019-12-01mm/mempolicy.c: check range first in queue_pages_test_walkLi Xinhai1-9/+10
2019-11-15mm: mempolicy: fix the wrong return value and potential pages leak of mbindYang Shi1-5/+9
2019-09-28Merge branch 'hugepage-fallbacks' (hugepatch patches from David Rientjes)Linus Torvalds1-4/+41
2019-09-28mm, page_alloc: allow hugepage fallback to remote nodes when madvisedDavid Rientjes1-0/+11
2019-09-28Revert "Revert "Revert "mm, thp: consolidate THP gfp handling into alloc_huge...David Rientjes1-3/+29
2019-09-28Revert "Revert "mm, thp: restore node-local hugepage allocations""David Rientjes1-1/+1
2019-09-25mm: untag user pointers passed to memory syscallsAndrey Konovalov1-0/+3
2019-09-24mm/mempolicy.c: remove unnecessary nodemask check in kernel_migrate_pages()Kefeng Wang1-4/+0
2019-09-07pagewalk: separate function pointers from iterator dataChristoph Hellwig1-8/+7
2019-09-07mm: split out a new pagewalk.h header from mm.hChristoph Hellwig1-1/+1
2019-08-13Revert "mm, thp: restore node-local hugepage allocations"Andrea Arcangeli1-1/+1
2019-08-13Revert "Revert "mm, thp: consolidate THP gfp handling into alloc_hugepage_dir...Andrea Arcangeli1-29/+3
2019-08-13mm: mempolicy: handle vma with unmovable pages mapped correctly in mbindYang Shi1-7/+25
2019-08-13mm: mempolicy: make the behavior consistent when MPOL_MF_MOVE* and MPOL_MF_ST...Yang Shi1-20/+48
2019-07-02mm: export alloc_pages_vmaChristoph Hellwig1-0/+1
2019-06-29mm/mempolicy.c: fix an incorrect rebind node in mpol_rebind_nodemaskzhong jiang1-1/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 225Thomas Gleixner1-1/+1
2019-03-29mm: mempolicy: make mbind() return -EIO when MPOL_MF_STRICT is specifiedYang Shi1-7/+33
2019-03-05mm, mempolicy: fix uninit memory accessVlastimil Babka1-1/+1
2019-03-05mm: replace all open encodings for NUMA_NO_NODEAnshuman Khandual1-1/+1
2019-02-21numa: change get_mempolicy() to use nr_node_ids instead of MAX_NUMNODESRalph Campbell1-3/+3
2018-12-08Revert "mm, thp: consolidate THP gfp handling into alloc_hugepage_direct_gfpm...David Rientjes1-3/+29
2018-12-05mm, thp: restore node-local hugepage allocationsDavid Rientjes1-1/+1
2018-11-03mm, thp: consolidate THP gfp handling into alloc_hugepage_direct_gfpmaskMichal Hocko1-59/+4
2018-11-03mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappingsAndrea Arcangeli1-2/+30
2018-10-26mm/mempolicy.c: use match_string() helper to simplify the codezhong jiang1-8/+3
2018-10-26userfaultfd: allow get_mempolicy(MPOL_F_NODE|MPOL_F_ADDR) to trigger userfaultsAndrea Arcangeli1-5/+19
2018-08-22mm: access zone->node via zone_to_nid() and zone_set_nid()Pavel Tatashin1-2/+2
2018-08-22mm: zero out the vma in vma_init()Andrew Morton1-1/+0
2018-07-26mm: use vma_init() to initialize VMAs on stack and data segmentsKirill A. Shutemov1-0/+1
2018-04-11mm: unclutter THP migrationMichal Hocko1-28/+3
2018-04-11mm, migrate: remove reason argument from new_page_tMichal Hocko1-3/+3
2018-04-11mm, numa: rework do_pages_moveMichal Hocko1-2/+3
2018-04-02Merge branch 'syscalls-next' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-15/+77
2018-04-02mm: add kernel_[sg]et_mempolicy() helpers; remove in-kernel calls to syscallsDominik Brodowski1-7/+22
2018-04-02mm: add kernel_mbind() helper; remove in-kernel call to syscallDominik Brodowski1-4/+11
2018-04-02mm: add kernel_migrate_pages() helper, move compat syscall to mm/mempolicy.cDominik Brodowski1-4/+44
2018-03-22mm/mempolicy.c: avoid use uninitialized preferred_nodeYisheng Xie1-0/+3
2018-01-31hugetlb, mbind: fall back to default policy if vma is NULLMichal Hocko1-1/+2
2018-01-31hugetlb, mempolicy: fix the mbind hugetlb migrationMichal Hocko1-2/+1
2018-01-31mm/mempolicy: add nodes_empty check in SYSC_migrate_pagesYisheng Xie1-3/+7
2018-01-31mm/mempolicy: fix the check of nodemask from userYisheng Xie1-3/+20
2018-01-31mm/mempolicy: remove redundant check in get_nodesYisheng Xie1-2/+0
2017-11-15mm, sysctl: make NUMA stats configurableKemi Wang1-0/+3
2017-11-15Unify migrate_pages and move_pages access checksOtto Ebeling1-9/+4
2017-10-13mm/mempolicy: fix NUMA_INTERLEAVE_HIT counterAndrey Ryabinin1-2/+5
2017-09-08mm/mempolicy.c: remove BUG_ON() checks for VMA inside mpol_misplaced()Anshuman Khandual1-5/+0
2017-09-08mm: remove useless vma parameter to offset_il_nodeLaurent Dufour1-4/+3
2017-09-08mm: mempolicy: mbind and migrate_pages support thp migrationNaoya Horiguchi1-29/+79
2017-09-08mm: mempolicy: add queue_pages_required()Naoya Horiguchi1-5/+17
2017-08-18mm/mempolicy: fix use after free when calling get_mempolicyzhong jiang1-5/+0
2017-07-12mm, migration: do not trigger OOM killer when migrating memoryMichal Hocko1-1/+2
2017-07-06mm, mempolicy: don't check cpuset seqlock where it doesn't matterVlastimil Babka1-16/+0
2017-07-06mm, mempolicy: simplify rebinding mempolicies when updating cpusetsVlastimil Babka1-84/+18
2017-07-06mm, page_alloc: pass preferred nid instead of zonelist to allocatorVlastimil Babka1-22/+19
2017-07-06mm, mempolicy: stop adjusting current->il_next in mpol_rebind_nodemask()Vlastimil Babka1-15/+7
2017-04-08mm/mempolicy.c: fix error handling in set_mempolicy and mbind.Chris Salls1-12/+8
2017-03-02sched/headers: Prepare to move the task_lock()/unlock() APIs to <linux/sched/...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-01-24mm/mempolicy.c: do not put mempolicy before using its nodemaskVlastimil Babka1-1/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-12mm/mempolicy.c: forbid static or relative flags for local NUMA modePiotr Kwapulinski1-1/+3
2016-12-12mm, mempolicy: clean up __GFP_THISNODE confusion in policy_zonelistMichal Hocko1-16/+8
2016-12-12mm, thp: avoid unlikely branches for split_huge_pmdDavid Rientjes1-1/+1
2016-10-19mm: replace get_user_pages() write/force parameters with gup_flagsLorenzo Stoakes1-1/+1
2016-10-07mm: use zonelist name instead of using hardcoded indexAneesh Kumar K.V1-1/+1
2016-09-01mm, mempolicy: task->mempolicy must be NULL before dropping final referenceDavid Rientjes1-0/+17
2016-07-28mm, vmscan: move LRU lists to nodeMel Gorman1-1/+1
2016-07-26shmem: add huge pages supportKirill A. Shutemov1-1/+1
2016-07-26mm: thp: check pmd_trans_unstable() after split_huge_pmd()Naoya Horiguchi1-0/+2
2016-05-19mm, page_alloc: avoid looking up the first zone in a zonelist twiceMel Gorman1-9/+10
2016-05-19mm/mempolicy.c:offset_il_node() document and clarifyAndrew Morton1-9/+11
2016-05-19include/linux/nodemask.h: create next_node_in() helperAndrew Morton1-22/+2
2016-03-20Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+3
2016-03-17mm: coalesce split stringsJoe Perches1-3/+1
2016-03-15mm/mempolicy.c: skip VM_HUGETLB and VM_MIXEDMAP VMA for lazy mbindLiang Chen1-1/+3
2016-03-09mm, thp: fix migration of PTE-mapped transparent huge pagesKirill A. Shutemov1-1/+1
2016-02-16mm/gup: Switch all callers of get_user_pages() to not pass tsk/mmDave Hansen1-3/+3
2016-02-05mempolicy: do not try to queue pages from !vma_migratable()Kirill A. Shutemov1-9/+5
2016-01-15mm: mempolicy: skip non-migratable VMAs when setting MPOL_MF_LAZYLiang Chen1-1/+2
2016-01-15migrate_pages: try to split pages on queuingKirill A. Shutemov1-4/+38
2016-01-15thp: rename split_huge_page_pmd() to split_huge_pmd()Kirill A. Shutemov1-1/+1
2016-01-14mm/mempolicy.c: convert the shared_policy lock to a rwlockNathan Zimmer1-13/+17
2015-09-08mm: rename alloc_pages_exact_node() to __alloc_pages_node()Vlastimil Babka1-2/+2
2015-09-08mm/mempolicy.c: get rid of duplicated check for vma(VM_PFNMAP) in queue_pages...Aristeu Rozanski1-3/+0