aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
AgeCommit message (Expand)AuthorFilesLines
2025-09-21mm, swap: cleanup swap cache API and add kerneldocKairui Song1-1/+1
2025-09-21mm/memremap: remove unused get_dev_pagemap() parameterAlistair Popple1-1/+1
2025-09-21mm/hwpoison: decouple hwpoison_filter from mm/memory-failure.cMiaohe Lin1-89/+17
2025-09-21Merge branch 'mm-hotfixes-stable' into mm-stable in order to pick upAndrew Morton1-11/+9
2025-09-13mm: introduce memdesc_flags_tMatthew Wilcox (Oracle)1-6/+6
2025-09-08mm/memory-failure: fix VM_BUG_ON_PAGE(PagePoisoned(page)) when unpoison memoryMiaohe Lin1-4/+3
2025-09-03mm/memory-failure: fix redundant updates for already poisoned pagesKyle Meyer1-7/+6
2025-08-19mm/memory-failure: fix infinite UCE for VM_PFNMAP pfnJinjiang Tu1-0/+8
2025-08-05Merge tag 'mm-stable-2025-08-03-12-35' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+9
2025-08-02mm/memory-failure: hold PTL in hwpoison_hugetlb_rangeJinjiang Tu1-3/+9
2025-07-31Merge tag 'mm-stable-2025-07-30-15-25' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+2
2025-07-28Merge tag 'acpi-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ra...Linus Torvalds1-13/+0
2025-07-19mm/vmscan: fix hwpoisoned large folio handling in shrink_folio_listJinjiang Tu1-0/+4
2025-07-16ACPI: APEI: handle synchronous exceptions in task workShuai Xue1-13/+0
2025-07-13mm: rename __PageMovable() to page_has_movable_ops()David Hildenbrand1-2/+2
2025-03-17mm: memory-failure: enhance comments for return value of memory_failure()Shuai Xue1-3/+7
2025-03-17mm/hwpoison: do not send SIGBUS to processes with recovered clean pagesShuai Xue1-3/+8
2025-03-17fs/dax: properly refcount fs dax pagesAlistair Popple1-3/+3
2025-03-05mm: memory-failure: update ttu flag inside unmap_poisoned_folioMa Wupeng1-32/+31
2025-01-28treewide: const qualify ctl_tables where applicableJoel Granados1-1/+1
2024-11-11mm/memory-failure: replace sprintf() with sysfs_emit()zhangguopeng1-1/+1
2024-11-07mm: mass constification of folio/page pointersMatthew Wilcox (Oracle)1-11/+13
2024-11-07mm: renovate page_address_in_vma()Matthew Wilcox (Oracle)1-1/+1
2024-11-07mm: convert page_to_pgoff() to page_pgoff()Matthew Wilcox (Oracle)1-2/+2
2024-09-03mm: migrate: add isolate_folio_to_list()Kefeng Wang1-35/+13
2024-09-03mm: memory-failure: add unmap_poisoned_folio()Kefeng Wang1-17/+27
2024-08-15mm/memory-failure: use raw_spinlock_t in struct memory_failure_cpuWaiman Long1-9/+11
2024-07-12mm/memory-failure: remove obsolete MF_MSG_DIFFERENT_COMPOUNDMiaohe Lin1-16/+3
2024-07-12mm: provide mm_struct and address to huge_ptep_get()Christophe Leroy1-1/+1
2024-07-04mm/memory-failure: userspace controls soft-offlining pagesJiaqi Yan1-2/+20
2024-07-04mm/memory-failure: refactor log format in soft offline codeJiaqi Yan1-6/+9
2024-07-03mm/memory-failure: refactor log format in unpoison_memoryJiaqi Yan1-9/+9
2024-07-03mm/memory-failure: correct comment in me_swapcache_dirtyMiaohe Lin1-1/+1
2024-07-03mm/memory-failure: remove obsolete comment in kill_proc()Miaohe Lin1-2/+0
2024-07-03mm/memory-failure: fix comment of get_hwpoison_page()Miaohe Lin1-1/+1
2024-07-03mm/memory-failure: remove obsolete comment in unpoison_memory()Miaohe Lin1-4/+0
2024-07-03mm/memory-failure: use helper macro task_pid_nr()Miaohe Lin1-4/+4
2024-07-03mm/memory-failure: don't export hwpoison_filter() when !CONFIG_HWPOISON_INJECTMiaohe Lin1-2/+1
2024-07-03mm/memory-failure: remove confusing initialization to countMiaohe Lin1-1/+1
2024-07-03mm/memory-failure: remove unneeded empty stringMiaohe Lin1-1/+1
2024-07-03mm/memory-failure: save some page_folio() callsMiaohe Lin1-3/+3
2024-07-03mm/memory-failure: add macro GET_PAGE_MAX_RETRY_NUMMiaohe Lin1-3/+5
2024-07-03mm/memory-failure: remove MF_MSG_SLABMiaohe Lin1-1/+0
2024-07-03mm/memory-failure: simplify put_ref_page()Miaohe Lin1-5/+1
2024-07-03mm/memory-failure: stop setting the folio error flagMatthew Wilcox (Oracle)1-29/+0
2024-07-03mm/memory-failure: use helper llist_for_each_entry()Yifei Li1-2/+2
2024-07-03mm/memory-failure: send SIGBUS in the event of thp split failJane Chu1-5/+29
2024-07-03mm/memory-failure: move hwpoison_filter() higher upJane Chu1-8/+12
2024-07-03mm/memory-failure: improve memory failure action_result messagesJane Chu1-5/+32
2024-07-03mm/memory-failure: try to send SIGBUS even if unmap failedJane Chu1-11/+4
2024-05-24mm/memory-failure: fix handling of dissolved but not taken off from buddy pagesMiaohe Lin1-2/+2
2024-05-24mm/huge_memory: don't unpoison huge_zero_folioMiaohe Lin1-0/+7
2024-05-05memory-failure: remove calls to page_mapping()Matthew Wilcox (Oracle)1-2/+4
2024-05-05mm/memory-failure: pass the folio to collect_procs_ksm()Matthew Wilcox (Oracle)1-1/+1
2024-05-05mm/memory-failure: use folio functions throughout collect_procs()Matthew Wilcox (Oracle)1-2/+2
2024-05-05mm/memory-failure: add some folio conversions to unpoison_memoryMatthew Wilcox (Oracle)1-4/+4
2024-05-05mm/memory-failure: convert hwpoison_user_mappings to take a folioMatthew Wilcox (Oracle)1-15/+15
2024-05-05mm/memory-failure: convert memory_failure() to use a folioMatthew Wilcox (Oracle)1-19/+21
2024-05-05mm: convert hugetlb_page_mapping_lock_write to folioMatthew Wilcox (Oracle)1-1/+1
2024-05-05mm/memory-failure: convert shake_page() to shake_folio()Matthew Wilcox (Oracle)1-5/+10
2024-05-05mm: return the address from page_mapped_in_vma()Matthew Wilcox (Oracle)1-9/+13
2024-05-05mm/memory-failure: pass addr to __add_to_kill()Matthew Wilcox (Oracle)1-2/+4
2024-05-05mm/memory-failure: remove fsdax_pgoff argument from __add_to_killMatthew Wilcox (Oracle)1-18/+9
2024-05-05mm/hugetlb: convert dissolve_free_huge_pages() to foliosSidhartha Kumar1-4/+4
2024-05-05mm/memory-failure: use folio_mapcount() in hwpoison_user_mappings()David Hildenbrand1-2/+2
2024-04-25memory: remove the now superfluous sentinel element from ctl_table arrayJoel Granados1-1/+0
2024-04-25mm: rename vma_pgoff_address back to vma_addressMatthew Wilcox (Oracle)1-1/+1
2024-04-25mm: record the migration reason for struct migration_target_controlBaolin Wang1-0/+1
2024-04-25mm: free up PG_slabMatthew Wilcox (Oracle)1-9/+0
2024-04-16mm/memory-failure: fix deadlock when hugetlb_optimize_vmemmap is enabledMiaohe Lin1-3/+15
2024-02-07mm/memory-failure: fix crash in split_huge_page_to_list from soft_offline_pageMiaohe Lin1-0/+3
2024-01-25fs/hugetlbfs/inode.c: mm/memory-failure.c: fix hugetlbfs hwpoison handlingSidhartha Kumar1-1/+1
2024-01-10Merge tag 'xfs-6.8-merge-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-4/+17
2023-12-29mm/rmap: remove page_remove_rmap()David Hildenbrand1-2/+2
2023-12-20sync mm-stable with mm-hotfixes-stable to pick up depended-upon changesAndrew Morton1-17/+16
2023-12-20mm/memory-failure: cast index to loff_t before shifting itMatthew Wilcox (Oracle)1-1/+1
2023-12-20mm/memory-failure: check the mapcount of the precise pageMatthew Wilcox (Oracle)1-3/+3
2023-12-20mm/memory-failure: pass the folio and the page to collect_procs()Matthew Wilcox (Oracle)1-13/+12
2023-12-10fs: convert error_remove_page to error_remove_folioMatthew Wilcox (Oracle)1-5/+5
2023-12-10memory-failure: convert truncate_error_page to truncate_error_folioMatthew Wilcox (Oracle)1-5/+4
2023-12-10memory-failure: use a folio in me_huge_page()Matthew Wilcox (Oracle)1-6/+6
2023-12-10memory-failure: convert delete_from_lru_cache() to take a folioMatthew Wilcox (Oracle)1-11/+11
2023-12-10memory-failure: use a folio in me_pagecache_dirty()Matthew Wilcox (Oracle)1-3/+4
2023-12-10memory-failure: use a folio in me_pagecache_clean()Matthew Wilcox (Oracle)1-7/+6
2023-12-10mm: convert isolate_page() to mf_isolate_folio()Matthew Wilcox (Oracle)1-14/+14
2023-12-10mm: convert soft_offline_in_use_page() to use a folioMatthew Wilcox (Oracle)1-12/+12
2023-12-10mm: use mapping_evict_folio() in truncate_error_page()Matthew Wilcox (Oracle)1-2/+2
2023-12-07mm, pmem, xfs: Introduce MF_MEM_PRE_REMOVE for unbindShiyang Ruan1-4/+17
2023-10-04mm: convert DAX lock/unlock page to lock/unlock folioMatthew Wilcox (Oracle)1-13/+16
2023-09-05Merge tag 'mm-hotfixes-stable-2023-09-05-11-51' of git://git.kernel.org/pub/s...Linus Torvalds1-8/+8
2023-09-05mm: memory-failure: use rcu lock instead of tasklist_lock when collect_procs()Tong Tiangen1-8/+8
2023-09-02mm/hwpoison: rename hwp_walk* to hwpoison_walk*Jiaqi Yan1-8/+8
2023-09-02mm: memory-failure: add PageOffline() checkMiaohe Lin1-2/+3
2023-08-24mm: memory-failure: fix potential page refcnt leak in memory_failure()Miaohe Lin1-2/+1
2023-08-21merge mm-hotfixes-stable into mm-stable to pick up depended-upon changesAndrew Morton1-17/+24
2023-08-21mm: memory-failure: use helper macro llist_for_each_entry_safe()Miaohe Lin1-8/+5
2023-08-21mm: memory-failure: fix unexpected return value in soft_offline_page()Miaohe Lin1-4/+7
2023-08-21mm: enable page walking API to lock vmas during the walkSuren Baghdasaryan1-0/+1
2023-08-18mm/hwpoison: check if a raw page in a hugetlb folio is raw HWPOISONJiaqi Yan1-2/+38
2023-08-18mm/hwpoison: delete all entries before traversal in __folio_free_raw_hwpJiaqi Yan1-5/+3
2023-08-18mm: memory-failure: fix race window when trying to get hugetlb folioMiaohe Lin1-4/+16
2023-08-18mm: memory-failure: fetch compound head after extra page refcnt is heldMiaohe Lin1-2/+1
2023-08-18mm: memory-failure: minor cleanup for comments and codestyleMiaohe Lin1-6/+6
2023-08-18mm: memory-failure: remove unneeded header filesMiaohe Lin1-3/+0
2023-08-18mm: memory-failure: use local variable huge to check hugetlb pageMiaohe Lin1-2/+2
2023-08-18mm: memory-failure: don't account hwpoison_filter() filtered pagesMiaohe Lin1-1/+2
2023-08-18mm: memory-failure: ensure moving HWPoison flag to the raw error pagesMiaohe Lin1-0/+2
2023-08-18mm: memory-failure: remove unneeded PageHuge() checkMiaohe Lin1-3/+0
2023-08-18mm: merge folio_has_private()/filemap_release_folio() call pairsDavid Howells1-5/+3
2023-08-18mm: memory-failure: remove unneeded 'inline' annotationMiaohe Lin1-2/+2
2023-08-18mm: memory-failure: remove unneeded page state check in shake_page()Miaohe Lin1-7/+4
2023-08-04mm: memory-failure: avoid false hwpoison page mapped error infoMiaohe Lin1-3/+7
2023-08-04mm: memory-failure: fix potential unexpected return value from unpoison_memory()Miaohe Lin1-10/+9
2023-07-27mm/memory-failure: fix hardware poison check in unpoison_memory()Sidhartha Kumar1-1/+1
2023-06-19mm: ptep_get() conversionRyan Roberts1-12/+14
2023-06-19mm/various: give up if pte_offset_map[_lock]() failsHugh Dickins1-3/+5
2023-06-09mm: memory-failure: move sysctl register in memory_failure_init()Kefeng Wang1-9/+2
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-18/+47
2023-04-18mm: ksm: support hwpoison for ksm pageLonglong Xia1-9/+25
2023-04-18mm: memory-failure: refactor add_to_kill()Longlong Xia1-8/+21
2023-04-13mm: memory-failure: Move memory failure sysctls to its own fileKefeng Wang1-2/+34
2023-03-28mm: memory-failure: directly use IS_ENABLED(CONFIG_HWPOISON_INJECT)Kefeng Wang1-1/+1
2023-02-27mm/hwpoison: convert TTU_IGNORE_HWPOISON to TTU_HWPOISONNaoya Horiguchi1-4/+4
2023-02-20mm: change to return bool for isolate_movable_page()Baolin Wang1-2/+2
2023-02-20mm: hugetlb: change to return bool for isolate_hugetlb()Baolin Wang1-1/+1
2023-02-20mm: change to return bool for isolate_lru_page()Baolin Wang1-2/+2
2023-02-13mm/hugetlb: convert isolate_hugetlb to foliosSidhartha Kumar1-1/+1
2023-02-02mm: memory-failure: bump memory failure stats to pglist_dataJiaqi Yan1-0/+36
2023-02-02mm: memory-failure: add memory failure stats to sysfsJiaqi Yan1-0/+35
2023-02-02mm/hugetlb: convert get_hwpoison_huge_page() to foliosSidhartha Kumar1-11/+11
2023-02-02mm: clean up mlock_page / munlock_page references in commentsMatthew Wilcox (Oracle)1-1/+1
2023-02-02mm/memory-failure: convert unpoison_memory() to foliosSidhartha Kumar1-11/+9
2023-02-02mm/memory-failure: convert hugetlb_set_page_hwpoison() to foliosSidhartha Kumar1-4/+3
2023-02-02mm/memory-failure: convert __free_raw_hwp_pages() to foliosSidhartha Kumar1-4/+3
2023-02-02mm/memory-failure: convert raw_hwp_list_head() to foliosSidhartha Kumar1-7/+9
2023-02-02mm/memory-failure: convert free_raw_hwp_pages() to foliosSidhartha Kumar1-10/+12
2023-02-02mm/memory-failure: convert hugetlb_clear_page_hwpoison to foliosSidhartha Kumar1-5/+5
2023-02-02mm/memory-failure: convert try_memory_failure_hugetlb() to foliosSidhartha Kumar1-13/+13
2023-02-02mm/memory-failure: convert __get_huge_page_for_hwpoison() to foliosSidhartha Kumar1-10/+10
2023-01-18tools/vm: rename tools/vm to tools/mmSeongJae Park1-1/+1
2022-11-30mm/memory-failure.c: cleanup in unpoison_memoryMa Wupeng1-4/+2
2022-11-30memory-failure: convert truncate_error_page() to use folioVishal Moola (Oracle)1-2/+3
2022-11-30mm,hugetlb: use folio fields in second tail pageHugh Dickins1-3/+2
2022-11-30Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-1/+4
2022-11-08mm/hwpoison: introduce per-memory_block hwpoison counterNaoya Horiguchi1-25/+11
2022-11-08mm/hwpoison: pass pfn to num_poisoned_pages_*()Naoya Horiguchi1-7/+7
2022-11-08mm/hwpoison: move definitions of num_poisoned_pages_* to memory-failure.cNaoya Horiguchi1-0/+10
2022-11-08mm,hwpoison,hugetlb,memory_hotplug: hotremove memory section with hwpoisoned ...Naoya Horiguchi1-4/+17
2022-11-08mm: memory-failure: make action_result() return intKefeng Wang1-29/+16
2022-11-08mm: memory-failure: avoid pfn_valid() twice in soft_offline_page()Kefeng Wang1-3/+3
2022-11-08mm: memory-failure: make put_ref_page() more usefulKefeng Wang1-17/+17
2022-11-08hugetlbfs: don't delete error page from pagecacheJames Houghton1-1/+4
2022-10-03rmap: remove page_unlock_anon_vma_read()Matthew Wilcox (Oracle)1-1/+1
2022-09-26mm/swap: add swp_offset_pfn() to fetch PFN from swap entryPeter Xu1-1/+1
2022-09-26mm, hwpoison: cleanup some obsolete commentsMiaohe Lin1-5/+5
2022-09-26mm, hwpoison: check PageTable() explicitly in hwpoison_user_mappings()Miaohe Lin1-1/+1
2022-09-26mm, hwpoison: avoid unneeded page_mapped_in_vma() overhead in collect_procs_a...Miaohe Lin1-3/+3
2022-09-26mm, hwpoison: use num_poisoned_pages_sub() to decrease num_poisoned_pagesMiaohe Lin1-2/+4
2022-09-26mm, hwpoison: use __PageMovable() to detect non-lru movable pagesMiaohe Lin1-7/+9
2022-09-26mm, hwpoison: use ClearPageHWPoison() in memory_failure()Miaohe Lin1-1/+1
2022-09-26Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-11/+16
2022-09-26mm,hwpoison: check mm when killing accessing processShuai Xue1-0/+3
2022-09-11mm: memory-failure: kill __soft_offline_page()Kefeng Wang1-15/+10
2022-09-11mm: memory-failure: kill soft_offline_free_page()Kefeng Wang1-11/+1
2022-09-11mm, hwpoison: avoid trying to unpoison reserved pageMiaohe Lin1-2/+2
2022-09-11mm, hwpoison: kill procs if unmap failsMiaohe Lin1-8/+4
2022-09-11mm, hwpoison: fix possible use-after-free in mf_dax_kill_procs()Miaohe Lin1-1/+2
2022-09-11mm, hwpoison: fix extra put_page() in soft_offline_page()Miaohe Lin1-2/+0
2022-09-11mm, hwpoison: fix page refcnt leaking in unpoison_memory()Miaohe Lin1-0/+1
2022-09-11mm, hwpoison: fix page refcnt leaking in try_memory_failure_hugetlb()Miaohe Lin1-2/+4
2022-09-11mm: memory-failure: cleanup try_to_split_thp_page()Kefeng Wang1-11/+12
2022-09-11mm/memory-failure: fall back to vma_address() when ->notify_failure() failsDan Williams1-10/+12
2022-09-11mm/memory-failure: fix detection of memory_failure() handlersDan Williams1-1/+1
2022-08-08mm, hwpoison: enable memory error handling on 1GB hugepageNaoya Horiguchi1-16/+0
2022-08-08mm, hwpoison: skip raw hwpoison page in freeing 1GB hugepageNaoya Horiguchi1-4/+6
2022-08-08mm, hwpoison: make __page_handle_poison returns intNaoya Horiguchi1-5/+11
2022-08-08mm, hwpoison: set PG_hwpoison for busy hugetlb pagesNaoya Horiguchi1-4/+4
2022-08-08mm, hwpoison: make unpoison aware of raw error info in hwpoisoned hugepageNaoya Horiguchi1-5/+47
2022-08-08mm, hwpoison, hugetlb: support saving mechanism of raw error pagesNaoya Horiguchi1-3/+86
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-109/+221
2022-08-03Merge tag 'folio-6.0' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-1/+1
2022-07-29mm: memory-failure: convert to pr_fmt()Kefeng Wang1-30/+28
2022-07-17mm: introduce mf_dax_kill_procs() for fsdax caseShiyang Ruan1-10/+86
2022-07-17pagemap,pmem: introduce ->memory_failure()Shiyang Ruan1-0/+14
2022-07-17mm: factor helpers for memory_failure_dev_pagemapShiyang Ruan1-76/+95
2022-07-17mm: add zone device coherent type memory supportAlex Sierra1-2/+6
2022-07-03mm/swap: convert delete_from_swap_cache() to take a folioMatthew Wilcox (Oracle)1-2/+3
2022-07-03mm/migration: return errno when isolate_huge_page failedMiaohe Lin1-1/+1
2022-06-29mm: Remove __delete_from_page_cache()Matthew Wilcox (Oracle)1-1/+1
2022-06-16mm/memory-failure: disable unpoison once hw error happenszhenwei pi1-0/+12
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-63/+63
2022-05-19mm: don't be stuck to rmap lock on reclaim pathMinchan Kim1-1/+1
2022-05-13mm/memory-failure.c: simplify num_poisoned_pages_inc/deczhenwei pi1-8/+3
2022-05-13mm/memory-failure.c: add hwpoison_filter for soft offlinezhenwei pi1-2/+14
2022-05-13mm/memory-failure.c: simplify num_poisoned_pages_deczhenwei pi1-28/+9
2022-05-13mm/memory-failure.c: move clear_hwpoisoned_pageszhenwei pi1-0/+21
2022-05-09mm: create new mm/swap.h header fileNeilBrown1-0/+1
2022-04-28mm, hugetlb, hwpoison: separate branch for free and in-use hugepageNaoya Horiguchi1-1/+3
2022-04-28mm/memory-failure.c: dissolve truncated hugetlb pageMiaohe Lin1-5/+4
2022-04-28mm/memory-failure.c: minor cleanup for HWPoisonHandlableMiaohe Lin1-5/+3