Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3596302yba; Sat, 11 May 2019 14:48:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHv2x4UZ8rI+RAHABQkJKHY02ce3o+Jrc84INeNA7z2MpjdudICX1bhSZxbzvfzNgi4WJA X-Received: by 2002:a63:4852:: with SMTP id x18mr9450553pgk.14.1557611317445; Sat, 11 May 2019 14:48:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557611317; cv=none; d=google.com; s=arc-20160816; b=F0j9UVfNEA7Ry1SlO/gB0Mupz4Rgpj+l/XEgYKhcUfuBRV7K/c1oOpfB430xsycBXI LSB+Lo07D7r9REL1+JKPbxwnT8urDYsNczgfmECrcp6UUZopjw/dXuBd6MRKBkaKcT4B N9YgAuQAU0JGrRmJ+ihxM90X37YL9IELIOm9mdknNG1Y7LnJgO3NHSWtSNWVR8xZE9lM rW2cDi8sgdztNhlyKH5RA07ldK5MpMlZLAwlvY8BV0DGWJttgsub4MuTOsnV0yNlxI9B bnDYtXuWmq6NKBQ7bQJLDcRf7ERaC891++6FGgKAmJkeatBtFCqPviAoM9Aj9+YA0Hc+ 7N+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=PPBGZkBoQo3Ukc85VDhfZeXzhApaOOcUc2m8QXSsq3Q=; b=xYFqCM5lrcpcE4ePsh92tkmvaISenXAAWIHr7vnurWcM8mLGE6tOlL1OnMT/IoW8iO 8Ckm/pA0CbJOjf1KiUrPP+hHCZKmWWkKJWW9zhqcd6HpqMjiw1DLBpWkrQWh1w+++0rA 1lbb19WM5YuyriuMRgl1dCTTBhgtAuzw5OY7myHlivtK6UNpPE768dVF825ZbXrwOtzE ucyOUHyuE46hE04fdQ3wPTfPauW40rWEk/3CXudmTzMNWk+McqkXkmXoCd5wJFpNjCoy MIYVBkwxkqVDzXIjTQKvsFW/Kz4KC2XYRWayNtxa9bmc9EuQ1gn9b4+4G98gN0XIUWq0 JOMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BdtQOkaY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r130si3268683pgr.509.2019.05.11.14.47.51; Sat, 11 May 2019 14:48:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BdtQOkaY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726327AbfEKVpc (ORCPT + 99 others); Sat, 11 May 2019 17:45:32 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45307 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726033AbfEKVpb (ORCPT ); Sat, 11 May 2019 17:45:31 -0400 Received: by mail-wr1-f68.google.com with SMTP id b18so1296385wrq.12 for ; Sat, 11 May 2019 14:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=PPBGZkBoQo3Ukc85VDhfZeXzhApaOOcUc2m8QXSsq3Q=; b=BdtQOkaYnoAFy22dv+qrBSLmW3PUjkU/CFTnc3YG8/29yPpqaoX0EIKu7kcBZIJpnU 3C+SqvRVMrl3x9puWWU94sAdFwW9rVE2ILksZY780tsnWfUJghwcZlaW3HpzAqvrvvhO UQp78xNTYidqyrNCzk8qmyjmzuN97i5qkMqUw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=PPBGZkBoQo3Ukc85VDhfZeXzhApaOOcUc2m8QXSsq3Q=; b=bV/8P95cNDsZ0/Bu9S9rGUp1u1Hdj86nAgd4nifJxSc7W5/JqNOA/JuaVGQI5Fr7eW eRyfQFSqu8UhOwfv1enUTuepbpLLIqqKt21eim2/cowBzHbGmVp2eBNXxafY5palynMo 7G2+Lnuia1KWj1t+HaSs7cfZUQq0Mxj7oh0lJHJ0rokxf+RTgzKsHiPxxwp+jNnZElnQ rUuJjv1u73sq9MUUuRVF8StaBfmtzr48TdsS3vTChmPUGSBqbKDWN9qLuKMBT4XvI7Px 2QqZpjZMJpovby7YhQb7GdcUd5cANa0itZ76r672qFspJTbj4gCex3/O+jnvNfgk9RRp bojQ== X-Gm-Message-State: APjAAAUKQPa8zROnBf/qnKr+h2SNOftq7SOe+cA8q3+D6rdsK2mvZ6Ln dGo/bU/WSLxLISXhQdj+s0frRA== X-Received: by 2002:a05:6000:1201:: with SMTP id e1mr11894162wrx.136.1557611130178; Sat, 11 May 2019 14:45:30 -0700 (PDT) Received: from andrea ([89.22.71.151]) by smtp.gmail.com with ESMTPSA id o16sm8236649wro.63.2019.05.11.14.45.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 May 2019 14:45:29 -0700 (PDT) Date: Sat, 11 May 2019 23:45:20 +0200 From: Andrea Parri To: "Paul E. McKenney" Cc: Peter Zijlstra , Steven Rostedt , linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Juri Lelli , Morten Rasmussen , joelaf@google.com, Vincent Guittot , Sebastian Andrzej Siewior Subject: Re: Question about sched_setaffinity() Message-ID: <20190511214520.GA3251@andrea> References: <20190430105129.GA3923@linux.ibm.com> <20190430115551.GT2623@hirez.programming.kicks-ass.net> <20190501191213.GX3923@linux.ibm.com> <20190501151655.51469a4c@gandalf.local.home> <20190501202713.GY3923@linux.ibm.com> <20190507221613.GA11057@linux.ibm.com> <20190509173654.GA23530@linux.ibm.com> <20190509193625.GA12455@linux.ibm.com> <20190510120819.GR2589@hirez.programming.kicks-ass.net> <20190510230742.GY3923@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190510230742.GY3923@linux.ibm.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > The below trace explain the issue. Some Paul person did it, see below. > > It's broken per construction :-) > > *facepalm* Hence the very strange ->cpus_allowed mask. I really > should have figured that one out. > > The fix is straightforward. I just added "rcutorture.shuffle_interval=0" > to the TRIVIAL.boot file, which stops rcutorture from shuffling its > kthreads around. I added the option to the file and I didn't reproduce the issue. > Please accept my apologies for the hassle, and thank you for tracking > this down!!! Peter (echoing Paul): Thank you for pointing that shuffler out! Andrea