Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2450402ybh; Mon, 5 Aug 2019 01:08:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWXTGx/Mea1RoJwSeGIPZUYM3VQoMZ+soFiygCmc4MO9QWHo8fC+54t9FE8KJ9S4X6AzzZ X-Received: by 2002:a17:902:b702:: with SMTP id d2mr147752453pls.259.1564992537424; Mon, 05 Aug 2019 01:08:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564992537; cv=none; d=google.com; s=arc-20160816; b=v29QjglTON8i7dcLxtT2+cid/jKa0fpT1QSXEmG/M0X8s6s5DsQRVXKkmwjk8aew1B 9Q31rm9fLz0EBkG2n+NQlXZ1EVHmMIqg8f72ywgoRljADZhrq+V4wOI2X3sdLqZkVuWE xbVGnqDKq+KeKZsMfO+lQgqMRW3INZMv8UAMnlHTgvfNZyzIzn+xW/TNCr2In2O6Gz8A Z49mgBnDoYwgAkTq8pJD8YEyFbesadQnwFb09V32B9meYxNMpnlisB8p9/IJRVQujAEY fXQO02zlpjrw3XZO0F/4RmZ+0kayeXK0/D0yCQa0Qu9irsjUYTW6gT/0hhVW/oAwQ8Qy 66zw== 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=hQA/rHY648PLuDHdt0h8sdeUqJlY++q1WEQC024LSPw=; b=kLLrkfyIOSf2ibLPUyQjNLaodngjCNSLE2u0o2v3N86o81bvOj7nlO3KXak9hOhPmP ZKX6k4u/+GQM6PgNHDi5ac8sX0T7CCaD7UYyxSeyor/X35Cr4KgYCT8IG289PPF7vEGb rv8omr9CEz0e8lhgPxknujqkzTRZMOI736s7QNju5zFtEsXJ31kyZ7BcbaCSC//L9Xfo cQ1awLVifrlPYR50Z3jp/qJikklqbHAMy4qY9IJvp/iaNMovgEcnNmSak+gTg5G0MUkX ZhlSPkI3IS5R/wL22dCZ/+tPdxuZQ9izBMPCGups3VKI6r20NdDzpbDje60XAIIB0iJK memA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=GPQWyTvO; 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 g34si39378939pld.266.2019.08.05.01.08.41; Mon, 05 Aug 2019 01:08:57 -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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=GPQWyTvO; 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 S1727401AbfHEIH5 (ORCPT + 99 others); Mon, 5 Aug 2019 04:07:57 -0400 Received: from merlin.infradead.org ([205.233.59.134]:47256 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726423AbfHEIH5 (ORCPT ); Mon, 5 Aug 2019 04:07:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hQA/rHY648PLuDHdt0h8sdeUqJlY++q1WEQC024LSPw=; b=GPQWyTvOO6m8SdhjgY7gIUtSt 8td4m7e5ShiEOi/gFXT67z1QlfvbOoXqXC94vtc6tPLADjYpr/T03SlVHwhCdrgD6wqDo2qx0PsXl y4Vvp6xJkj13Qr2DwVoJt5jwnAOMe8w9tRojqYXOjZ3Cbg/2iisbX99BHQhNxz1fv457wOcGPw9Xp B9WjroZnZMHKQgZuQ4SsmJ90DIUyAOeyzcE1T6CGvFfUTRxKSD4KIzF+U4XOBUPA79baEvWVX8krj X844yml+HqGp/2tDNFgXFp+6k4DTWOjE11r0fyQxhdeOhPbeg2zgkgLda89/uSFox19DR8dNbrX1W U6zXwx/Yw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1huY1q-0006OZ-0J; Mon, 05 Aug 2019 08:07:38 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id BA9AB20238109; Mon, 5 Aug 2019 10:07:36 +0200 (CEST) Date: Mon, 5 Aug 2019 10:07:36 +0200 From: Peter Zijlstra To: "Paul E. McKenney" Cc: rcu@vger.kernel.org, linux-kernel@vger.kernel.org, mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, joel@joelfernandes.org Subject: Re: [PATCH RFC tip/core/rcu 14/14] rcu/nohz: Make multi_cpu_stop() enable tick on all online CPUs Message-ID: <20190805080736.GI2349@hirez.programming.kicks-ass.net> References: <20190802151435.GA1081@linux.ibm.com> <20190802151501.13069-14-paulmck@linux.ibm.com> <20190804144317.GF2349@hirez.programming.kicks-ass.net> <20190804144835.GB2386@hirez.programming.kicks-ass.net> <20190804184159.GC28441@linux.ibm.com> <20190804202446.GA25634@linux.ibm.com> <20190805041901.GA17621@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190805041901.GA17621@linux.ibm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 04, 2019 at 09:19:01PM -0700, Paul E. McKenney wrote: > On Sun, Aug 04, 2019 at 01:24:46PM -0700, Paul E. McKenney wrote: > > For whatever it is worth, the things on my list include using 25 rounds > > of resched_cpu() on each CPU with ten-jiffy wait between each (instead of > > merely 10 rounds), using waitqueues or some such to actually force a > > meaningful context switch on the other CPUs, etc. That really should not be needed. What are those other CPUs doing? > Which appears to have reduced the bug rate by about a factor of two. > (But statistics and all that.) Which is just weird.. > I am now trying the same test, but with CONFIG_PREEMPT=y and without > quite so much hammering on the scheduler. This is keying off Peter's > earlier mention of preemption. If this turns out to be solid, perhaps > we outlaw CONFIG_PREEMPT=n && CONFIG_NO_HZ_FULL=y? CONFIG_PREEMPT=n should work just fine, _something_ is off.