mbox series

[0/4] HWpoison: further fixes and cleanups

Message ID 20200902094510.10727-1-osalvador@suse.de (mailing list archive)
Headers show
Series HWpoison: further fixes and cleanups | expand

Message

Oscar Salvador Sept. 2, 2020, 9:45 a.m. UTC
The important bit of this patchset is patch#1, which is a fix to take off
HWPoison pages off a buddy freelist since it can lead to us having HWPoison
pages back in the game and no one noticing it is handling a HWPoison page.
So fix it (we did that already for soft_offline_page [1]).

The other patches are clean-ups and not that important, so if anything,
consider patch#1 for inclusion.

Thanks


Oscar Salvador (4):
  mm,hwpoison: Take free pages off the buddy freelists
  mm,hwpoison: Refactor madvise_inject_error
  mm,hwpoison: Drain pcplists before bailing out for non-buddy
    zero-refcount page
  mm,hwpoison: Drop unneeded pcplist draining

 mm/madvise.c        | 34 +++++++++++++---------------------
 mm/memory-failure.c | 39 +++++++++++++++++++++++++++++++++++----
 2 files changed, 48 insertions(+), 25 deletions(-)