aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
AgeCommit message (Expand)AuthorFilesLines
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
2022-04-28Revert "mm/memory-failure.c: fix race with changing page compound again"Naoya Horiguchi1-11/+0
2022-04-28mm/hwpoison: put page in already hwpoisoned case with MF_COUNT_INCREASEDNaoya Horiguchi1-0/+2
2022-04-28mm/memory-failure.c: remove unnecessary (void*) conversionsliqiong1-2/+2
2022-04-28mm/hwpoison: use pr_err() instead of dump_page() in get_any_page()Naoya Horiguchi1-1/+1
2022-04-28Revert "mm/memory-failure.c: skip huge_zero_page in memory_failure()"Xu Yu1-13/+0
2022-04-21mm/memory-failure.c: skip huge_zero_page in memory_failure()Xu Yu1-0/+13
2022-04-21mm/hwpoison: fix race between hugetlb free/demotion and memory_failure_hugetlb()Naoya Horiguchi1-42/+103
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-5/+7
2022-03-22mm/memory-failure.c: make non-LRU movable pages unhandlableMiaohe Lin1-7/+13
2022-03-22mm/memory-failure.c: avoid calling invalidate_inode_page() with unexpected pagesMiaohe Lin1-1/+1
2022-03-22mm/memory-failure.c: fix race with changing page compound againMiaohe Lin1-0/+12
2022-03-22mm/hwpoison: add in-use hugepage hwpoison filter judgementluofei1-0/+8
2022-03-22mm/hwpoison: avoid the impact of hwpoison_filter() return value on mce handlerluofei1-2/+7
2022-03-22mm/memory-failure.c: remove unnecessary PageTransTail checkMiaohe Lin1-1/+1
2022-03-22mm/memory-failure.c: remove obsolete comment in __soft_offline_pageMiaohe Lin1-4/+0
2022-03-22mm/memory-failure.c: rework the try_to_unmap logic in hwpoison_user_mappings()Miaohe Lin1-19/+15
2022-03-22mm/memory-failure.c: remove PageSlab check in hwpoison_filter_devMiaohe Lin1-6/+0
2022-03-22mm/memory-failure.c: fix race with changing page more robustlyMiaohe Lin1-5/+15
2022-03-22mm/memory-failure.c: rework the signaling logic in kill_procMiaohe Lin1-10/+6
2022-03-22mm/memory-failure.c: catch unexpected -EFAULT from vma_address()Miaohe Lin1-0/+1
2022-03-22mm/memory-failure.c: minor clean up for memory_failure_dev_pagemapMiaohe Lin1-2/+2
2022-03-22mm/hwpoison: fix error page recovered but reported "not recovered"Naoya Horiguchi1-1/+3
2022-03-22mm/memory-failure.c: remove obsolete commentNaoya Horiguchi1-6/+0
2022-03-21mm/rmap: Turn page_lock_anon_vma_read() into folio_lock_anon_vma_read()Matthew Wilcox (Oracle)1-1/+2
2022-03-21mm/rmap: Convert try_to_unmap() to take a folioMatthew Wilcox (Oracle)1-3/+4
2022-03-21mm/truncate: Split invalidate_inode_page() into mapping_evict_folio()Matthew Wilcox (Oracle)1-2/+2
2022-01-30memory-failure: fetch compound_head after pgmap_pfn_valid()Joao Martins1-0/+6
2022-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-68/+119
2022-01-15mm: fix some comment errorsQuanfa Fu1-1/+1
2022-01-15mm/hwpoison: fix unpoison_memory()Naoya Horiguchi1-19/+90
2022-01-15mm/hwpoison: remove MF_MSG_BUDDY_2ND and MF_MSG_POISONED_HUGENaoya Horiguchi1-2/+0
2022-01-15mm/hwpoison: mf_mutex for soft offline and unpoisonNaoya Horiguchi1-44/+18
2022-01-15mm: shmem: don't truncate page if memory failure happensYang Shi1-3/+11
2022-01-10Merge tag 'x86_sgx_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-6/+13
2021-12-25mm/hwpoison: clear MF_COUNT_INCREASED before retrying get_any_page()Liu Shixin1-0/+1
2021-12-25mm, hwpoison: fix condition in free hugetlb page pathNaoya Horiguchi1-9/+4
2021-11-15x86/sgx: Hook arch_memory_failure() into mainline codeTony Luck1-6/+13
2021-11-13Revert "mm: shmem: don't truncate page if memory failure happens"Linus Torvalds1-11/+3
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-35/+76
2021-11-06mm: hwpoison: handle non-anonymous THP correctlyYang Shi1-5/+2
2021-11-06mm: shmem: don't truncate page if memory failure happensYang Shi1-3/+11
2021-11-06mm: hwpoison: refactor refcount check handlingYang Shi1-29/+64
2021-11-06mm/memory_failure: constify static mm_walk_opsRikard Falkeborn1-1/+1
2021-11-06mm: don't include <linux/dax.h> in <linux/mempolicy.h>Christoph Hellwig1-0/+1
2021-11-02Merge tag 'printk-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-4/+4
2021-11-01Merge tag 'folio-5.16' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-1/+1
2021-10-28mm: filemap: check if THP has hwpoisoned subpage for PMD page faultYang Shi1-0/+14
2021-10-28mm: hwpoison: remove the unnecessary THP checkYang Shi1-14/+0
2021-10-27vsprintf: Make %pGp print the hex valueMatthew Wilcox (Oracle)1-4/+4
2021-09-27mm/memcg: Convert mem_cgroup_uncharge() to take a folioMatthew Wilcox (Oracle)1-1/+1
2021-09-24mm/memory_failure: fix the missing pte_unmap() callQi Zheng1-5/+5
2021-09-24mm, hwpoison: add is_free_buddy_page() in HWPoisonHandlable()Naoya Horiguchi1-1/+1
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-27/+24
2021-09-03mm/migrate: enable returning precise migrate_pages() success countYang Shi1-1/+1
2021-09-03mm: fix panic caused by __page_handle_poison()Michael Wang1-2/+2
2021-09-03mm: hwpoison: dump page for unhandlable pageYang Shi1-3/+3
2021-09-03mm: hwpoison: don't drop slab caches for offlining non-LRU pageYang Shi1-10/+8
2021-09-03mm/hwpoison: fix some obsolete commentsMiaohe Lin1-3/+3
2021-09-03mm/hwpoison: change argument struct page **hpagep to *hpageMiaohe Lin1-4/+3
2021-09-03mm/hwpoison: fix potential pte_unmap_unlock pte errorMiaohe Lin1-3/+4
2021-09-03mm/hwpoison: remove unneeded variable unmap_successMiaohe Lin1-2/+1
2021-08-30Merge tag 'hole_punch_for_v5.15-rc1' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2021-08-20mm/hwpoison: retry with shake_page() for unhandlable pagesNaoya Horiguchi1-3/+9
2021-07-12mm: Fix comments mentioning i_mutexJan Kara1-1/+1
2021-07-01mm: fix spelling mistakesZhen Lei1-1/+1
2021-06-30mm: hwpoison_user_mappings() try_to_unmap() with TTU_SYNCHugh Dickins1-1/+1
2021-06-30mm: rmap: make try_to_unmap() void functionYang Shi1-8/+7
2021-06-30mm/hwpoison: disable pcp for page_handle_poison()Naoya Horiguchi1-3/+16
2021-06-29mm,hwpoison: make get_hwpoison_page() call get_any_page()Naoya Horiguchi1-85/+109