Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7171967ybi; Thu, 1 Aug 2019 04:19:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfBOccLQk0b0v2lzvPP+lv0KhGu2IbnqoLzhTeASlNkSpqr0kXz2CHsAWD+6zYs15iALYk X-Received: by 2002:a62:2b81:: with SMTP id r123mr51102671pfr.108.1564658352923; Thu, 01 Aug 2019 04:19:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564658352; cv=none; d=google.com; s=arc-20160816; b=0eKlTowIOYnZgW9LtmFGn1UOOkyULLtZFQ3TBjrAjR2nvUmHXGJ8A9K84mLi/71gHa 2RyKOPpVtulnk7OrUYylJ+/SA9Dd5iTBPizTBwqhVa4DLnS48S0/rE8U0VtKMExvfwTx WCrA6uy6sqTTsGKvMv05SaX2j4UYuzSiKu0pGratgZiGtYjW8LqQTbwMSjeLBpDLTzAE CznXLHaKlSGjex97N4VIPHrxWOMwf3/i1xbObsnlrd/eXiRI6acVyZrw7+C7Bgehe43z dNTvG7R6cehI/GfJdzCo7oDgFbrhNp9inENbK46sE0N5v9rDKFh4GGYjngaw/IOImkDh 8vrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:subject:cc:to :from:date:user-agent:message-id:dkim-signature; bh=/BSdPIoCwgRhHfWOHPwPqGUqxLt3gcCsEyPPvDK5A6s=; b=lMXYQ+RJL2VTbRs0YfXs4jvxJxUBTjyPnJxHHq2VT3kJ8/ZXT/TNluhUlxgqgKJ6l7 eJA+hku3vCfIWpM4oa1RpU02zwf/NURmDyT4acX25JtApzfIznsehWcjztwaT2DAqgHE ZchlXn/1tm4n3+kTBlGO35Ebua1WnBmi4YrV56iGAE/hqOW46/LwIytR6ckc8JMJd3NN xLi9ka0WdFOLPXdK7hUcIiyAa0IRr+8wvkBY71CEX4fl+x4R/8tPvFn7pVN1hqDCZCFh 0a6e/2d6iGbDyq0fAhbfkwvwQjlCabCIh9/H8X3sTz9XhFfLHvXqFNeCgRGLs/jVaroE 9Osg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=HjeriqX6; 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 y192si35646325pfg.172.2019.08.01.04.18.56; Thu, 01 Aug 2019 04:19:12 -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=bombadil.20170209 header.b=HjeriqX6; 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 S1730165AbfHALSU (ORCPT + 99 others); Thu, 1 Aug 2019 07:18:20 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:44196 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728060AbfHALST (ORCPT ); Thu, 1 Aug 2019 07:18:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Type:MIME-Version:References: Subject:Cc:To:From:Date:Message-Id:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/BSdPIoCwgRhHfWOHPwPqGUqxLt3gcCsEyPPvDK5A6s=; b=HjeriqX6h1t0O+Mrqo9Zem9sSF ULZLO+kJYkXvAlNBcB4M6ujRWYH5Lffth2MdkccIUPXfwjF4MkGSErTFitUqR+sglo+HxZbkWEIbj 5nfK/HY2sMh5Dth4MXPsrcFN1qUYG2GbD/L7XjK9ivniLKaQGdtHuNrTU0hE0OujrUlNMcZYQ5y5N 0cvavI11AxrJVt2QdEgfpzoc2ZIW9tqunHmkb5YpKQMsR4uGpp+cVmSSJ+lhkTZlXrSPGiB9AKCG0 S5EwE0GGQShYlgeMyYzA+tLf7cx4rdPqerZ0z7Eu3nO3Ko9MYP873E7GDVzf2xk0zMb7dq3xtELlP +tOWc1TQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1ht966-0006Ue-Iq; Thu, 01 Aug 2019 11:18:14 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 0) id 7C4F52029FA0E; Thu, 1 Aug 2019 13:18:12 +0200 (CEST) Message-Id: <20190801111541.685367413@infradead.org> User-Agent: quilt/0.65 Date: Thu, 01 Aug 2019 13:13:49 +0200 From: Peter Zijlstra To: mingo@kernel.org Cc: linux-kernel@vger.kernel.org, peterz@infradead.org, Suren Baghdasaryan , Johannes Weiner , Thomas Gleixner Subject: [PATCH 1/5] sched/pci: Reduce psimon FIFO priority References: <20190801111348.530242235@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PSI defaults to a FIFO-99 thread, reduce this to FIFO-1. FIFO-99 is the very highest priority available to SCHED_FIFO and it not a suitable default; it would indicate the psi work is the most important work on the machine. Since Real-Time tasks will have pre-allocated memory and locked it in place, Real-Time tasks do not care about PSI. All it needs is to be above OTHER. Cc: Suren Baghdasaryan Cc: Johannes Weiner Cc: Thomas Gleixner Signed-off-by: Peter Zijlstra (Intel) --- kernel/sched/psi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/kernel/sched/psi.c +++ b/kernel/sched/psi.c @@ -1051,7 +1051,7 @@ struct psi_trigger *psi_trigger_create(s if (!rcu_access_pointer(group->poll_kworker)) { struct sched_param param = { - .sched_priority = MAX_RT_PRIO - 1, + .sched_priority = 1, }; struct kthread_worker *kworker;