aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mempolicy.c
AgeCommit message (Expand)AuthorFilesLines
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
2015-09-04userfaultfd: teach vma_merge to merge across vma->vm_userfaultfd_ctxAndrea Arcangeli1-2/+2
2015-06-24mm, thp: respect MPOL_PREFERRED policy with non-local nodeVlastimil Babka1-16/+22
2015-05-14mm, numa: really disable NUMA balancing by default on single node machinesMel Gorman1-1/+1
2015-04-14mm, thp: really limit transparent hugepage allocation to local nodeDavid Rientjes1-1/+2
2015-04-14mm, mempolicy: migrate_to_node should only migrate to nodeDavid Rientjes1-1/+2
2015-02-13mm: use %*pb[l] to print bitmaps including cpumasks and nodemasksTejun Heo1-4/+3
2015-02-12mm: convert p[te|md]_mknonnuma and remaining page table manipulationsMel Gorman1-1/+1
2015-02-11mm: pagewalk: fix misbehavior of walk_page_range for vma(VM_PFNMAP)Naoya Horiguchi1-0/+3
2015-02-11mempolicy: apply page table walker on queue_pages_range()Naoya Horiguchi1-136/+92
2015-02-11mm/mempolicy.c: merge alloc_hugepage_vma to alloc_pages_vmaVlastimil Babka1-85/+33
2015-02-11mm/thp: allocate transparent hugepages on local nodeAneesh Kumar K.V1-0/+72
2014-12-19Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-5/+0
2014-12-18mm/mempolicy.c: remove unnecessary is_valid_nodemask()Zhihui Zhang1-8/+2
2014-12-17vm_area_operations: kill ->migrate()Al Viro1-5/+0
2014-10-09mm: mempolicy: skip inaccessible VMAs when setting MPOL_MF_LAZYMel Gorman1-1/+3
2014-10-09mempolicy: unexport get_vma_policy() and remove its "task" argOleg Nesterov1-11/+8
2014-10-09mempolicy: kill do_set_mempolicy()->down_write(&mm->mmap_sem)Oleg Nesterov1-14/+1
2014-10-09mempolicy: introduce __get_vma_policy(), export get_task_policy()Oleg Nesterov1-18/+26
2014-10-09mempolicy: remove the "task" arg of vma_policy_mof() and simplify itOleg Nesterov1-14/+11
2014-10-09mempolicy: sanitize the usage of get_task_policy()Oleg Nesterov1-11/+14
2014-10-09mempolicy: change get_task_policy() to return default_policy rather than NULLOleg Nesterov1-18/+13
2014-10-09mempolicy: change alloc_pages_vma() to use mpol_cond_put()Oleg Nesterov1-2/+1
2014-07-10Merge branch 'for-3.16-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+0
2014-06-25cpuset,mempolicy: fix sleeping function called from invalid contextGu Zheng1-2/+0
2014-06-23mm: fix crashes from mbind() merging vmasHugh Dickins1-26/+20
2014-06-08Merge branch 'next' (accumulated 3.16 merge window patches) into masterLinus Torvalds1-16/+19
2014-06-06mm: convert some level-less printks to pr_*Mitchel Humpherys1-1/+4
2014-06-06mm: add !pte_present() check on existing hugetlb_entry callbacksNaoya Horiguchi1-1/+5
2014-06-04mm, migration: add destination page freeing callbackDavid Rientjes1-2/+2
2014-06-04mm/mempolicy.c: parameter doc uniformizationFabian Frederick1-11/+11
2014-06-04mm: constify nmask argument to set_mempolicy()Rasmus Villemoes1-1/+1
2014-06-04mm: constify nmask argument to mbind()Rasmus Villemoes1-1/+1
2014-04-07mm, mempolicy: remove per-process flagDavid Rientjes1-31/+0
2014-04-07mm, mempolicy: rename slab_node for clarityDavid Rientjes1-9/+6
2014-04-03mm: optimize put_mems_allowed() usageMel Gorman1-6/+6
2014-03-31Merge branch 'compat' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/l...Linus Torvalds1-9/+9
2014-03-06mm/compat: convert to COMPAT_SYSCALL_DEFINEHeiko Carstens1-9/+9
2014-02-02Merge branch 'linus' into sched/core, to resolve conflictsIngo Molnar1-15/+17
2014-01-30mm/mempolicy.c: fix mempolicy printing in numa_mapsDavid Rientjes1-1/+1