From patchwork Fri Sep 30 06:35:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhao Gongyi X-Patchwork-Id: 12994956 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 45330C433FE for ; Fri, 30 Sep 2022 06:39:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3A15F8D0005; Fri, 30 Sep 2022 02:39:48 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 350056B0074; Fri, 30 Sep 2022 02:39:48 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 23F608D0005; Fri, 30 Sep 2022 02:39:48 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 109F06B0073 for ; Fri, 30 Sep 2022 02:39:48 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id CB9351201D9 for ; Fri, 30 Sep 2022 06:39:47 +0000 (UTC) X-FDA: 79967801214.07.6F3EF3B Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by imf29.hostedemail.com (Postfix) with ESMTP id 78531120007 for ; Fri, 30 Sep 2022 06:39:46 +0000 (UTC) Received: from canpemm500005.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Mf0p42JgLzHtfg; Fri, 30 Sep 2022 14:34:52 +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; Fri, 30 Sep 2022 14:39:37 +0800 From: Zhao Gongyi To: , , , CC: , , , , , Subject: [PATCH -next v5 0/4] Optimize and bugfix for memory-hotplug Date: Fri, 30 Sep 2022 14:35:23 +0800 Message-ID: <20220930063527.108389-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: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500005.china.huawei.com (7.192.104.229) X-CFilter-Loop: Reflected ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1664519987; a=rsa-sha256; cv=none; b=taqWrRl3mSVWrABPdg0IlNBbwLF5QsRgjquIea3lrs+XnJ4lTPCIDd+ZwC3gbHu4a7bhRm MvvE8+xeQZzso20ar6N1NQs5PryOTbSVHAoOpsENxqGPkhddhZz6s9Yw0hluMEyBNmNAhq kY9Y238SUBoOWQVrSJsO4vbrcrJxiwM= 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.188 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=1664519987; 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=ceflcVc7bBmkXcVMc+tfyg7Vtk9SBJzVjaCPPKulb1k=; b=ho45lKBxRL+nNB2uqEpjDEFv4sOaBiG1E8+koUZb5ld/ddTox1Y9xUMet1PVLX/uL4H7+3 7kUqctkp7fLAwnjzQZGCh7JjcKghai9WI5zBHkFJwuEjaoqrotHV2QaY4sjc5qXXkrBf50 dLZgseS2wEZA8jhtZvgwaXnZOCnK88I= X-Rspamd-Queue-Id: 78531120007 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.188 as permitted sender) smtp.mailfrom=zhaogongyi@huawei.com X-Rspamd-Server: rspam03 X-Stat-Signature: yrurcdkdmdj7do837xcdoakicjr7mr1w X-HE-Tag: 1664519986-906534 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. Adjust log info for maintainability 4. Correct test's name Changes in v5: - Adjust log info for maintainability Changes in v4: - Remove redundant log information Changes in v3: - Remove 2 obselute patches Zhao Gongyi (4): selftests/memory-hotplug: Add checking after online or offline selftests/memory-hotplug: Restore memory before exit selftests/memory-hotplug: Adjust log info for maintainability docs: notifier-error-inject: Correct test's name .../fault-injection/notifier-error-inject.rst | 4 +-- .../memory-hotplug/mem-on-off-test.sh | 34 +++++++++++++++---- 2 files changed, 29 insertions(+), 9 deletions(-) --- 2.17.1