Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1301724rwb; Tue, 4 Oct 2022 19:37:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM79o0B8DF2bKjxtJks6V1ImSEOw/51PhL+zgCEn7Ybxf9yQz55+9I1wuytCIiSDvqor5kxJ X-Received: by 2002:a17:90b:3c87:b0:205:ff7a:9d49 with SMTP id pv7-20020a17090b3c8700b00205ff7a9d49mr2768307pjb.94.1664937429897; Tue, 04 Oct 2022 19:37:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664937429; cv=none; d=google.com; s=arc-20160816; b=Ort3BtjHX9jYkKHmTiyUlvWKBwdwjmkJhj/R7Gct61os1IR0ANQgH+Uz9mGADb6+E1 jNPwS0hYNDte4e/cJacfkSOanK6TOzmQlKUR6JDGx4oWeMs0m+3jm0dX6D8c5RDS+O0/ ZV7F+Q7bDEgWvndt2ARijZiBfh1miXV0Dzj8EdadxGyPxr5rLSyKGaowym8EbN7KMwMq SMGVeljBhs6QZZGEqnSQKg3I2T4FhwIfl1JC4z5Rjz1OWjeJgE02PKnDoPnES/Atf5u2 ZJxEQzC0jcwISOfcJXwwU1wfz4XRav8BiNPKdguKjRm+RYa4Hi0aTzbjblddHjhPbDBg VqFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ugwHEDQcF5VRN+4KCFZX1pbxbkZuWcWFPr79Ra+qDPI=; b=m36w5jq2vkficv48Uvq5jrjk00eIFLJlJltHVrbphLwuhMHaSslQLjg+GGJGIDCeOF slxYCm+VDugbYioELb28oJvsn0d6O8WSMaKjgkUf+7zU9eAUi8oilPZA3dXQEJ9CDiv2 DffRjO5pc1x/JCqSAuxf/PfAaGYSnI7BOqnMOi2KP5SwZDdhDocURPZxeuoWIwciXH7J oLqPpXEEYeBhL5nfsLfFaXZw4L5wx+1Z/NJjfmigcVzWHuKFUCaGUNtULe+F8GiB1mcW K1dgPBpkCom/idcmWn/2U9d3xwRGGfPRnWV/eIFsuy6OELqRUDIqnq9suYg7UJE2tYzu Aolw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=do+K2FKZ; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y15-20020a170902b48f00b00179f1584540si13036707plr.564.2022.10.04.19.36.57; Tue, 04 Oct 2022 19:37:09 -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; dkim=pass header.i=@google.com header.s=20210112 header.b=do+K2FKZ; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229532AbiJEBOK (ORCPT + 99 others); Tue, 4 Oct 2022 21:14:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbiJEBOI (ORCPT ); Tue, 4 Oct 2022 21:14:08 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8053A6DFA5 for ; Tue, 4 Oct 2022 18:14:06 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id bs18so15552750ljb.1 for ; Tue, 04 Oct 2022 18:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=ugwHEDQcF5VRN+4KCFZX1pbxbkZuWcWFPr79Ra+qDPI=; b=do+K2FKZlQ8TcKuvbRmDV+wUmqtG+O9ZHQ2AQs80qmIOF3Ndf/etuoxrXAtnR88Eky Ft1R3yunWStcGdXxedW6H3WxHi7Y/2LcCbQoKVvy910dO/gFWuk09itNyafbYYHEYC2n hpmlzZ172XZrdr7jpolEGuLd+0r3msrP3beff5UUfYD5WagkVQo3jjYD6tbqOdDp9OUP 3Icyu2nnxdmoT3XRlHybLzEv+A90HjV9D8HnSjYVUyPSQCBJGcl6DvmjsKEtJdo594RP 22ang0YRM72WZA/Yc+gPeJGqoMiOpNxSRfYSJmOyFPN8Bx7/oYERIqIIPKQRWEZ0Cu/K 6BhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=ugwHEDQcF5VRN+4KCFZX1pbxbkZuWcWFPr79Ra+qDPI=; b=JdjatSD2TANmokP5axZuRoZ9tbEEEdjwjakQ2t61ub82vnHlkYsyqNYdMyZhnAOFcR 2vRXQB/CtHXrS08DynK/oU1V84lvw4bF2mS7JlD7sWV0jNjRaU38NP57/nzzXjQXLFdY uBMAOcmP3DNZrWllkbOYIS3a83g3vsriGCuDRKvVSfbRDZcoPWDvAdlU5vSpx03IIpsz f10yhsnY58kjyJTETSlWmBoXaJFCVZEwLuBcggKI7AtRw3gkoEitQEf+suNCT+Sa+vuH 0Zfnl7/LksSTJBPegucyLzLQDh5JmIvXJ/O+pXKgLV5syMYws0i1H+FzPPkaR2yWKUuO asKw== X-Gm-Message-State: ACrzQf0VrdYZ21zrZJrwdXTvNRx32je2xFcom/tUt5UVK1AGvlPm8Dx3 Ps8lhrevS56ga43be788C9zKd61sEOtVVwCBJMLV X-Received: by 2002:a05:651c:1546:b0:26d:9459:1a69 with SMTP id y6-20020a05651c154600b0026d94591a69mr9827913ljp.209.1664932444752; Tue, 04 Oct 2022 18:14:04 -0700 (PDT) MIME-Version: 1.0 References: <20221003232033.3404802-3-jstultz@google.com> <20221004013611.1822-1-hdanton@sina.com> <20221005002149.1876-1-hdanton@sina.com> In-Reply-To: <20221005002149.1876-1-hdanton@sina.com> From: John Stultz Date: Tue, 4 Oct 2022 18:13:52 -0700 Message-ID: Subject: Re: [RFC PATCH v4 2/3] sched: Avoid placing RT threads on cores handling long softirqs To: Hillf Danton Cc: LKML , linux-mm@kvack.org, "Connor O'Brien" , Qais Yousef , Peter Zijlstra , Steven Rostedt Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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.kernel.org On Tue, Oct 4, 2022 at 5:22 PM Hillf Danton wrote: > On 3 Oct 2022 19:29:36 -0700 John Stultz > > > > Why would ksoftirqd preempt the rt task? > > > For example the kthread becomes sensitive to latency. Again, my apologies, I'm still not sure I am following. Could you expand a bit on the case you're concerned about? Is it the case where the ksoftirqd thread is configured to run at higher rtprio? thanks -john