Message ID | 20200914101559.17103-5-osalvador@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | HWpoison: further fixes and cleanups | expand |
diff --git a/mm/madvise.c b/mm/madvise.c index 4ce66bab53dd..4bac8e85497a 100644 --- a/mm/madvise.c +++ b/mm/madvise.c @@ -917,10 +917,6 @@ static int madvise_inject_error(int behavior, return ret; } - /* Ensure that all poisoned pages are removed from per-cpu lists */ - for_each_populated_zone(zone) - drain_all_pages(zone); - return 0; } #endif