Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp378283ybi; Thu, 1 Aug 2019 20:58:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqy88SqDmQV0l6DSB5LWeix2VP4+A/mW7cUVHJZFuvg8Ui0PzW3JDOFnOJbJpyVLXoiDpG6X X-Received: by 2002:a65:6709:: with SMTP id u9mr94284509pgf.58.1564718332632; Thu, 01 Aug 2019 20:58:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564718332; cv=none; d=google.com; s=arc-20160816; b=aA438xP4upr2CAyE+ZDTfs7h3RMT2hbDoB7E2gEjVOJDSzzoiUflUH6/EmOhqjUJ42 1of5eFIbA+R+Tjb1nhndH8UYCgt7W0mWL5xldrCVeTrXg7CeDrRjCciQNBrkiIDjbaTk lCOvT1mp4L24E1MfLRQ62e1HZTKfwefRGuqXBI0m+LBIscZ3jxDYR7NmkDq3AN9YptG4 Mmuw5jxovv9RusFCq5NRTp3oy8IP7whc7Y3CTpAA5+S2l80SxUn9459N2RHF+ng8Kq2p +fhL0LpNzdFuwk2PXjUcS8I6EHL1wUH5Gjw6Ha+Iq/oX2rOD7h/i2Fi8RwW+VquhLnor woYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=DLAp7PJdRS5HSN4j0mwHufaobGvhbtIA9bU8A3WHPLo=; b=Q223Dp3atP+L55sEDVXK0vDhltHVe7rVY78XDape4imPwtl408vkycb3UABhbQgDQq w4dF1x3UQQtd8sN9WXU8oGPL/1V59HlH2gg14Hzxh5mQLn1aF8VZOM1zIVWpR7T9QbEH 4EPnPBit+2c9lQ2DDcr2xUv5HIjixdpnoRh5EJOsl2n1rMkhl1PhB61NXprcb7Ib+rGK RdsQUxMPgLrduOvfDhMKbVjY9tahw22+zc78H19nxrPFYBSlYooKe6YW3H7gLMBPHO4v dAgYNioEOM1EpeV1dlKi/qbPuURwlb6vwr23S5iK/av+B6b5/iZsYk8yceW3WBv9Et3v qkMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=RolS2lr3; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1si33400285plq.286.2019.08.01.20.58.36; Thu, 01 Aug 2019 20:58:52 -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=pass header.i=@google.com header.s=20161025 header.b=RolS2lr3; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389028AbfHAVDc (ORCPT + 99 others); Thu, 1 Aug 2019 17:03:32 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:34938 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732382AbfHAVDc (ORCPT ); Thu, 1 Aug 2019 17:03:32 -0400 Received: by mail-wr1-f65.google.com with SMTP id y4so75017766wrm.2 for ; Thu, 01 Aug 2019 14:03:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DLAp7PJdRS5HSN4j0mwHufaobGvhbtIA9bU8A3WHPLo=; b=RolS2lr3PkK3ioYygZ6RAvR/+wgwGKJSavJz0miaeBJSbhRmMlMAdl57e9U0oQGZm8 m6DpfJL9sM41OTeMaCEopQLTznhDvIVIxixStliH7FLbx5E/xNLrwsw8r0POwd6Syl3T sdcgoKwSITRwpXnvkTgLrsYkX859cZJTPFKdnmG0PkuNhsqbANsZ/8qnuY5npOrlJSlR 4NveQHqVDwYaCaIh7I7LNzgBkQGNj8trMOTNKNod2ySL9Dpk0ojvLbzpcEbE1O49CJ4B +khEugo6YOLAcHuGYjfiOJxi4WqUTldQ7Ibyo4DaSInx3RTIYptXcnlcazgc7DjCk0zV 3VpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DLAp7PJdRS5HSN4j0mwHufaobGvhbtIA9bU8A3WHPLo=; b=nSOTzjdW4jPwgWAjiQY0qE/38gjLjI6cYOlSFUZZG9G2HXxrqxeXf7yPNgiynC6Dxs WNR+daOqVd0lc9MLnMBu2UL/+EFfIvJMnyn6nlVCSK4Itd0RaU1l5vu7g7B/rf0hLWNk UkcO2lcdMbo7ofkrU4JJD1d9xwQSEEi5neUmHlBTbMhxs0VCLbWthTSad4b0pL3DSmXl HIGUYs2qsKApM9ZYQZXuINUvvffDw6Rlote2YeuF8MLEV39QNorW7W5ynXa7j3/J1MX6 E78qrqHGStm5fEZboWKzjIG44cSpAIOZtytUDksfaTPtkp/3Fw9gi6Iv9O6AQBVmC4N7 vJCw== X-Gm-Message-State: APjAAAVPp0FjGvWONS9lpgQcFkD++miaEmgwla+CDh5nsaKWoJZr3kOC la+tSoFr15lF8TIHYgMrg/GH16CUhc+QYK3w3HmcqQ== X-Received: by 2002:a5d:46cf:: with SMTP id g15mr5229138wrs.93.1564693409669; Thu, 01 Aug 2019 14:03:29 -0700 (PDT) MIME-Version: 1.0 References: <20190801111348.530242235@infradead.org> <20190801111541.685367413@infradead.org> <20190801174907.GA16554@cmpxchg.org> In-Reply-To: From: Suren Baghdasaryan Date: Thu, 1 Aug 2019 14:03:18 -0700 Message-ID: Subject: Re: [PATCH 1/5] sched/pci: Reduce psimon FIFO priority To: Johannes Weiner Cc: Peter Zijlstra , mingo@kernel.org, LKML , Thomas Gleixner 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 On Thu, Aug 1, 2019 at 11:31 AM Suren Baghdasaryan wrote: > > On Thu, Aug 1, 2019 at 10:49 AM Johannes Weiner wrote: > > > > On Thu, Aug 01, 2019 at 01:13:49PM +0200, Peter Zijlstra wrote: > > > PSI defaults to a FIFO-99 thread, reduce this to FIFO-1. nit: above "PSI defaults" is more accurately "PSI polling defaults". The core PSI thread that handles regular updates is a regular kthread. > > > > > > 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) > > > > Acked-by: Johannes Weiner > > > > Subject should be s/pci/psi/ > > Thanks for the patch. Please give me a couple hours for testing to > ensure no regressions before merging it. Tested-by: Suren Baghdasaryan