From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59E77C433E2 for ; Thu, 17 Sep 2020 08:27:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1AA1321973 for ; Thu, 17 Sep 2020 08:27:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726474AbgIQI14 (ORCPT ); Thu, 17 Sep 2020 04:27:56 -0400 Received: from mx2.suse.de ([195.135.220.15]:48984 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726340AbgIQI1y (ORCPT ); Thu, 17 Sep 2020 04:27:54 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 69645B206; Thu, 17 Sep 2020 08:28:25 +0000 (UTC) From: Oscar Salvador To: akpm@linux-foundation.org Cc: aris@ruivo.org, naoya.horiguchi@nec.com, mhocko@kernel.org, tony.luck@intel.com, cai@lca.pw, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Oscar Salvador Subject: [PATCH v4 0/7] HWpoison: further fixes and cleanups Date: Thu, 17 Sep 2020 10:10:42 +0200 Message-Id: <20200917081049.27428-1-osalvador@suse.de> X-Mailer: git-send-email 2.13.7 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset includes some fixups (patch#1,patch#2 and patch#3) and some cleanups (patch#4-7). Patch#1 is a fix to take off HWPoison pages off a buddy freelist since it can lead us to having HWPoison pages back in the game without no one noticing it. So fix it (we did that already for soft_offline_page [1]). Patch#2 is fixing a rebasing problem that made the call to page_handle_poison from _soft_offline_page set the wrong value for hugepage_or_freepage. [2] Patch#3 is not really a fixup, but tries to re-handle a page in case it was allocated under us. [1] https://patchwork.kernel.org/cover/11704083/ [2] https://patchwork.kernel.org/comment/23619775/ Thanks Oscar Salvador (7): mm,hwpoison: take free pages off the buddy freelists mm,hwpoison: Do not set hugepage_or_freepage unconditionally mm,hwpoison: Try to narrow window race for free pages 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,hwpoison: remove stale code mm/madvise.c | 36 +++++++++++---------------- mm/memory-failure.c | 59 +++++++++++++++++++++++++++++++++------------ 2 files changed, 58 insertions(+), 37 deletions(-) -- 2.26.2