From patchwork Mon Sep 26 13:03:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhao Gongyi X-Patchwork-Id: 12988685 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 9DC33C32771 for ; Mon, 26 Sep 2022 13:07:39 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B04308E0046; Mon, 26 Sep 2022 09:07:38 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A68B48E0039; Mon, 26 Sep 2022 09:07:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8B9418E0046; Mon, 26 Sep 2022 09:07:38 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 79DBB8E0039 for ; Mon, 26 Sep 2022 09:07:38 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 406FB40B48 for ; Mon, 26 Sep 2022 13:07:38 +0000 (UTC) X-FDA: 79954263396.14.A84162F Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by imf05.hostedemail.com (Postfix) with ESMTP id E39AD10000F for ; Mon, 26 Sep 2022 13:07:35 +0000 (UTC) Received: from canpemm500005.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Mbjc43ykJzlXPD; Mon, 26 Sep 2022 21:03:16 +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; Mon, 26 Sep 2022 21:07:30 +0800 From: Zhao Gongyi To: , , , CC: , , , , , Zhao Gongyi Subject: [PATCH -next v3 0/3] Optimize and bugfix for memory-hotplug Date: Mon, 26 Sep 2022 21:03:38 +0800 Message-ID: <20220926130341.253039-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-Authentication-Results: i=1; imf05.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf05.hostedemail.com: domain of zhaogongyi@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=zhaogongyi@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1664197656; a=rsa-sha256; cv=none; b=LX2ZtpPpa7/+obftgjPUy4xuLC5NM04dnmEHHbTjOEjWqHhpH3Le1BhT4RpKZcN1LIfKnU MSfM3mSu9Ue/DyYmWBtWHo9+x600adJQvmaoYrEWxl5quJIdnNFmdtkZpyNLBLo4SJEYxZ hCnyendO/OkpIX962pOw/eSE/xkPyPI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1664197656; 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=E8La3jd/DoLTGpwmrYMUxEQD5CPdspGntJgzAlOp9iY=; b=3I3SP7ettyiy4Z37jKppnTgnFMjQDoxRg70K//7ZSe8mWpsdabinDUEY0qRU2VuEqQoML6 +jeq66ORr4pJjpLpUCdZwLk2NznxgMj5wuWLl+aUg2hvj9f+yZLhoI41XSzoRNoE59yilu 2Au3X7PWCEwLvh/DwqGgOptMpnUyhOs= X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: E39AD10000F X-Rspam-User: Authentication-Results: imf05.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf05.hostedemail.com: domain of zhaogongyi@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=zhaogongyi@huawei.com X-Stat-Signature: 97sx4twnq485sodc7dmcc94137qdc5rj X-HE-Tag: 1664197655-173228 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 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 | 29 +++++++++++++++---- 2 files changed, 26 insertions(+), 7 deletions(-) --- 2.17.1