Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10335803rwp; Thu, 20 Jul 2023 19:42:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlGCoFsETxoTDj+aA/pJyKHpVIqdQXS0GewdTc8DMceOejsCTmGBfL10j65GOrDBPmBcyOT7 X-Received: by 2002:a17:907:774a:b0:992:7197:e4d5 with SMTP id kx10-20020a170907774a00b009927197e4d5mr460639ejc.70.1689907368580; Thu, 20 Jul 2023 19:42:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689907368; cv=none; d=google.com; s=arc-20160816; b=UZjUmQWfUvPq/ha5L6Z0yZ6wBIJS0D/kqCf3rZHwnnkqCanP9Go6+ptdMX2FRVfhbt cGJB/K2ZN0iFi1qM/LtdLb/E1+seCZV/thKL/la8pgVdlQBLIg3MDl/2d/Xy6RKwl0q5 p8yBzt3H6mZsL44NVk+dAKEIFzSslWlXoEBIqwEZg4XqrhiN0/Hj9DD0yzUlK3oThIMt 1/NR9vXaoq4t9A+ZCMR1h7AfUmkyF7ofcJ9/D9Vafu6h9F/nIqjpr47EVoE/JEn8mfPM QcnKcbnU5wWPoPzSef4g3sBqtlPbeXSZw72unUl9nZjvOo2Lq2YbfNjT/hcHFrjWOE7b HrYg== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=M5cvfWxs/yR9W6uL+jRzWQcVmSMb7972R59EHtR/P4s=; fh=tBatHdeJdji5pctywOt7WJzeD0SOofjWWyEeTvMWRjY=; b=uug2/2uBxRiEKk5fU4QlaF9stD9n5m3xlTdnPw2/3YZSz5rvMxGEBHK3JLXnPocON4 tCPir4G2BzvDoKAVME6y8qSxotdTup+NcRNPzK8JgZH0LaA7tWyPZBP8RmynHzDIQJAC IOxcFdQi3aZPgCFnagrkKg3nhHsuWRMB4U4OELhHLJcGh7z3SR2E9K4KosO+REmPyCaR K5pr2MNtnUzxBKjIfugv/7tlC11fbE83WQo/DOaC0mckOiQSeS2Bbz/xvvr2n70DQ2cV i2LOhzS+gpzx7ww8YhH3SSuPoFAjlKF894N/mPGv0HMu6U2YGbYCkWeWw5I2Cgeha+3x PjxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WaEItzHn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gt23-20020a170906f21700b00988b90f50b3si1428191ejb.607.2023.07.20.19.42.24; Thu, 20 Jul 2023 19:42:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WaEItzHn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230112AbjGUCOq (ORCPT + 99 others); Thu, 20 Jul 2023 22:14:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229744AbjGUCOo (ORCPT ); Thu, 20 Jul 2023 22:14:44 -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 C29901BEF for ; Thu, 20 Jul 2023 19:13:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689905637; 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=M5cvfWxs/yR9W6uL+jRzWQcVmSMb7972R59EHtR/P4s=; b=WaEItzHn4XsXHO3gIoy7uTZN8kwZeVfNbwn0h+zspUMEI3EGQp03ZBTx/EMcEocOgesuYi 3AJl/ew+j5C8NfdhSndwcCtxrVC/OomfmdaX/r/qrlDxnWJ5P1PFvueelnDf7/d9A604Pg 8psq/l7UhaTNK+8jXSC1flL913TSbRI= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-428-jg2TEHzgMwOoz5utQqGPyA-1; Thu, 20 Jul 2023 22:13:50 -0400 X-MC-Unique: jg2TEHzgMwOoz5utQqGPyA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 239D4858290; Fri, 21 Jul 2023 02:13:50 +0000 (UTC) Received: from [10.22.17.23] (unknown [10.22.17.23]) by smtp.corp.redhat.com (Postfix) with ESMTP id D9FC9C57969; Fri, 21 Jul 2023 02:13:48 +0000 (UTC) Message-ID: Date: Thu, 20 Jul 2023 22:13:48 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [LTP] [PATCH] sched/core: Use empty mask to reset cpumasks in sched_setaffinity() Content-Language: en-US To: Cyril Hrubis , kernel test robot Cc: Juri Lelli , Brent Rowsell , Valentin Schneider , Phil Auld , Vincent Guittot , yu.c.chen@intel.com, Peter Zijlstra , aubrey.li@linux.intel.com, linux-kernel@vger.kernel.org, Steven Rostedt , Ben Segall , Peter Hunt , Ingo Molnar , Mel Gorman , oe-lkp@lists.linux.dev, Daniel Bristot de Oliveira , Dietmar Eggemann , ltp@lists.linux.it, lkp@intel.com References: <20230628211637.1679348-1-longman@redhat.com> <202307171539.3d8d0e8-oliver.sang@intel.com> From: Waiman Long In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/17/23 10:41, Cyril Hrubis wrote: > Hi! >> Running tests....... >> <<>> >> tag=sched_setaffinity01 stime=1689382567 >> cmdline="sched_setaffinity01" >> contacts="" >> analysis=exit >> <<>> >> tst_test.c:1558: TINFO: Timeout per run is 0h 02m 30s >> sched_setaffinity01.c:83: TPASS: sched_setaffinity() failed: EFAULT (14) >> sched_setaffinity01.c:73: TFAIL: sched_setaffinity() succeded unexpectedly >> tst_test.c:1612: TINFO: If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1 >> tst_test.c:1614: TBROK: Test killed! (timeout?) > So what the test does is that it sets empty affinity mask to > sched_setaffinity() and expects EINVAL. Instead it looks like the call > now succeeeds, the test stops getting schedulled and is killed by > timeout. > I had sent out a v2 patch should not fail the LTP's sched_setaffinity() test. Cheers, Longman