Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp208986rwb; Tue, 4 Oct 2022 02:57:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5dhxrP7ZJGTKjKPTFhxXSfSioIrADuwbEjsX2x7jV7cLEgLLFdGFKsCCPoWw1c28K22wAj X-Received: by 2002:a05:6402:548f:b0:457:ed40:5f58 with SMTP id fg15-20020a056402548f00b00457ed405f58mr22587789edb.408.1664877455592; Tue, 04 Oct 2022 02:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664877455; cv=none; d=google.com; s=arc-20160816; b=cqRiVIoMEssydryNQJyoHeixCfNwR0Vyl8rQhiqKldfX+r4hWNGdVcqqJSSunARbFP iKai+T26Ab79aT8JEzWWGVMLFeIpz4r4n4UYBOIh0awlWcmwR0DIg1fRffteBkPi96qO lMEjbL3Jqu9YaTzXTqeFcRCkf+KoaVooOc0a/n204A2+RkHMyysgQPXl6FhH7D7QqBgb R9crJmy6s640ZEO7d5oOgMl0bgJ2SXk8LDhp+7/NwIaTYsKT424Am3O5Kha4B/v0b7mn EOCj/y+CsE1szx4AhLdkZD1Hhy1sx7yXkgMQBPGenS5ggoV833uuJ49KelFMmhily5sL rlDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=MiQfQwb3y1+bdLT7tqH2D/y/UjFPswiDwWV+DUdHu4w=; b=K82gdvvuz0cBCWaH3FZosNW3FBhqc159lMLLe81wk1+ys2KyESOZRGoxfzGnCXSmNN nPTFs2SC8xmALzn7fbE1mEO5ac8fVHUXdTN848AJAZKM5n7+qdXxE50syuIyvSZYWmjp nitKu377hLEgCkoek9pS1xls6o0fOKwhhyUN3Ab3gXuRJ+w43cf3UZmmPMSy5OOvKmnE zI3/7yNVoiGVvXCd3kjzcD5qXUVqXE693IXFsTJQuSV6wgltR4udIsK6LaUL9Ut3GFR1 q2O9JNp4xYYX7guRULvL1vkVVG/WXdcGSYbyLfYuKqkBwNecMy+yNi4psnl7DEReGiMZ ck7w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd7-20020a170907628700b00783de095de7si11456027ejc.847.2022.10.04.02.57.10; Tue, 04 Oct 2022 02:57:35 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229547AbiJDJwF (ORCPT + 99 others); Tue, 4 Oct 2022 05:52:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229914AbiJDJv3 (ORCPT ); Tue, 4 Oct 2022 05:51:29 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B58B14086 for ; Tue, 4 Oct 2022 02:50:28 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-255-MG7cYJhuPgCC3BXGXVgJRg-1; Tue, 04 Oct 2022 10:50:25 +0100 X-MC-Unique: MG7cYJhuPgCC3BXGXVgJRg-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Tue, 4 Oct 2022 10:50:23 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.040; Tue, 4 Oct 2022 10:50:23 +0100 From: David Laight To: 'John Stultz' , Qais Yousef CC: LKML , Connor O'Brien , John Dias , Rick Yiu , John Kacur , Chris Redpath , "Abhijeet Dharmapurikar" , Peter Zijlstra , Ingo Molnar , Juri Lelli , "Vincent Guittot" , Dietmar Eggemann , Steven Rostedt , "Thomas Gleixner" , "kernel-team@android.com" , "J . Avila" Subject: RE: [RFC PATCH v3 2/3] sched: Avoid placing RT threads on cores handling long softirqs Thread-Topic: [RFC PATCH v3 2/3] sched: Avoid placing RT threads on cores handling long softirqs Thread-Index: AQHY10jsHNFiDQffOUaXThhlaEqTKa39+a/w Date: Tue, 4 Oct 2022 09:50:23 +0000 Message-ID: References: <20220921012550.3288570-1-jstultz@google.com> <20220921012550.3288570-3-jstultz@google.com> <20220928125517.ei64pxfucaem55cr@wubuntu> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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.kern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