aboutsummaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
AgeCommit message (Expand)AuthorFilesLines
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-63/+636
2021-11-06hugetlbfs: extend the definition of hugepages parameter to support node alloc...Zhenguo Yao1-25/+128
2021-11-06hugetlb: remove unnecessary set_page_count in prep_compound_gigantic_pageMike Kravetz1-1/+0
2021-11-06hugetlb: remove redundant VM_BUG_ON() in add_reservation_in_range()Baolin Wang1-1/+0
2021-11-06hugetlb: remove redundant validation in has_same_uncharge_info()Baolin Wang1-2/+1
2021-11-06hugetlb: replace the obsolete hugetlb_instantiation_mutex in the commentsBaolin Wang1-1/+1
2021-11-06hugetlb: support node specified when using cma for gigantic hugepagesBaolin Wang1-9/+77
2021-11-06mm, hugepages: add mremap() support for hugepage backed vmaMina Almasry1-6/+105
2021-11-06hugetlb: add hugetlb demote page supportMike Kravetz1-8/+92
2021-11-06hugetlb: add demote bool to gigantic page routinesMike Kravetz1-11/+43
2021-11-06hugetlb: be sure to free demoted CMA pages to CMAMike Kravetz1-2/+39
2021-11-06hugetlb: add demote hugetlb page sysfs interfacesMike Kravetz1-1/+154
2021-11-06mm/hugetlb: drop __unmap_hugepage_range definition from hugetlb.hPeter Xu1-3/+3
2021-10-18mm/migrate: Add folio_migrate_copy()Matthew Wilcox (Oracle)1-1/+1
2021-09-03mm/hugetlb: add support for mempolicy MPOL_PREFERRED_MANYBen Widawsky1-5/+25
2021-09-03hugetlb: fix hugetlb cgroup refcounting during vma splitMike Kravetz1-1/+3
2021-09-03hugetlb: before freeing hugetlb page set dtor to appropriate valueMike Kravetz1-1/+21
2021-09-03hugetlb: drop ref count earlier after page allocationMike Kravetz1-22/+78
2021-09-03hugetlb: simplify prep_compound_gigantic_page ref count racing codeMike Kravetz1-10/+7
2021-08-20hugetlb: don't pass page cache pages to restore_reserve_on_errorMike Kravetz1-5/+14
2021-07-15mm/hugetlb: fix refs calculation from unaligned @vaddrJoao Martins1-2/+3
2021-07-01mm/swapops: rework swap entry manipulation codeAlistair Popple1-4/+6
2021-06-30hugetlb: address ref count racing in prep_compound_gigantic_pageMike Kravetz1-8/+64
2021-06-30hugetlb: remove prep_compound_huge_page cleanupMike Kravetz1-19/+10
2021-06-30mm, hugetlb: fix racy resv_huge_pages underflow on UFFDIO_COPYMina Almasry1-9/+39
2021-06-30mm/hugetlb: change parameters of arch_make_huge_pte()Christophe Leroy1-2/+4
2021-06-30mm: hugetlb: introduce nr_free_vmemmap_pages in the struct hstateMuchun Song1-0/+1
2021-06-30mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB pageMuchun Song1-15/+83
2021-06-30mm: hugetlb: defer freeing of HugeTLB pagesMuchun Song1-7/+76
2021-06-30mm: hugetlb: free the vmemmap pages associated with each HugeTLB pageMuchun Song1-12/+10
2021-06-29mm,hwpoison: make get_hwpoison_page() call get_any_page()Naoya Horiguchi1-0/+2
2021-06-24mm, futex: fix shared futex pgoff on shmem huge pageHugh Dickins1-4/+1
2021-06-16mm/hugetlb: expand restore_reserve_on_error functionalityMike Kravetz1-23/+97
2021-06-16mm,hwpoison: fix race with hugetlb page allocationNaoya Horiguchi1-0/+15
2021-06-05mm, hugetlb: fix simple resv_huge_pages underflow on UFFDIO_COPYMina Almasry1-2/+12
2021-06-05hugetlb: pass head page to remove_hugetlb_page()Naoya Horiguchi1-1/+1
2021-05-14mm/hugetlb: fix cow where page writtable in childPeter Xu1-0/+1
2021-05-07mm: fix typos in commentsIngo Molnar1-3/+3
2021-05-05mm: honor PF_MEMALLOC_PIN for all movable pagesPavel Tatashin1-1/+1
2021-05-05mm cma: rename PF_MEMALLOC_NOCMA to PF_MEMALLOC_PINPavel Tatashin1-2/+2
2021-05-05userfaultfd: add UFFDIO_CONTINUE ioctlAxel Rasmussen1-14/+26
2021-05-05userfaultfd: hugetlbfs: only compile UFFD helpers if config enabledAxel Rasmussen1-0/+2
2021-05-05userfaultfd: add minor fault registration modeAxel Rasmussen1-28/+52
2021-05-05mm: make alloc_contig_range handle in-use hugetlb pagesOscar Salvador1-5/+17
2021-05-05mm: make alloc_contig_range handle free hugetlb pagesOscar Salvador1-0/+116
2021-05-05mm,hugetlb: split prep_new_huge_page functionalityOscar Salvador1-3/+17
2021-05-05mm,hugetlb: drop clearing of flag from prep_new_huge_pageOscar Salvador1-1/+0
2021-05-05hugetlb: add lockdep_assert_held() calls for hugetlb_lockMike Kravetz1-0/+9
2021-05-05hugetlb: make free_huge_page irq safeMike Kravetz1-106/+63
2021-05-05hugetlb: change free_pool_huge_page to remove_pool_huge_pageMike Kravetz1-42/+51
2021-05-05hugetlb: call update_and_free_page without hugetlb_lockMike Kravetz1-5/+26
2021-05-05hugetlb: create remove_hugetlb_page() to separate functionalityMike Kravetz1-25/+40
2021-05-05hugetlb: add per-hstate mutex to synchronize user adjustmentsMike Kravetz1-0/+8
2021-05-05hugetlb: no need to drop hugetlb_lock to call cma_releaseMike Kravetz1-6/+0
2021-05-05mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts()Miaohe Lin1-2/+9
2021-05-05mm/hugeltb: clarify (chg - freed) won't go negative in hugetlb_unreserve_pages()Miaohe Lin1-0/+3
2021-05-05mm/hugeltb: simplify the return code of __vma_reservation_common()Miaohe Lin1-21/+20
2021-05-05mm/hugeltb: remove redundant VM_BUG_ON() in region_add()Miaohe Lin1-1/+0
2021-05-05mm/hugetlb: simplify the code when alloc_huge_page() failed in hugetlb_no_page()Miaohe Lin1-6/+3
2021-05-05mm/hugetlb: optimize the surplus state transfer code in move_hugetlb_state()Miaohe Lin1-0/+6
2021-05-05mm/hugetlb: use some helper functions to cleanup codeMiaohe Lin1-3/+3
2021-05-05mm/hugetlb: remove redundant reservation check condition in alloc_huge_page()Miaohe Lin1-1/+1
2021-05-05hugetlb/userfaultfd: unshare all pmds for hugetlbfs when register wpPeter Xu1-0/+51
2021-05-05mm/hugetlb: move flush_hugetlb_tlb_range() into hugetlb.hPeter Xu1-8/+0
2021-05-05hugetlb/userfaultfd: forbid huge pmd sharing when uffd enabledPeter Xu1-6/+16
2021-05-05hugetlb: pass vma into huge_pte_alloc() and huge_pmd_share()Peter Xu1-7/+8
2021-04-30mm/page_alloc: combine __alloc_pages and __alloc_pages_nodemaskMatthew Wilcox (Oracle)1-1/+1
2021-03-25hugetlb_cgroup: fix imbalanced css_get and css_put pair for shared mappingsMiaohe Lin1-4/+37
2021-03-13hugetlb: do early cow when page pinned on src mmPeter Xu1-4/+62
2021-03-13mm: use is_cow_mapping() across tree where properPeter Xu1-3/+1
2021-03-13hugetlb: break earlier in add_reservation_in_range() when we canPeter Xu1-1/+1
2021-03-13hugetlb: dedup the code to add a new file_regionPeter Xu1-24/+27
2021-02-24mm/hugetlb: change hugetlb_reserve_pages() to type boolMike Kravetz1-23/+14
2021-02-24hugetlb: fix uninitialized subpool pointerMike Kravetz1-0/+1
2021-02-24hugetlb: convert PageHugeFreed to HPageFreed flagMike Kravetz1-19/+4
2021-02-24hugetlb: convert PageHugeTemporary() to HPageTemporary flagMike Kravetz1-29/+7
2021-02-24hugetlb: convert page_huge_active() HPageMigratable flagMike Kravetz1-34/+11
2021-02-24hugetlb: use page.private for hugetlb specific page flagsMike Kravetz1-23/+25
2021-02-24mm/hugetlb: suppress wrong warning info when alloc gigantic pageChen Wandun1-2/+2
2021-02-24hugetlb: fix update_and_free_page contig page struct assumptionMike Kravetz1-2/+4
2021-02-24mm/hugetlb: use helper huge_page_size() to get hugepage sizeMiaohe Lin1-8/+6
2021-02-24mm/hugetlb: remove unnecessary VM_BUG_ON_PAGE on putback_active_hugepage()Miaohe Lin1-1/+0
2021-02-24mm/hugetlb: use helper function range_in_vma() in page_table_shareable()Miaohe Lin1-1/+1
2021-02-24mm/hugetlb.c: fix typos in commentsZhiyuan Dai1-1/+1
2021-02-24mm/hugetlb: remove redundant check in preparing and destroying gigantic pageYanfei Xu1-5/+2
2021-02-24mm/hugetlb: fix some comment typosMiaohe Lin1-3/+3
2021-02-24mm/hugetlb: refactor subpage recordingJoao Martins1-21/+28
2021-02-24mm/hugetlb: grab head page refcount once for group of subpagesJoao Martins1-19/+24
2021-02-24mm/hugetlb: simplify the calculation of variablesJiapeng Zhong1-2/+1
2021-02-24mm/hugetlb: fix use after free when subpool max_hpages accounting is not enabledMiaohe Lin1-3/+13
2021-02-24mm/hugetlb: use helper huge_page_order and pages_per_huge_pageMiaohe Lin1-2/+2
2021-02-24mm/hugetlb: avoid unnecessary hugetlb_acct_memory() callMiaohe Lin1-0/+3
2021-02-24mm/hugetlb.c: fix unnecessary address expansion of pmd sharingLi Xinhai1-10/+12
2021-02-24mm/hugetlb: fix potential double free in hugetlb_register_node() error pathMiaohe Lin1-1/+3
2021-02-21Merge tag 'core-mm-2021-02-17' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-16/+2
2021-02-05mm: hugetlb: fix missing put_page in gather_surplus_pages()Muchun Song1-1/+4
2021-02-05mm: hugetlb: remove VM_BUG_ON_PAGE from page_huge_activeMuchun Song1-2/+1
2021-02-05mm: hugetlb: fix a race between isolating and freeing pageMuchun Song1-2/+2
2021-02-05mm: hugetlb: fix a race between freeing and dissolving the pageMuchun Song1-0/+39
2021-02-05mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB pageMuchun Song1-1/+1
2021-01-29tlb: mmu_gather: Remove start/end arguments from tlb_gather_mmu()Will Deacon1-15/+1
2021-01-29tlb: mmu_gather: Remove unused start/end arguments from tlb_finish_mmu()Will Deacon1-1/+1
2021-01-12mm/hugetlb: fix potential missing huge page size infoMiaohe Lin1-1/+1
2020-12-29mm/hugetlb: fix deadlock in hugetlb_cow error pathMike Kravetz1-1/+21
2020-12-15mm: use sysfs_emit for struct kobject * usesJoe Perches1-6/+7
2020-12-15hugetlb: fix an error code in hugetlb_reserve_pages()Dan Carpenter1-0/+1
2020-12-15mm,hugetlb: remove unneeded initializationOscar Salvador1-2/+0
2020-12-15mm: hugetlb: fix type of delta parameter and related local variables in gathe...Liu Xiang1-3/+4
2020-12-15mm/hugetlb.c: just use put_page_testzero() instead of page_count()Hui Su1-2/+1
2020-12-15vm_ops: rename .split() callback to .may_split()Dmitry Safonov1-1/+1
2020-12-11mm/hugetlb: clear compound_nr before freeing gigantic pagesGerald Schaefer1-0/+1
2020-11-14hugetlbfs: fix anon huge page migration raceMike Kravetz1-85/+5
2020-11-02hugetlb_cgroup: fix reservation accountingMike Kravetz1-9/+11
2020-10-15Merge tag 'dma-mapping-5.10' of git://git.infradead.org/users/hch/dma-mappingLinus Torvalds1-2/+2
2020-10-14Merge tag 'driver-core-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-8/+10
2020-10-13hugetlb: add lockdep check for i_mmap_rwsem held in huge_pmd_shareMike Kravetz1-4/+11
2020-10-13mm/hugetlb: take the free hpage during the iteration directlyWei Yang1-13/+9
2020-10-13mm/hugetlb: narrow the hugetlb_lock protection area during preparing huge pageWei Yang1-1/+1
2020-10-13mm/hugetlb: a page from buddy is not on any listWei Yang1-1/+1
2020-10-13mm/hugetlb: count file_region to be added when regions_needed != NULLWei Yang1-16/+17
2020-10-13mm/hugetlb: use list_splice to merge two list at onceWei Yang1-5/+2
2020-10-13mm/hugetlb: remove VM_BUG_ON(!nrg) in get_file_region_entry_from_cache()Wei Yang1-1/+0
2020-10-13mm/hugetlb: not necessary to coalesce regions recursivelyWei Yang1-5/+1
2020-10-13mm/hugetlb.c: remove the unnecessary non_swap_entry()Baoquan He1-2/+2
2020-10-13mm/hugetlb.c: make is_hugetlb_entry_hwpoisoned return boolBaoquan He1-4/+4
2020-10-02mm: and drivers core: Convert hugetlb_report_node_meminfo to sysfs_emitJoe Perches1-8/+10
2020-09-25Merge branch 'master' of https://git.kernel.org/pub/scm/linux/kernel/git/torv...Christoph Hellwig1-12/+37
2020-09-05mm/hugetlb: fix a race between hugetlb sysctl handlersMuchun Song1-6/+20
2020-09-05mm/hugetlb: try preferred node first when alloc gigantic page from cmaLi Xinhai1-6/+17
2020-09-01mm: cma: use CMA_MAX_NAME to define the length of cma name arrayBarry Song1-2/+2
2020-08-12mm/hugetlb: make hugetlb migration callback CMA awareJoonsoo Kim1-2/+9
2020-08-12mm/hugetlb: unify migration callbacksJoonsoo Kim1-33/+2
2020-08-12mm/hugetlb.c: delete duplicated wordsRandy Dunlap1-2/+2
2020-08-12mm: hugetlb: fix the name of hugetlb CMABarry Song1-1/+3
2020-08-12hugetlbfs: remove call to huge_pte_alloc without i_mmap_rwsemMike Kravetz1-8/+7
2020-08-12mm/hugetlb: add mempolicy check in the reservation routineMuchun Song1-4/+18
2020-08-07mm/hugetlb: fix calculation of adjust_range_if_pmd_sharing_possiblePeter Xu1-14/+10
2020-08-07mm: remove unneeded includes of <asm/pgalloc.h>Mike Rapoport1-0/+1
2020-07-24mm/hugetlb: avoid hardcoding while checking if cma is enabledBarry Song1-5/+10
2020-07-03mm/hugetlb.c: fix pages per hugetlb calculationMike Kravetz1-1/+1
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-1/+1
2020-06-09mm: don't include asm/pgtable.h if linux/mm.h is already includedMike Rapoport1-1/+0
2020-06-04mm/hugetlb: fix a typos in commentsEthon Paul1-8/+8
2020-06-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-50/+158
2020-06-03mm/hugetlb: avoid unnecessary check on pud and pmd entry in huge_pte_offsetLi Xinhai1-17/+11
2020-06-03hugetlbfs: fix changes to command line processingMike Kravetz1-16/+4
2020-06-03hugetlbfs: clean up command line processingMike Kravetz1-31/+128
2020-06-03hugetlbfs: remove hugetlb_add_hstate() warning for existing hstateMike Kravetz1-3/+6
2020-06-03hugetlbfs: move hugepagesz= parsing to arch independent codeMike Kravetz1-6/+17
2020-06-03hugetlbfs: add arch_hugetlb_valid_sizeMike Kravetz1-3/+18
2020-04-28Merge branch 'work.sysctl' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/...Daniel Borkmann1-5/+4
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig1-5/+4
2020-04-21mm/hugetlb: fix a addressing exception caused by huge_pte_offsetLongpeng1-6/+8
2020-04-10mm: hugetlb: optionally allocate gigantic hugepages using cmaRoman Gushchin1-0/+109
2020-04-07mm/hugetlb: add missing annotation for gather_surplus_pages()Jules Irenge1-0/+1
2020-04-02mm/hugetlb: remove unnecessary memory fetch in PageHeadHuge()Vlastimil Babka1-1/+1
2020-04-02mm/hugetlb.c: clean code by removing unnecessary initializationMateusz Nosek1-1/+1
2020-04-02hugetlb: support file_region coalescing againMina Almasry1-0/+44
2020-04-02hugetlb_cgroup: support noreserve mappingsMina Almasry1-1/+26
2020-04-02hugetlb_cgroup: add accounting for shared mappingsMina Almasry1-54/+94
2020-04-02hugetlb: disable region_add file_region coalescingMina Almasry1-108/+228
2020-04-02hugetlb_cgroup: add reservation accounting for private mappingsMina Almasry1-3/+44
2020-04-02hugetlb_cgroup: add interface for charge/uncharge hugetlb reservationsMina Almasry1-0/+2
2020-04-02hugetlbfs: Use i_mmap_rwsem to address page fault/truncate raceMike Kravetz1-12/+11
2020-04-02hugetlbfs: use i_mmap_rwsem for more pmd sharing synchronizationMike Kravetz1-11/+145
2020-04-02mm/gup: allow to react to fatal signalsPeter Xu1-1/+2
2020-04-02mm/gup: allow VM_FAULT_RETRY for multiple timesPeter Xu1-2/+4
2020-04-02mm/gup: rename "nonblocking" to "locked" where properPeter Xu1-4/+4
2020-04-02mm/gup: page->hpage_pinned_refcount: exact pin counts for huge pagesJohn Hubbard1-0/+6
2020-04-02mm/gup: track FOLL_PIN pagesJohn Hubbard1-18/+36
2020-01-04mm/hugetlb: defer freeing of huge pages if in non-task contextWaiman Long1-1/+50
2019-12-01mm/hugetlb: avoid looping to the same hugepage if !pages and !vmasZhigang Lu1-0/+15
2019-12-01hugetlb: remove unused hstate in hugetlb_fault_mutex_hash()Wei Yang1-6/+4
2019-12-01hugetlb: remove duplicated codeMina Almasry1-62/+57
2019-12-01hugetlb: region_chg provides only cache entryMina Almasry1-52/+11
2019-12-01hugetlbfs: take read_lock on i_mmap for PMD sharingWaiman Long1-2/+2
2019-12-01hugetlbfs: hugetlb_fault_mutex_hash() cleanupMike Kravetz1-5/+5
2019-12-01mm/page_alloc: add alloc_contig_pages()Anshuman Khandual1-75/+2
2019-10-19hugetlbfs: don't access uninitialized memmaps in pfn_range_valid_gigantic()David Hildenbrand1-3/+2
2019-09-24hugetlbfs: don't retry when pool page allocations start to failMike Kravetz1-10/+79
2019-08-13hugetlbfs: fix hugetlb page migration/fault race causing SIGBUSMike Kravetz1-0/+19
2019-06-29mm: hugetlb: soft-offline: dissolve_free_huge_page() return zero on !PageHugeNaoya Horiguchi1-9/+20
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-14hugetlbfs: always use address space in inode for resv_map pointerMike Kravetz1-1/+18
2019-05-14mm/mmu_notifier: use correct mmu_notifier events for each invalidationJérôme Glisse1-4/+4
2019-05-14mm/mmu_notifier: contextual information for event triggering invalidationJérôme Glisse1-4/+8
2019-05-14hugetlb: use same fault hash key for shared and private mappingsMike Kravetz1-16/+6
2019-05-14hugetlbfs: on restore reserve error path retain subpool reservationMike Kravetz1-5/+16
2019-05-14mm/hugetlb: get rid of NODEMASK_ALLOCOscar Salvador1-25/+11
2019-05-14hugetlbfs: fix potential over/underflow setting node specific nr_hugepagesMike Kravetz1-7/+34
2019-05-14hugetlb: allow to free gigantic pages regardless of the configurationAlexandre Ghiti1-16/+38
2019-05-14mm/hugetlb.c: don't put_page in lock of hugetlb_lockKai Shen1-1/+2
2019-05-06Merge branch 'core-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2019-04-14Merge branch 'page-refs' (page ref overflow)Linus Torvalds1-0/+13
2019-04-14mm: prevent get_user_pages() from overflowing page refcountLinus Torvalds1-0/+13
2019-04-03asm-generic/tlb, arch: Provide CONFIG_HAVE_MMU_GATHER_PAGE_SIZEPeter Zijlstra1-1/+1
2019-03-05mm: update get_user_pages_longterm to migrate pages allocated from CMA regionAneesh Kumar K.V1-2/+2
2019-03-05mm/hugetlb: add prot_modify_start/commit sequence for hugetlb updateAneesh Kumar K.V1-3/+5
2019-03-05mm/hugetlb: distinguish between migratability and movabilityAnshuman Khandual1-1/+1
2019-03-05mm: replace all open encodings for NUMA_NO_NODEAnshuman Khandual1-1/+2