aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
AgeCommit message (Expand)AuthorFilesLines
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
2021-06-29mm,hwpoison: send SIGBUS with error virutal addressNaoya Horiguchi1-1/+149
2021-06-24mm/hwpoison: do not lock page again when me_huge_page() successfully recoversNaoya Horiguchi1-14/+30
2021-06-24mm,hwpoison: return -EHWPOISON to denote that the page has already been poisonedAili Yao1-1/+2
2021-06-24mm/memory-failure: use a mutex to avoid memory_failure() racesTony Luck1-13/+23
2021-06-16mm/memory-failure: make sure wait for page writeback in memory_failureyangerkun1-1/+6
2021-06-16mm,hwpoison: fix race with hugetlb page allocationNaoya Horiguchi1-2/+27
2021-05-07mm: fix typos in commentsIngo Molnar1-1/+1
2021-04-30mm/memory-failure: unnecessary amount of unmappingJane Chu1-1/+1
2021-02-26mm: fix memory_failure() handling of dax-namespace metadataDan Williams1-0/+6
2021-02-24mm,hwpoison: send SIGBUS to PF_MCE_EARLY processes on action required eventsAili Yao1-15/+19
2021-01-24mm: fix page reference leak in soft_offline_page()Dan Williams1-4/+16
2021-01-12mm,hwpoison: fix printing of page flagsOscar Salvador1-1/+1
2020-12-15mm,hwpoison: return -EBUSY when migration failsOscar Salvador1-3/+3
2020-12-15mm,memory_failure: always pin the page in madvise_inject_errorOscar Salvador1-0/+6
2020-12-15mm,hwpoison: remove drain_all_pages from shake_pageOscar Salvador1-5/+2
2020-12-15mm,hwpoison: disable pcplists before grabbing a refcountOscar Salvador1-67/+65
2020-12-15mm,hwpoison: refactor get_any_pageOscar Salvador1-57/+42
2020-12-15mm,hwpoison: take free pages off the buddy freelistsOscar Salvador1-16/+30
2020-12-15mm,hwpoison: drain pcplists before bailing out for non-buddy zero-refcount pageOscar Salvador1-2/+22
2020-12-15mm/rmap: always do TTU_IGNORE_ACCESSShakeel Butt1-1/+1
2020-11-14hugetlbfs: fix anon huge page migration raceMike Kravetz1-19/+17
2020-10-18mm/memory-failure: remove a wrapper for alloc_migration_target()Joonsoo Kim1-12/+6
2020-10-16mm,hwpoison: try to narrow window race for free pagesOscar Salvador1-1/+6
2020-10-16mm,hwpoison: double-check page count in __get_any_page()Naoya Horiguchi1-0/+6
2020-10-16mm,hwpoison: introduce MF_MSG_UNSPLIT_THPNaoya Horiguchi1-1/+4
2020-10-16mm,hwpoison: return 0 if the page is already poisoned in soft-offlineOscar Salvador1-2/+2
2020-10-16mm,hwpoison: refactor soft_offline_huge_page and __soft_offline_pageOscar Salvador1-100/+82
2020-10-16mm,hwpoison: rework soft offline for in-use pagesOscar Salvador1-29/+14
2020-10-16mm,hwpoison: rework soft offline for free pagesOscar Salvador1-6/+12
2020-10-16mm,hwpoison: unify THP handling for hard and soft offlineOscar Salvador1-26/+22
2020-10-16mm,hwpoison: kill put_hwpoison_pageOscar Salvador1-15/+15
2020-10-16mm,hwpoison: unexport get_hwpoison_page and make it staticOscar Salvador1-2/+1
2020-10-16mm, hwpoison: remove recalculating hpageNaoya Horiguchi1-5/+1
2020-10-16mm,hwpoison: cleanup unused PageHuge() checkNaoya Horiguchi1-4/+1
2020-10-13mm/memory-failure.c: remove unused macro `writeback'Alex Shi1-2/+0
2020-10-13mm/memory-failure: do pgoff calculation before for_each_process()Xianting Tian1-1/+2
2020-09-24bdi: replace BDI_CAP_NO_{WRITEBACK,ACCT_DIRTY} with a single flagChristoph Hellwig1-1/+1
2020-08-12mm/migrate: introduce a standard migration target allocation functionJoonsoo Kim1-2/+5
2020-06-11mm/memory-failure: send SIGBUS(BUS_MCEERR_AR) only to current threadNaoya Horiguchi1-7/+16
2020-06-11mm/memory-failure: prioritize prctl(PR_MCE_KILL) over vm.memory_failure_early...Naoya Horiguchi1-10/+10
2020-06-02Merge tag 'acpi-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/raf...Linus Torvalds1-1/+14
2020-06-02mm, memory_failure: don't send BUS_MCEERR_AO for action required errorWetp Zhang1-6/+9
2020-05-19mm/memory-failure: Add memory_failure_queue_kick()James Morse1-1/+14
2020-04-07mm: code cleanup for MADV_FREEHuang Ying1-1/+1
2020-04-02hugetlbfs: use i_mmap_rwsem for more pmd sharing synchronizationMike Kravetz1-2/+27
2019-12-01mm/memory-failure.c: use page_shift() in add_to_kill()Yunfeng Ye1-1/+1
2019-12-01mm, soft-offline: convert parameter to pfnNaoya Horiguchi1-10/+9
2019-12-01mm/memory-failure.c clean up around tk pre-allocationJane Chu1-27/+13
2019-10-19mm/memory-failure.c: don't access uninitialized memmaps in memory_failure()David Hildenbrand1-6/+8
2019-10-14mm/memory-failure: poison read receives SIGKILL instead of SIGBUS if mmaped m...Jane Chu1-9/+13
2019-07-14Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rd...Linus Torvalds1-5/+1
2019-07-12mm/memory-failure.c: clarify error messageJane Chu1-1/+1
2019-07-08Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2019-07-02mm: remove MEMORY_DEVICE_PUBLIC supportChristoph Hellwig1-5/+1
2019-06-29mm: hugetlb: soft-offline: dissolve_free_huge_page() return zero on !PageHugeNaoya Horiguchi1-4/+1
2019-06-29mm: soft-offline: return -EBUSY if set_hwpoison_free_buddy_page() failsNaoya Horiguchi1-0/+2
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 263Thomas Gleixner1-4/+1
2019-05-27signal: Remove task parameter from force_sig_mceerrEric W. Biederman1-1/+1
2019-03-05mm: hwpoison: fix thp split handing in soft_offline_in_use_page()zhongjiang1-8/+6
2019-02-01mm: hwpoison: use do_send_sig_info() instead of force_sig()Naoya Horiguchi1-1/+2
2019-01-08hugetlbfs: revert "use i_mmap_rwsem for more pmd sharing synchronization"Mike Kravetz1-14/+2
2018-12-28hugetlbfs: use i_mmap_rwsem for more pmd sharing synchronizationMike Kravetz1-2/+14
2018-12-04dax: Fix unlock mismatch with updated APIMatthew Wilcox1-2/+4
2018-08-25Merge tag 'libnvdimm-for-4.19_dax-memory-failure' of gitolite.kernel.org:pub/...Linus Torvalds1-41/+169
2018-08-23mm: soft-offline: close the race against page allocationNaoya Horiguchi1-5/+21
2018-08-23mm: fix race on soft-offlining free huge pagesNaoya Horiguchi1-6/+16
2018-08-22mm: fix page_freeze_refs and page_unfreeze_refs in commentsJiang Biao1-1/+1
2018-07-23mm, memory_failure: Teach memory_failure() about dev_pagemap pagesDan Williams1-2/+123
2018-07-23mm, memory_failure: Collect mapping size in collect_procs()Dan Williams1-41/+40
2018-07-20mm, madvise_inject_error: Disable MADV_SOFT_OFFLINE for ZONE_DEVICE pagesDan Williams1-0/+8
2018-04-11mm, migrate: remove reason argument from new_page_tMichal Hocko1-1/+1
2018-04-05mm: hwpoison: disable memory error handling on 1GB hugepageNaoya Horiguchi1-0/+16
2018-02-13x86/mm, mm/hwpoison: Don't unconditionally unmap kernel 1:1 pagesTony Luck1-2/+0
2018-01-23signal/memory-failure: Use force_sig_mceerr and send_sig_mceerrEric W. Biederman1-9/+6
2018-01-23mm/memory_failure: Remove unused trapno from memory_failureEric W. Biederman1-20/+13
2017-11-15mm, soft_offline: improve hugepage soft offlining error logLaszlo Toth1-1/+1
2017-08-17x86/mm, mm/hwpoison: Clear PRESENT bit for kernel 1:1 mappings of poison pagesTony Luck1-0/+2
2017-07-10mm, hugetlb, soft_offline: use new_page_nodemask for soft offline migrationMichal Hocko1-9/+1
2017-07-10mm: hwpoison: introduce idenfity_page_stateNaoya Horiguchi1-32/+25
2017-07-10mm: hugetlb: delete dequeue_hwpoisoned_huge_page()Naoya Horiguchi1-11/+0
2017-07-10mm: hwpoison: dissolve in-use hugepage in unrecoverable memory errorNaoya Horiguchi1-40/+53
2017-07-10mm: hwpoison: introduce memory_failure_hugetlb()Naoya Horiguchi1-52/+82
2017-07-10mm: soft-offline: dissolve free hugepage if soft-offlinedNaoya Horiguchi1-1/+1
2017-07-10mm: hugetlb: soft-offline: dissolve source hugepage after successful migrationAnshuman Khandual1-4/+1
2017-07-10mm: hwpoison: change PageHWPoison behavior on hugetlb pagesNaoya Horiguchi1-63/+24
2017-07-10mm: hugetlb: prevent reuse of hwpoisoned free hugepagesNaoya Horiguchi1-1/+0
2017-07-07Merge tag 'for-linus-v4.13-2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2017-07-06mm/madvise: enable (soft|hard) offline of HugeTLB pages at PGD levelAnshuman Khandual1-4/+9
2017-07-06mm: fix mapping_set_error call in me_pagecache_dirtyJeff Layton1-1/+1
2017-06-17mm/memory-failure.c: use compound_head() flags for huge pagesJames Morse1-1/+4
2017-06-02mm/migrate: fix refcount handling when !hugepage_migration_supported()Punit Agrawal1-6/+2
2017-05-12hwpoison, memcg: forcibly uncharge LRU pagesMichal Hocko1-0/+7
2017-05-03mm: hwpoison: call shake_page() after try_to_unmap() for mlocked pageNaoya Horiguchi1-0/+8
2017-05-03mm: hwpoison: call shake_page() unconditionallyNaoya Horiguchi1-16/+11
2017-05-03mm/memory-failure.c: add page flag description in error pathsAnshuman Khandual1-8/+8
2017-05-03mm: make ttu's return booleanMinchan Kim1-14/+12
2017-05-03mm: delete unnecessary TTU_* flagsShaohua Li1-1/+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-1/+1
2017-02-24HWPOISON: soft offlining for non-lru movable pageYisheng Xie1-10/+16
2016-12-25mm: Use owner_priv bit for PageSwapCache, valid when PageSwapBackedNicholas Piggin1-3/+1
2016-11-11mm: hwpoison: fix thp split handling in memory_failure()Naoya Horiguchi1-7/+5
2016-07-28mm: hwpoison: remove incorrect commentsNaoya Horiguchi1-2/+0
2016-07-28mm, vmscan: move LRU lists to nodeMel Gorman1-2/+2
2016-05-20mm/memory-failure.c: replace "MCE" with "Memory failure"Chen Yucong1-32/+40
2016-04-28mm/memory-failure: fix race with compound page split/mergeKonstantin Khlebnikov1-1/+9
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-1/+1
2016-03-17mm: convert printk(KERN_<LEVEL> to pr_<level>Joe Perches1-31/+21
2016-03-15mm/memory-failure.c: remove useless "undef"sWang Xiaoqiang1-2/+0
2016-01-15mm: soft-offline: exit with failure for non anonymous thpNaoya Horiguchi1-8/+8
2016-01-15mm: soft-offline: clean up soft_offline_page()Naoya Horiguchi1-31/+47
2016-01-15mm: hwpoison: adjust for new thp refcountingNaoya Horiguchi1-52/+21
2016-01-15mm: soft-offline: check return value in second __get_any_page() callNaoya Horiguchi1-1/+1
2016-01-15thp, mm: split_huge_page(): caller need to lock pageKirill A. Shutemov1-1/+7
2016-01-15page-flags: define PG_locked behavior on compound pagesKirill A. Shutemov1-1/+1
2015-11-06mm: make compound_head() robustKirill A. Shutemov1-7/+0
2015-11-05mm: hwpoison: ratelimit messages from unpoison_memory()Naoya Horiguchi1-9/+25
2015-09-10hwpoison: use page_cgroup_ino for filtering by memcgVladimir Davydov1-14/+2
2015-09-08mm: rename alloc_pages_exact_node() to __alloc_pages_node()Vlastimil Babka1-1/+1
2015-09-08mm/hwpoison: don't try to unpoison containment-failed pagesNaoya Horiguchi1-0/+16
2015-09-08mm/hwpoison: fix race between soft_offline_page and unpoison_memoryWanpeng Li1-4/+0
2015-09-08mm/hwpoison: introduce num_poisoned_pages wrappersNaoya Horiguchi1-16/+14
2015-09-08mm/hwpoison: replace most of put_page in memory error handling by put_hwpoiso...Wanpeng Li1-17/+15
2015-09-08mm/hwpoison: introduce put_hwpoison_page to put refcount for memory error han...Wanpeng Li1-0/+21
2015-09-08mm/hwpoison: fix PageHWPoison test/set raceWanpeng Li1-0/+2
2015-09-08mm/hwpoison: fix failure to split thp w/ refcount heldWanpeng Li1-0/+2
2015-09-08memcg: export struct mem_cgroupMichal Hocko1-1/+1
2015-08-14mm/hwpoison: fix panic due to split huge zero pageWanpeng Li1-2/+5
2015-08-14mm/hwpoison: fix fail isolate hugetlbfs page w/ refcount heldWanpeng Li1-7/+6
2015-08-14mm/hwpoison: fix page refcount of unknown non LRU pageWanpeng Li1-0/+2
2015-08-07mm/memory-failure: set PageHWPoison before migrate_pages()Naoya Horiguchi1-3/+4
2015-08-07mm/memory-failure: give up error handling for non-tail-refcounted thpNaoya Horiguchi1-9/+12
2015-08-07mm/memory-failure: fix race in counting num_poisoned_pagesNaoya Horiguchi1-2/+2
2015-08-07mm/memory-failure: unlock_page before put_pageNaoya Horiguchi1-2/+2
2015-06-24tracing: add trace event for memory-failureXie XiuQi1-0/+3
2015-06-24memory-failure: change type of action_result's param 3 to enumXie XiuQi1-1/+2
2015-06-24memory-failure: export page_type and action resultXie XiuQi1-101/+67
2015-06-24mm/memory-failure: me_huge_page() does nothing for thpNaoya Horiguchi1-0/+4
2015-06-24mm: soft-offline: don't free target page in successful page migrationNaoya Horiguchi1-22/+0
2015-06-24mm/memory-failure: introduce get_hwpoison_page() for consistent refcount hand...Naoya Horiguchi1-5/+45
2015-06-24mm/memory-failure: split thp earlier in memory error handlingNaoya Horiguchi1-63/+25
2015-06-24mm, hwpoison: remove obsolete "Notebook" todo listAndi Kleen1-7/+0
2015-06-24mm, hwpoison: add comment describing when to add new casesAndi Kleen1-0/+8
2015-05-05mm: soft-offline: fix num_poisoned_pages counting on concurrent eventsNaoya Horiguchi1-4/+4
2015-05-05mm/memory-failure: call shake_page() when error hits thp tail pageNaoya Horiguchi1-4/+4
2015-04-15mm: hugetlb: introduce page_huge_activeNaoya Horiguchi1-2/+12
2015-04-15mm/memory-failure.c: define page types for action_result() in one placeNaoya Horiguchi1-31/+77
2015-02-12mm: hwpoison: drop lru_add_drain_all() in __soft_offline_page()Naoya Horiguchi1-2/+0
2015-02-12vmscan: per memory cgroup slab shrinkersVladimir Davydov1-9/+2
2014-12-13mm: vmscan: invoke slab shrinkers from shrink_zone()Johannes Weiner1-8/+3
2014-12-13mm/memory-failure: share the i_mmap_rwsemDavidlohr Bueso1-2/+2
2014-12-13mm: use new helper functions around the i_mmap_mutexDavidlohr Bueso1-2/+2
2014-12-10Merge branch 'akpm' (patchbomb from Andrew)Linus Torvalds1-2/+2
2014-12-10mm, memory_hotplug/failure: drain single zone pcplistsVlastimil Babka1-2/+2
2014-12-10mm: introduce single zone pcplists drainVlastimil Babka1-2/+2
2014-10-21RAS, HWPOISON: Fix wrong error recovery statusChen, Gong1-1/+1
2014-09-19cgroup: remove redundant check in cgroup_ino()Zefan Li1-1/+1