Received: by 10.223.176.46 with SMTP id f43csp1459283wra; Fri, 19 Jan 2018 11:52:24 -0800 (PST) X-Google-Smtp-Source: ACJfBovQkr3xzCKhOQNrfmdglWSKJ75H8X84Isdq4A8Y3Ei2lIjzqCV+Q9aOIAJ/A2vFP5K6omR6 X-Received: by 10.98.0.5 with SMTP id 5mr35340466pfa.202.1516391544815; Fri, 19 Jan 2018 11:52:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516391544; cv=none; d=google.com; s=arc-20160816; b=lfNuJArdFA4J3btTM/i1j3w2JDno0ZcjjtVHYher/vpdhv3TShIswCi7w84QcxwZNj oVZgheA1dESPO+C0BgfHYfervrrhyeW/E1a8yobNzE0ME2WwaDsOqAp1XjFYxl2oIRW6 PsYLJIwU3TBn+mHOQWFz95fFnfzMW14XrKYcFnxeGGZn6Z142HCaehBg4uAEHdqvHpgs H6crwfGLWPHEpMq0iS6Xa++UqXbW8Z/w0r9EPy9HIn+grB87Euq2se6pGm7CY2Ftbxf1 DyIvgHn5MHcWcFUwfFSefIQ2GQgcPHXdz9wV+cQsFl1VYpMEm7/yH+LhzcdGd9VQdY9Z oIlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=nmAipp2xC33da398uH3Pi6Q3Igqba0U1cy4/sxdZXxw=; b=CtRLB3pZSazHkGiUX5wm684f6UCu7SycSVroosEfkt0zAui+1EMpIo1FcseGcXjOdD oGGXBeZnmMDv8dNwGGrQPTshGRjVBQt4m49hDIUcYWxDbB7XeKNWRfWt4XRpJKTk6wcX vweDk+NrRDR0f4Qwo+VvdbuOAZvBP7glOQHVWbHC2Z8CHUEmVgZPwl7rXLebpntMhSpg QkPWmCyIsauan0oOB90+D8ELKI2JG2qQlwTyNsop2qeRuWoQtA9x5K7GVBV52R2MU414 /8ljsr5eAb/KNRXiRpeU9e19FWdSI2j0rad+b+egyqV1GeGpBFUot+tjHxAH2U5cfhep B+6A== ARC-Authentication-Results: i=1; mx.google.com; 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 i8si8756791pgt.582.2018.01.19.11.52.10; Fri, 19 Jan 2018 11:52:24 -0800 (PST) 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; 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 S1756260AbeASTvX (ORCPT + 99 others); Fri, 19 Jan 2018 14:51:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:57670 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755940AbeASTvS (ORCPT ); Fri, 19 Jan 2018 14:51:18 -0500 Received: from gandalf.local.home (cpe-172-100-180-131.stny.res.rr.com [172.100.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C2A3A20C0F; Fri, 19 Jan 2018 19:51:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C2A3A20C0F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Fri, 19 Jan 2018 14:51:15 -0500 From: Steven Rostedt To: Pavan Kondeti Cc: williams@redhat.com, Ingo Molnar , LKML , Peter Zijlstra , Thomas Gleixner , bristot@redhat.com, jkacur@redhat.com, efault@gmx.de, hpa@zytor.com, torvalds@linux-foundation.org, swood@redhat.com, linux-tip-commits@vger.kernel.org Subject: Re: [tip:sched/core] sched/rt: Simplify the IPI based RT balancing logic Message-ID: <20180119145115.139e0784@gandalf.local.home> In-Reply-To: <20180119185756.GC6563@codeaurora.org> References: <20170424114732.1aac6dc4@gandalf.local.home> <20180119100353.7f9f5154@gandalf.local.home> <20180119174617.GA6563@codeaurora.org> <20180119131121.22dac3d3@gandalf.local.home> <20180119131254.69a9d848@gandalf.local.home> <20180119185756.GC6563@codeaurora.org> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 20 Jan 2018 00:27:56 +0530 Pavan Kondeti wrote: > Hi Steve, > > Thanks for the patch. > > On Fri, Jan 19, 2018 at 01:12:54PM -0500, Steven Rostedt wrote: > > On Fri, 19 Jan 2018 13:11:21 -0500 > > Steven Rostedt wrote: > > > > > void rto_push_irq_work_func(struct irq_work *work) > > > { > > > + struct root_domain *rd = > > > + container_of(work, struct root_domain, rto_push_work); > > > struct rq *rq; > > > > Notice that I also remove the dependency on rq from getting the rd. > > > > Nice. This snippet it self solves the original problem, I reported. > I will test your patch and let you know the results. > > I'll break the patch up into two then. One with this snippet, and the other with the rd ref counting. -- Steve