Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1022948imm; Wed, 18 Jul 2018 15:09:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd4drEiD0BqyI1Z7hi5BQpqmnA+ujizi0N51l0vcZEPMmc+NnviThFguuUbjmsIDCHKdwQ6 X-Received: by 2002:a62:3545:: with SMTP id c66-v6mr6853781pfa.63.1531951784097; Wed, 18 Jul 2018 15:09:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531951784; cv=none; d=google.com; s=arc-20160816; b=TKqHI6BmiKz3BRkoP3FGdW15fliAQYBO/x/lbnS5eQBeqsUdATUrxMJbhjBwuv6Ia0 knbbir+prPyWu58ITGQMvWEii4rxg7GYQGvLrVdUcCh1yZb4CGfeOilXhYy87Tyuxpeh h7el3nx+bV3/oty5IVh9kuNHyInjhbac4gW8D3J/SJMwYN6mNNQEn10ybtxC40W/RpuE QdWkTg4N9j0Yjhv31DvQhes+Bal0ZXNZUYqXNxv6gk41OtrzxV1C5UVrkDyjCuR61K8C WD85TJBARbq0HWXa89vsxlrGJuSVHU2+TtS/R+IntSgYjgiJVQSVnWFyCGc4Z3jAki00 sJrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=8FZn5tD2SDlpbmPv1h30BRNTXCLS4iiwX2enbFu/UTs=; b=Ms3yie/bBZCkLyZn8YWaD0w1xPPahvvUvsn4HCwYcwNyveBz9lGcAC7ZQugLCtqF/e CRVjiujxlHwmohxwblN/uv+oaJHQcA0pwNmy9EGvkKWAAA2ahuLvVNg+Gm9kwZfTTNKm pqY9uAgeRte9E3Loid7qsgvYhRbAcQXj1BX5l0D0jdu4l8+2DlUk1xoCa9wFr3RjwtGm b9eVR+iX+HU390zXhIvZ4DPerU3okc0uaIzCoEKGa5KNyb718+FjNJvRGytynzfgO5V6 7CWqbffwcb3z59NS4Xm+aIitGp9C2rs+oZYlo8M0LQGzbKKn125QBOM2Ggf/sU78RkkE YCQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=QKc+oagR; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r133-v6si4035348pgr.17.2018.07.18.15.09.28; Wed, 18 Jul 2018 15:09:44 -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=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=QKc+oagR; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729706AbeGRWst (ORCPT + 99 others); Wed, 18 Jul 2018 18:48:49 -0400 Received: from mail-yb0-f195.google.com ([209.85.213.195]:43005 "EHLO mail-yb0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729221AbeGRWss (ORCPT ); Wed, 18 Jul 2018 18:48:48 -0400 Received: by mail-yb0-f195.google.com with SMTP id c10-v6so2478816ybf.9 for ; Wed, 18 Jul 2018 15:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=8FZn5tD2SDlpbmPv1h30BRNTXCLS4iiwX2enbFu/UTs=; b=QKc+oagRIRFxaoHWLeUiQvvuHMgci7IB6E2rZmik09n+2ysSUM7loPzfx3v+K3bb4S OzutDeSQtn+Ut+kp9nwPScKZUhrU9x6coXmcMU7SnxDDcdQzFNGXGHgSLHzAXWdc/2tl SaMWFgNf95alHxpuIW/f6lY8czF3HhaXGxiZm+Yewy2HF8RjCp/7HRAtycS31gl1I4Uk ZeYMWDUAdcwJhcO1rcr+jzCAOSVIMthgYN+8DrNhelW+L1tmZdxIwVFMyKXnx3Un9aAK BU1BDX3ZRVfPcZluxJFRq6fKZmOmNCtGe5ILgwOb5gL/6Z/E94qEiGlR9ejdFXncnOYx wKqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8FZn5tD2SDlpbmPv1h30BRNTXCLS4iiwX2enbFu/UTs=; b=O7jd/l8UcwQNYxejnI003itxbifm2T8++j6rOebJv+7TIMqKfJ+hFVEPMOfqUZe7Il RDvRobsXGVSs5LKgTZRF7MIN9EN+8hjb7J5KY97GXsabyOgT9of2ItiNLDUpN4T4Nv69 FeVN54wT/MTOYoU0TJMGLlUfR3rpvYdY8Y+Y6Lu2SphvB/XEP23pX6GX0sdgLlmBXDaR 65cw4ATIaqyVUf9o1hhkOalc23vbB/WE/GNWTPmqIbnLB8ICNN+po9y/q/27AUKvShNK ywqiRk+XZAiPkSVyvlwCRbUczzTXy8oSXCyDpLGG/K6O3F+NTcLk5a/aKqLWFfST2fsh KFHw== X-Gm-Message-State: AOUpUlHNUxDr5fzmz0qrzzFK3zbIj6qkKz2djJAzPaXDeBZ858EOgkZL f4w2udLkmKYRtdMlQQMygpycEg== X-Received: by 2002:a5b:34e:: with SMTP id q14-v6mr4182866ybp.133.1531951733254; Wed, 18 Jul 2018 15:08:53 -0700 (PDT) Received: from localhost ([2620:10d:c091:200::2:7eca]) by smtp.gmail.com with ESMTPSA id r3-v6sm5676079ywr.80.2018.07.18.15.08.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Jul 2018 15:08:52 -0700 (PDT) Date: Wed, 18 Jul 2018 18:11:39 -0400 From: Johannes Weiner To: Peter Zijlstra Cc: Ingo Molnar , Andrew Morton , Linus Torvalds , Tejun Heo , Suren Baghdasaryan , Vinayak Menon , Christopher Lameter , Mike Galbraith , Shakeel Butt , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH 08/10] psi: pressure stall information for CPU, memory, and IO Message-ID: <20180718221139.GF2838@cmpxchg.org> References: <20180712172942.10094-1-hannes@cmpxchg.org> <20180712172942.10094-9-hannes@cmpxchg.org> <20180717151705.GH2494@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180717151705.GH2494@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 17, 2018 at 05:17:05PM +0200, Peter Zijlstra wrote: > On Thu, Jul 12, 2018 at 01:29:40PM -0400, Johannes Weiner wrote: > > @@ -457,6 +457,22 @@ config TASK_IO_ACCOUNTING > > > > Say N if unsure. > > > > +config PSI > > + bool "Pressure stall information tracking" > > + select SCHED_INFO > > What's the deal here? AFAICT it does not in fact use SCHED_INFO for > _anything_. You just hooked into the sched_info_{en,de}queue() hooks, > but you don't use any of the sched_info data. > > So the dependency is an artificial one that should not exist. You're right, it doesn't strictly depend on it. I'll split that out.