Received: by 10.223.164.202 with SMTP id h10csp4696392wrb; Wed, 29 Nov 2017 10:19:21 -0800 (PST) X-Google-Smtp-Source: AGs4zMYiel8v7S8uB26m8UWBlsOwz/UtgzK7YZ0gJY3MPAHqzWy9bp8PpshlVtoB++Gf9XRLGU8N X-Received: by 10.84.235.201 with SMTP id m9mr3842083plt.30.1511979561158; Wed, 29 Nov 2017 10:19:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511979561; cv=none; d=google.com; s=arc-20160816; b=pdYSePrCpzUy9IIcVNMp+C9PbNbv+Y/3fb9VvhZkPJMhhUaEARszt3h1vujIpXWuGI OwY9dRDWAjLxQEeRwSihI65FkalDR4T+VSE3bmJLw4nHVo/5cMnq0urLLkw/q66sU+gG 1o9sWBDXnl0QxE8aYC/ur5SbnKCO/OkJa3jkQw3xb976zVrjn88ROWcaiChFFjxAsUpr k8jVY3MptK/31ueOyq9FekZuoqOM3QMjBbMPRtsKvlmfu8B9AjY2BTRevyaCvChWxmwj OHKl2XuAXVsExC2ObmwUISb2UhCtKAuCclLgbgPp0szH7ZLs2I9bnNlr0mbQUazgycxf sbjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to:content-disposition :mime-version:references:reply-to:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=7UgkRh2kLHGobVLN91VZs9rtm3d0HD8/dU50jqMBsvo=; b=uJkTz6C0WgEBKbldI3wRPzU/pwM+JfkupiQE5ebC5gZX7YhuFf58BqqiMMr0FUShaV qmnFMrcFl82IOTQ6i5kZf50sAJKxoP3wslhvb2X0lbE+bylX2NzDKQX32av7goMxXUeW GqrFr9Kk+4KakwzwQc9CYwQYV6wQymA+70ovZ9WfN/xjUmGCEbfsIflPxwHj1pzCGTFz Hp6LlnQA66Fnx2Sn3soZkaFgstIO015cdrRg/Hryn9D/NF+XhqI9/7TFWMvV0sVkmtXi H9MnnnE56Hm7kl5wNn7IGSzBHPQqdk+11tjpynidN1kgylfFNbTHFAv18sWuU1iYEcym XO3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@concurrentrt.onmicrosoft.com header.s=selector1-concurrentrt-com02e header.b=Qg37P/7b; 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 d12si1635327plo.388.2017.11.29.10.19.11; Wed, 29 Nov 2017 10:19:21 -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; dkim=pass header.i=@concurrentrt.onmicrosoft.com header.s=selector1-concurrentrt-com02e header.b=Qg37P/7b; 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 S1754082AbdK2OY4 (ORCPT + 70 others); Wed, 29 Nov 2017 09:24:56 -0500 Received: from mail-by2nam03on0138.outbound.protection.outlook.com ([104.47.42.138]:19866 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751668AbdK2OYy (ORCPT ); Wed, 29 Nov 2017 09:24:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=concurrentrt.onmicrosoft.com; s=selector1-concurrentrt-com02e; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=7UgkRh2kLHGobVLN91VZs9rtm3d0HD8/dU50jqMBsvo=; b=Qg37P/7bJsWAXygHX/MeooSeuULCn0oGNHInqXk5wddfCq78lkyJBFfLbiNQP1bQh162rO7WOEzTeIodr8n1Ge4Kb9TBJJ8HuZAcwYJY8oxzQu3pF1lZhUo0H/vzSt+Zuhf31i/nTem3Nx33aqe8y+StGBn1xvDNhvExtwM9tyw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Joe.Korty@concurrent-rt.com; Received: from zipoli.concurrent-rt.com (12.220.59.2) by CY4PR11MB1478.namprd11.prod.outlook.com (10.172.69.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.260.4; Wed, 29 Nov 2017 14:24:52 +0000 Date: Wed, 29 Nov 2017 09:24:48 -0500 From: joe.korty@concurrent-rt.com To: Steven Rostedt Cc: Thomas Gleixner , Peter Zijlstra , Linux Kernel Mailing List , Sebastian Andrzej Siewior Subject: Re: [PATCH] 4.4.86-rt99: fix sync breakage between nr_cpus_allowed and cpus_allowed Message-ID: <20171129142448.GA18507@zipoli.concurrent-rt.com> Reply-To: "Joe Korty" References: <20171115192529.GA14158@zipoli.concurrent-rt.com> <20171117174851.2a253785@gandalf.local.home> <20171120163040.GA25993@zipoli.concurrent-rt.com> <20171120230207.19a4bc14@vmware.local.home> <20171120235751.0424cf23@vmware.local.home> <20171121143352.GA25941@zipoli.concurrent-rt.com> <20171121153317.GA672@zipoli.concurrent-rt.com> <20171128192234.53d685d4@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171128192234.53d685d4@gandalf.local.home> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [12.220.59.2] X-ClientProxiedBy: DM5PR06CA0058.namprd06.prod.outlook.com (10.168.110.148) To CY4PR11MB1478.namprd11.prod.outlook.com (10.172.69.149) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 72aae2cb-5bb8-4653-cb89-08d53734f4d9 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603271);SRVR:CY4PR11MB1478; X-Microsoft-Exchange-Diagnostics: 1;CY4PR11MB1478;3:IkhCaWUMOqRxpPLkoQfyHrHHIeTwYo0K69i8UJqde8BqHhIgrbO8RjoH8b65Bgpr3ALvfRdSvzxYAfTAKlRoTh+BFXv1vLZmjKvdYPi8oCijXaF5hoSQegBWaQY42zwJGyV0XXAP5wFQN3mG0Pvs5TffyRYavvDAqn/0azQcOcN5BLaev7XxJ1UqQErm5EsKiPoRZOiGTIixXKjP+InZAseZB3EeEdpyX92HD6I03TLKSEYexpwjL6O4ofygrYHO;25:3E6hbdc9gImqZGDi0Fc/29pxdpC6pj+TTu764Q45LPT9FKS84KLnXpHSVc92DpCPZZngFpyPepvf6+wVH7oAMycTzglO9Uj9gqLd57nQZiNMJhXXaz15ONbnU8o0rXM4rtGL7FTGiOIfwb5Lqf1+VanYs0VDWBJAoMT9vuxL++G5n4v7MoC1z3+jB6pCgoBJYSsxaC4jBVelVKngWFtNf+NzWn7W4mYE7iGMCB6/ePgI2ncDzjU5+NbmTbczvdR79pGiKg79FHEgkCVyEH/bofWPTDl0DVoJVi6r8mgv43eLFTCcbc4Qi1+BoaisyrxzxS1mElSGd0yqYsSnkT3DUw==;31:TPXREbK39YKoTpctpT3lkLbmyYs4rqhGyPzpoMtIltNkza2OFs/QNugihhSpDaks6TwqWN/XQUjsA7j5g+gVbnfUboe1b8nWv0xfZRAVu/nDh7LLpKU8p6HiNnQp/Vpkek0T7g7YfSkw7e2n1b8gQMz55AhtoutL9PE+NpahqB+LVsmZUfKAR4cb0XX60RrXNh350gNZQrgPUT5ZqWoGZmKMTEShJh8smuKSFpY+cEo= X-MS-TrafficTypeDiagnostic: CY4PR11MB1478: X-Microsoft-Exchange-Diagnostics: 1;CY4PR11MB1478;20:TUadIZIZevEo4QM1V6Y9XigwC3qfKRxV0FfGmY9mbjQMy2BKgWba3zMVI4L7aiT7b//1uFBnIRu+lk3UaC6FDbHXE2yAbT3NgJWPyBQhWK1TfmH7ooU2JUJOF8vfrsfnKBc6Yb8kmLpmwoD8g7+QF7TSvcUN5yTfsnDbaT/USb0=;4:GEaYpkK7ozmolISOrJXOzRdFN2GRtGkeyHsFy+h4I0ngiA6o7tDFQUdep2B9n9lEpdebWvq62uPa7ofHnurb3nbwZg3M2bI96scCbl7/voJPHUA3QsY7LWEec8+p+5iv96M9k8oI9LnGOuay0TFuFoZKUCeGNbwRMZO/bwxseK4LWfejY/s8bko8V2+CiX8xBjwPry6cF3i7SJ2gh5AmofZRsl9wRjC8rR2OL9x2FF1aFI95gfzvNobZXPjtTkK0j7wyG9Mt6n1RMkvU+Oojew== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231022)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123562025)(20161123564025)(20161123558100)(6072148)(201708071742011);SRVR:CY4PR11MB1478;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:CY4PR11MB1478; X-Forefront-PRVS: 05066DEDBB X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6009001)(366004)(376002)(346002)(39830400002)(24454002)(199003)(189002)(5423002)(8676002)(6246003)(3846002)(25786009)(6116002)(69596002)(53416004)(23726003)(229853002)(55016002)(66066001)(6666003)(50986999)(101416001)(9686003)(76176999)(54356999)(1076002)(81166006)(53936002)(81156014)(2906002)(6916009)(2950100002)(316002)(72206003)(4326008)(68736007)(58126008)(16586007)(478600001)(7736002)(305945005)(7696005)(52116002)(50466002)(54906003)(97736004)(16526018)(33656002)(85782001)(8936002)(47776003)(86362001)(106356001)(189998001)(105586002)(93886005)(43066004)(83506002)(5660300001)(18370500001)(85772001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR11MB1478;H:zipoli.concurrent-rt.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received-SPF: None (protection.outlook.com: concurrent-rt.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY4PR11MB1478;23:G6y1I18iZd/uxqqwg5HIgcLHgXtm6BecZB7c7N6Xn?= =?us-ascii?Q?8yjRQDX6seF5zTFQpWzk9iW3B2PkaDBG4fJXywXiR3gl5vz5FDQZL124K40B?= =?us-ascii?Q?lRgOyTjEDtmWdAFJLU+XvlBhvWLY6dv8Os2/MNQxD17FGNQonib/a5hgUEPY?= =?us-ascii?Q?XkOvOYtrvkIT94QFtWiAVtvhlJanUHNWgosqV/cxGaTU9riQDJr1Q7lqdyga?= =?us-ascii?Q?iTbjM54MyvQ7gXzsxh+W3tepjlv+lOZJE+knFnA+8Mw2FLEFjWHQhMVwhTBZ?= =?us-ascii?Q?9D4H+FHNxyjACbF7DMi8UuAHOSiIUCCCY/erEFHwG9tRs8yYmTBUam7Ks5My?= =?us-ascii?Q?/NcjyvjvDPViSlyFhqNaNjEjxDbXEm2MqH0zanwYNcA9U1yEfRbSj4+uVspd?= =?us-ascii?Q?TZgeClu172qqp0x3Q+i9MSXg5gl5Mdbpi8QxBp+oc3INcyYSP7Y4S0WO/d5z?= =?us-ascii?Q?moZYWvc1lcvVDqSG91VV68mJmK6Gu7zgoBO4h3rYwef/6F7uGRm0S0km111R?= =?us-ascii?Q?G+L2ZgIT3m0cele1rBsyT45ybvYuZutYpRD37inHOgqKwHG26IIFVnsdUg+f?= =?us-ascii?Q?6gqxd2hmg4gabpAUaTlu9B6XWySa+FIFtN39wsx71bN5DXi5xm7f36gF0idJ?= =?us-ascii?Q?doPB2lasog9/XpM7b6hSqGy1utqMWO0ZeBD2fsSeTGmX0Po+XYH+A2Y0YDOt?= =?us-ascii?Q?DHPUCihK0ptDkEE2VWj8c4kjcn+ipRX7mtbuACpvlbIgeAPe6ATGP5OdFk8O?= =?us-ascii?Q?9jQKoOScPfhjBPpHu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Qz+ATslNpTIP/S9jGAV8enIUYqC/pgngg0iUIwsWKvehlehiPkXb2Iv8iMlTg1rV02uxBYh/uFi2wxhL/13OLMFhWtjeeluLaE20cMxC3lFYMkYXZHsXCd/9nMQtpWtwJveuPn60hVo=;5:5c18j4cJrSwciHgM02mHW6sMs7gs1eyQ1jPPm16cKRRBHRfd92zXlbUZ5pahW2OeZL+d3JGD9ueXGIDXtdk+l2zlQEn/BZ+nYLUl2i8scEBd0hcWE+9MD4PQz60o7slodU5cTIhzbILJbvhZkxO1rd1bQ3bxe3bOmePzkHWdVCc=;24:M/wqCqoGa7HYOfzUsjtKPeuNlibhP0KzfKYSV4QweiGBPSAZv6dqiWfLga+d8APryklQmqDCYBZ+qQMMe8CktFIwaXuThY+8WHH/5vblRSE=;7:Mr8QHTpUPc7U2gg+f+PJ7Hw814d9wT3tQAepRlgeM3HXP5fKlO/rwiCpkSPl4plY/ZVZN+mpvg1Fwy0RP4uhlMyWEBVq5r+XW+zsg7Beo+hoBW3ccY78a8W8y+F7rLNyM9IlRhs0tv/Z5EkYIyX1rSu6LjIiF+G9TFIu/QCDPue+x75tVTlZtn8ad8a6sk1ml3S7mlbkmFGgSDxQphqL1yZg7Np9yNghEK4Svg+EY846DBXCf53aB8zu7DNbvdHS SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: concurrent-rt.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Nov 2017 14:24:52.2909 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 72aae2cb-5bb8-4653-cb89-08d53734f4d9 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38747689-e6b0-4933-86c0-1116ee3ef93e X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1478 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 28, 2017 at 07:22:34PM -0500, Steven Rostedt wrote: > On Tue, 21 Nov 2017 10:33:17 -0500 > joe.korty@concurrent-rt.com wrote: > > > On Tue, Nov 21, 2017 at 09:33:52AM -0500, joe.korty@concurrent-rt.com wrote: > > > On Mon, Nov 20, 2017 at 11:57:51PM -0500, Steven Rostedt wrote: > > > > On Mon, 20 Nov 2017 23:02:07 -0500 > > > > Steven Rostedt wrote: > > > > > > > > > > > > > Ideally, I would like to stay close to what upstream -rt does. Would > > > > > you be able to backport the 4.11-rt patch? > > > > > > > > > > I'm currently working on releasing 4.9-rt and 4.4-rt with the latest > > > > > backports. I could easily add this one too. > > > > > > > > Speaking of which. I just backported this patch to 4.4-rt. Is this what > > > > you are talking about? > > > > > > Yes it is. > > > Thanks for finding that! > > > Joe > > > > I spoke too fast. You will a variant of my one-liner fix > > when you backport the 4.11.12-r16 patch: > > > > rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch > > > > to 4.9-rt and 4.4-rt. The fix of interest is the introduction of > > > > p->nr_cpus_allowed = cpumask_weight(&p->cpus_mask); > > > > to migrate_enable_update_cpus_allowed(). > > You totally confused me here. > > Hmm, that patch isn't marked for stable. I'm guessing that it should be > backported. > > Now are you saying your patch still needs to be applied if we backport > this patch? Or does your patch need to be applied to what I have > already done? > > I want to release 4.4-rt (and 4.9-rt) this week so let me know. Hi Steve, Just porting that other patch should do the trick. Or you can just apply my patch, I know that one works as it has actually been tested. Joe From 1585357790102572351@xxx Wed Nov 29 00:23:26 +0000 2017 X-GM-THRID: 1584176322889836856 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread