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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A81AFC433F5 for ; Fri, 30 Sep 2022 08:33:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229708AbiI3IdQ (ORCPT ); Fri, 30 Sep 2022 04:33:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229723AbiI3IdM (ORCPT ); Fri, 30 Sep 2022 04:33:12 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 757A7115A4D for ; Fri, 30 Sep 2022 01:33:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664526783; h=from:from: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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BQ5gZ6bT2BXV787qrrKGQYFWxueLE8QhlhnLUB2rrGg=; b=VziK5ZQdsfIwRGws6uU2Rl+FMO1T+qjJXhbjbxUcAQ+SCnUWp4MsqtC8XIIffpLWx1RKgi dGSgxpKm8XWNmRd/8v1viSNqL/c28UQ8fKvVTg5uzmLbpZTNNh9segikjg+OvWjRZ85vmZ ITfQULum+SJXTXfex0Io8ynEU0W7bd8= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-182-Y-5U4FgnMlGJWJE2ChwXiA-1; Fri, 30 Sep 2022 04:33:01 -0400 X-MC-Unique: Y-5U4FgnMlGJWJE2ChwXiA-1 Received: by mail-wm1-f72.google.com with SMTP id c130-20020a1c3588000000b003b56be513e1so1764652wma.0 for ; Fri, 30 Sep 2022 01:33:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date; bh=BQ5gZ6bT2BXV787qrrKGQYFWxueLE8QhlhnLUB2rrGg=; b=b9+7rEfGNyjDL3tEFJKCKTcwDFYuxMJCql8oXEF/xeA/MABELpqz6/WRSOvBJX7wgq 7alVleFsFti7DnC1wwgVAhxQ7Mcs2kLrQoGbnMl5H3jTyCBt6/FiwvQYbC7AoGd0uyc6 3wOXH09a+Xq1nIGGUhAO/qrJmivNxm2bJGKDeprJllTbsAmLEdl3JpnNpAfAA7MsDFxD SXhLQdkARw2orOt9r/N51PkaxyDPwrNz73zBpSwG6r759LlAkPcrYxbYEdZe9iAGNAeU m8+5RSPOU4l9wJztg/p5z8ZFuJ1Oos3s+JHGh50RVgPQYob8c8Ar9sucHSKX6D+BRuyb OyKg== X-Gm-Message-State: ACrzQf0bw3Ex6rfKY3TbGUemPDLLdwUSWEqNrRdcF/8uemxov78ATze3 SpoC/1Pc7in980OfBJq/WjHykHS6XVMK+mokdt6R2CiLO9jZXi7bp8KWuKZFzjUUytUX/utSltJ djtd2C9g+G7lOzbEg/og9OCFw X-Received: by 2002:a05:6000:2ad:b0:22a:399b:5611 with SMTP id l13-20020a05600002ad00b0022a399b5611mr5097674wry.434.1664526780594; Fri, 30 Sep 2022 01:33:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6BggB4PAQL9WnQm9Jcg4NtjrhEsaMOQneWlKdBdhs/6z+OcuyCuOZtBBg4ExM/WvGTFSIg9g== X-Received: by 2002:a05:6000:2ad:b0:22a:399b:5611 with SMTP id l13-20020a05600002ad00b0022a399b5611mr5097665wry.434.1664526780357; Fri, 30 Sep 2022 01:33:00 -0700 (PDT) Received: from ?IPV6:2003:cb:c70c:c00:48b:b68a:f9e0:ebce? (p200300cbc70c0c00048bb68af9e0ebce.dip0.t-ipconnect.de. [2003:cb:c70c:c00:48b:b68a:f9e0:ebce]) by smtp.gmail.com with ESMTPSA id u15-20020a05600c19cf00b003a2f2bb72d5sm8554440wmq.45.2022.09.30.01.32.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Sep 2022 01:32:59 -0700 (PDT) Message-ID: Date: Fri, 30 Sep 2022 10:32:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH -next v5 1/4] selftests/memory-hotplug: Add checking after online or offline Content-Language: en-US To: Zhao Gongyi , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org Cc: akinobu.mita@gmail.com, corbet@lwn.net, osalvador@suse.de, shuah@kernel.org References: <20220930063527.108389-1-zhaogongyi@huawei.com> <20220930063527.108389-2-zhaogongyi@huawei.com> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20220930063527.108389-2-zhaogongyi@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30.09.22 08:35, Zhao Gongyi wrote: > Add checking for online_memory_expect_success()/ > offline_memory_expect_success()/offline_memory_expect_fail(), or > the test would exit 0 although the functions return 1. > > Signed-off-by: Zhao Gongyi Reviewed-by: David Hildenbrand -- Thanks, David / dhildenb