Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp16365rdg; Wed, 11 Oct 2023 18:57:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH5hHySfsPBsL6mkRwzKHFMpxN4zixAyFaxIbc6IhKgGHswiAN3Bvm4kKxw/D0uapQQw95z X-Received: by 2002:a05:6358:918c:b0:14e:28f9:53fd with SMTP id j12-20020a056358918c00b0014e28f953fdmr21622821rwa.15.1697075878160; Wed, 11 Oct 2023 18:57:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697075878; cv=none; d=google.com; s=arc-20160816; b=YX3cWLlOiznNQIjU4A8fY4UZom5Sj5UMVZUkySJBUds16HcxZ77wcMeMWfghSLpaQW 69mNwhIrmCI/wmsnFk3ppGzMfuZJc0HIYUF0DZle+oGwnd39mz/fBmb92kwk4OKGzT7U LoIOmJSi2fB3LZVlsrwhhbPzkpkDms3er23KFMCdXetd8rDNNYwoZAK23N4P4pYo9tL6 sympIbgWE5Lz3RVWdgyE1U/PiygHs0ih/L65Q07DPWwjKdkMuXMYNRaWGJgys/rzno2/ uQktSvDgW6vh6WT83p8oj4D5kgir42h7vGJe+kaa4zrH27o5LDiW+ENiyOmAmSdbUDKQ VHLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=jSKpYUv+NcjPlXqSKeex22hu0Hnk3n3Z/MgKJs9LquY=; fh=pVhfMbtGchP/r01pe+9dvl5cM3yYJ672IxM96wbRoFg=; b=kmBzG4uUx2qeNioQSkPiLFRg41YFR9lf91kBxb4/ZnXOCAsGG2hmsQ0tzBmv62Pk3E p5diIl9C44TmwBauDuPjTsJ27RYm62v0YWLe03YXFiS/vyDcpjDCqBuHlqaWU1wSP+K3 ynEMHMnMcRA9EEG0xsuJz4A0tghu7C3eM6Pc4SA1LZS0cn+Bj19hW6Zq+dabl2Ch7AUM QX6y4tWkjI+R8ruCHBbcPIk4jPMUPXakhViypl+Jz3C1l9pAC/gYi0frsKyW+8Bfit74 /3VAciLw8OADlaalALqA/SCdoCSoXoMi6hWWyD/Aiz01hjyw1+EcpIiXAfFREXZ78xqp 6LZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id dw6-20020a056a00368600b0068ace3816d7si13045650pfb.387.2023.10.11.18.57.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 18:57:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8A987805CCD1; Wed, 11 Oct 2023 18:57:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234038AbjJLB5r (ORCPT + 99 others); Wed, 11 Oct 2023 21:57:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233797AbjJLB5r (ORCPT ); Wed, 11 Oct 2023 21:57:47 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D82C6A9; Wed, 11 Oct 2023 18:57:43 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8Cxh+iWUidlHDsxAA--.59104S3; Thu, 12 Oct 2023 09:57:42 +0800 (CST) Received: from [10.130.0.149] (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxeuSTUidlFTghAA--.6471S3; Thu, 12 Oct 2023 09:57:39 +0800 (CST) Subject: Re: [PATCH v6] selftests/clone3: Fix broken test under !CONFIG_TIME_NS To: Shuah Khan , Shuah Khan , Christian Brauner , Thomas Gleixner References: <1689066814-13295-1-git-send-email-yangtiezhu@loongson.cn> <0560a851-5e8c-d82a-8445-a16a92b967c9@loongson.cn> Cc: linux-kselftest@vger.kernel.org, loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn, Andrew Morton From: Tiezhu Yang Message-ID: <1c3a0544-d7fe-1a34-e61a-2f06f5758a81@loongson.cn> Date: Thu, 12 Oct 2023 09:57:38 +0800 User-Agent: Mozilla/5.0 (X11; Linux mips64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <0560a851-5e8c-d82a-8445-a16a92b967c9@loongson.cn> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CM-TRANSID: AQAAf8CxeuSTUidlFTghAA--.6471S3 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBj93XoW7uw1fZrW7Kr4kury5tw1DurX_yoW8Gr47pF W8ZF4UKFs5W347Aa9rG34DWFy5tws5JFy8ZFW8Z3srJryrX3ZYqr48Ka48uFyjgr1vv34F y3WxGFs8uF1UA3gCm3ZEXasCq-sJn29KB7ZKAUJUUUU3529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUUP2b4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Xr0_Ar1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVWxJVW8Jr1l84ACjcxK6I8E87Iv6xkF7I0E14v2 6r4j6r4UJwAaw2AFwI0_JF0_Jw1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0c Ia020Ex4CE44I27wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jw0_ WrylYx0Ex4A2jsIE14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxGrw CYjI0SjxkI62AI1cAE67vIY487MxkF7I0En4kS14v26r126r1DMxAIw28IcxkI7VAKI48J MxC20s026xCaFVCjc4AY6r1j6r4UMxCIbckI1I0E14v26r126r1DMI8I3I0E5I8CrVAFwI 0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUtVW8ZwCIc40Y 0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r4j6ryUMIIF0xvE2Ix0cI8IcVCY1x0267AKxV W8JVWxJwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Gr0_Cr1l IxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7IU8_gA5UUUU U== X-Spam-Status: No, score=-0.5 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 11 Oct 2023 18:57:54 -0700 (PDT) Cc: Andrew Morton On 08/17/2023 03:22 PM, Tiezhu Yang wrote: > Hi Shuah, > > On 07/11/2023 05:13 PM, Tiezhu Yang wrote: >> When execute the following command to test clone3 under !CONFIG_TIME_NS: >> >> # make headers && cd tools/testing/selftests/clone3 && make && ./clone3 >> >> we can see the following error info: >> >> # [7538] Trying clone3() with flags 0x80 (size 0) >> # Invalid argument - Failed to create new process >> # [7538] clone3() with flags says: -22 expected 0 >> not ok 18 [7538] Result (-22) is different than expected (0) >> ... >> # Totals: pass:18 fail:1 xfail:0 xpass:0 skip:0 error:0 ... >> >> Fixes: 515bddf0ec41 ("selftests/clone3: test clone3 with CLONE_NEWTIME") >> Suggested-by: Thomas Gleixner >> Signed-off-by: Tiezhu Yang >> --- >> >> v6: Rebase on 6.5-rc1 and update the commit message >> >> tools/testing/selftests/clone3/clone3.c | 7 ++++++- >> 1 file changed, 6 insertions(+), 1 deletion(-) >> > > Hi Shuah, > > Any comments? I guess this should go through the linux-kselftest tree. > > Thanks, > Tiezhu > What is the status of this patch? https://lore.kernel.org/lkml/1689066814-13295-1-git-send-email-yangtiezhu@loongson.cn/ This is a ping message, maybe you have forgot them? Thanks, Tiezhu