From patchwork Tue Sep 27 03:28:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhao Gongyi X-Patchwork-Id: 12989834 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6FF71C6FA90 for ; Tue, 27 Sep 2022 03:32:53 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EE0208E00A6; Mon, 26 Sep 2022 23:32:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E901C8E0090; Mon, 26 Sep 2022 23:32:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D56708E00A6; Mon, 26 Sep 2022 23:32:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id CA9448E0090 for ; Mon, 26 Sep 2022 23:32:51 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 9CA52C047A for ; Tue, 27 Sep 2022 03:32:51 +0000 (UTC) X-FDA: 79956443742.20.4C81DFF Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by imf29.hostedemail.com (Postfix) with ESMTP id 21399120008 for ; Tue, 27 Sep 2022 03:32:49 +0000 (UTC) Received: from canpemm500005.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Mc4qy0mZGzpTgj; Tue, 27 Sep 2022 11:29:50 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.63) by canpemm500005.china.huawei.com (7.192.104.229) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 27 Sep 2022 11:32:44 +0800 From: Zhao Gongyi To: , , , CC: , , , , , Subject: [PATCH -next v4 0/3] Optimize and bugfix for memory-hotplug Date: Tue, 27 Sep 2022 11:28:48 +0800 Message-ID: <20220927032851.128174-1-zhaogongyi@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.67.174.63] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500005.china.huawei.com (7.192.104.229) X-CFilter-Loop: Reflected ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1664249571; a=rsa-sha256; cv=none; b=tDeK/eKXkwvmGD9t5qUtIWtEm1BqTGxmWFibHQW+uvBSkiJK4uu8nBvoHuJscntAfIca+q Ir7r0DkJVHUDeBiFhrEX8ehP8+Wou9w4Sx6TjqHs7Tu22cRIrMOK4sfAcyuygX7hH1JK2M fuEGcnmcX+Ckd1kJ5hm8CSfwiR2y2s4= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf29.hostedemail.com: domain of zhaogongyi@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=zhaogongyi@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1664249571; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references; bh=LN4CrGanoQSKdQj2br/CISUHlI8uGAFFAghA/jM3xVw=; b=quCWswCByHBUxgNVBsahxxZy42FjHxE5vc/HLfHXwea+tdbVUGssXQV+uT0pOR+JahTc/F CMtuhLd/DnfAZVVOpb4kb1mMsPZxcptueGeb8xgCT5MFMQvn7xExjsbSld4GNWE4FVF45e uF2GvkAIUKXSWL8I6KV8ELSMgaSHYus= X-Rspamd-Server: rspam03 X-Rspam-User: Authentication-Results: imf29.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf29.hostedemail.com: domain of zhaogongyi@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=zhaogongyi@huawei.com X-Stat-Signature: wyih6t9eds7wnc54mhhcs7173d31yuf9 X-Rspamd-Queue-Id: 21399120008 X-HE-Tag: 1664249569-57547 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 1. Add checking after online or offline 2. Restore memory before exit 3. Correct test's name Changes in v4: - Remove redundant log information Changes in v3: - Remove 2 obselute patches Zhao Gongyi (3): selftests/memory-hotplug: Add checking after online or offline selftests/memory-hotplug: Restore memory before exit docs: notifier-error-inject: Correct test's name .../fault-injection/notifier-error-inject.rst | 4 +-- .../memory-hotplug/mem-on-off-test.sh | 27 +++++++++++++++---- 2 files changed, 24 insertions(+), 7 deletions(-) --- 2.17.1