aboutsummaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
AgeCommit message (Expand)AuthorFilesLines
2022-07-03mm/hugetlb: remove unnecessary huge_ptep_set_access_flags() in hugetlb_mcopy_...Baolin Wang1-2/+0
2022-07-03mm/migration: fix potential pte_unmap on an not mapped pteMiaohe Lin1-2/+2
2022-07-03mm/migration: return errno when isolate_huge_page failedMiaohe Lin1-6/+5
2022-06-27docs: rename Documentation/vm to Documentation/mmMike Rapoport1-3/+3
2022-06-01delayacct: track delays from write-protect copyYang Yang1-0/+8
2022-05-27Merge tag 'mm-hotfixes-stable-2022-05-27' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-1/+8
2022-05-27hugetlb: fix huge_pmd_unshare address updateMike Kravetz1-1/+8
2022-05-13mm/hugetlb: handle uffd-wp during fork()Peter Xu1-14/+28
2022-05-13mm/hugetlb: only drop uffd-wp special pte if requiredPeter Xu1-8/+25
2022-05-13mm/hugetlb: allow uffd wr-protect none ptesPeter Xu1-4/+24
2022-05-13mm/hugetlb: handle pte markers in page faultsPeter Xu1-4/+14
2022-05-13mm/hugetlb: handle UFFDIO_WRITEPROTECTPeter Xu1-1/+12
2022-05-13mm/hugetlb: take care of UFFDIO_COPY_MODE_WPPeter Xu1-6/+23
2022-05-13mm/hugetlb: hook page faults for uffd write protectionPeter Xu1-0/+20
2022-05-13mm: hugetlb: considering PMD sharing when flushing cache/TLBsBaolin Wang1-2/+15
2022-05-09mm/gup: sanity-check with CONFIG_DEBUG_VM that anonymous pages are exclusive ...David Hildenbrand1-0/+3
2022-05-09mm/gup: trigger FAULT_FLAG_UNSHARE when R/O-pinning a possibly shared anonymo...David Hildenbrand1-3/+24
2022-05-09mm: support GUP-triggered unsharing of anonymous pagesDavid Hildenbrand1-21/+35
2022-05-09mm/gup: disallow follow_page(FOLL_PIN)David Hildenbrand1-3/+5
2022-05-09mm: remember exclusively mapped anonymous pages with PG_anon_exclusiveDavid Hildenbrand1-4/+11
2022-05-09mm/page-flags: reuse PG_mappedtodisk as PG_anon_exclusive for PageAnon() pagesDavid Hildenbrand1-0/+2
2022-05-09mm/rmap: split page_dup_rmap() into page_dup_file_rmap() and page_try_dup_ano...David Hildenbrand1-7/+9
2022-05-09mm/hugetlb: take src_mm->write_protect_seq in copy_hugetlb_page_range()David Hildenbrand1-2/+6
2022-04-29mm: hugetlb: add missing cache flushing in hugetlb_unshare_all_pmds()Baolin Wang1-0/+1
2022-04-29mm: use for_each_online_node and node_online instead of open codingPeng Liu1-2/+2
2022-04-29hugetlb: fix return value of __setup handlersPeng Liu1-8/+8
2022-04-29hugetlb: fix hugepages_setup when deal with pernodePeng Liu1-0/+15
2022-04-29hugetlb: fix wrong use of nr_online_nodesPeng Liu1-7/+5
2022-04-28mm: hugetlb_vmemmap: cleanup hugetlb_vmemmap related functionsMuchun Song1-5/+5
2022-04-28hugetlb: remove use of list iterator variable after loopJakob Koschel1-14/+19
2022-04-28mm, hugetlb, hwpoison: separate branch for free and in-use hugepageNaoya Horiguchi1-1/+3
2022-04-21mm/hwpoison: fix race between hugetlb free/demotion and memory_failure_hugetlb()Naoya Horiguchi1-0/+10
2022-04-15hugetlb: do not demote poisoned hugetlb pagesMike Kravetz1-7/+10
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-6/+9
2022-03-22userfaultfd: provide unmasked address on page-faultNadav Amit1-2/+4
2022-03-22mm/hugetlb.c: export PageHeadHuge()David Howells1-0/+1
2022-03-22mm/hugetlb: use helper macro __ATTR_RWMiaohe Lin1-2/+1
2022-03-22hugetlb: clean up potential spectre issue warningsMike Kravetz1-3/+4
2022-03-22mm: hugetlb: fix missing cache flush in hugetlb_mcopy_atomic_pte()Muchun Song1-1/+2
2022-03-22mm: merge pte_mkhuge() call into arch_make_huge_pte()Anshuman Khandual1-2/+1
2022-03-21mm/hugetlb: Use try_grab_folio() instead of try_grab_compound_head()Matthew Wilcox (Oracle)1-4/+3
2022-03-21mm: Make compound_pincount always availableMatthew Wilcox (Oracle)1-0/+4
2022-02-26hugetlbfs: fix a truncation issue in hugepages parameterLiu Yuntao1-2/+2
2022-02-26mm/hugetlb: fix kernel crash with hugetlb mremapAneesh Kumar K.V1-4/+3
2022-02-17mm/munlock: rmap call mlock_vma_page() munlock_vma_page()Hugh Dickins1-2/+2
2022-01-15mm: change page type prior to adding page table entryPasha Tatashin1-3/+3
2021-12-10hugetlbfs: fix issue of preallocation of gigantic pages can't workZhenguo Yao1-1/+1
2021-11-22hugetlbfs: flush before unlock on move_hugetlb_page_tables()Nadav Amit1-1/+1
2021-11-22hugetlbfs: flush TLBs correctly after huge_pmd_unshareNadav Amit1-4/+19
2021-11-20hugetlb, userfaultfd: fix reservation restore on userfaultfd errorMina Almasry1-3/+4
2021-11-20hugetlb: fix hugetlb cgroup refcounting during mremapBui Quang Minh1-1/+3
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