Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp31591img; Tue, 19 Mar 2019 17:09:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqzY2PphqUJQf88SuS9SgbBZHXA+ox2TEa/uGQkx9ozEr+wrwZth5zzTolQ5JTemxLfh326g X-Received: by 2002:a62:1249:: with SMTP id a70mr4660639pfj.160.1553040559852; Tue, 19 Mar 2019 17:09:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553040559; cv=none; d=google.com; s=arc-20160816; b=J63bDW/IpU1UeaWMo/1P8RmdM/r8PbMrgxQP5BBWvBhyC+6YD03U/dGOJVsWLEEFln vs88dKjFh3LZ3i2F4Chyvo9C/OxeBeOLLEezQ7H507u8nH0qX+KAwswa77IR61f7IKPx lFlovBK/OqxIhYNqAORsovmAXI/qyTc4ESUa7t+QydC5B854k+Rcv04AhoWj7ihVhSMR zLSGu9rDo6CBLkbEMS/orJQeyB7iBtZAFJ01fbWvtkUkdUs/6uF1v/CR6xtmOraGAPfb 1l2Omx6oYDRLBUWJBx2zSWG/UgOuyleFlYVHlPOjr8arZ83c8HuR1cugQSowU2BR2/1i FU7g== 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=eXp5qzoLPE5k4y/K+1OpvTbOH6oNQxSHAXnNXH0YvjQ=; b=O7n/X6kxJUUkBEhWROKqykeKH7YtDviPWTpV0XmIFcR5bjlxun9jFoSnpqVPSRMqAN Qtk1B+2LR5uvTuxwQxEO3Y5ckVJvHeAd+kKTvvWKG5VzAb+tQ1Gz1K3x1OecWZ5SuA6X eqR+sDwtEIzNdjf6CBzdASkhqIbxuxguUpYR8i/3GRQVao/zbi2h1oP8ZqxBK1nWv5P4 nwW9VbN5iONQd4YNJemSZcfzKTkb/Edh4l5hkuqNF0EgT+a62Lg16iljS1jC/njUypSV +vp2/TjE8/OrbXs/dRm9iiVtyIeJOkHzSPbywZjTK9C0NobFzeFrgnyNw9nDOOvVYU9n xYgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="Bur//thX"; 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 g132si242083pfc.240.2019.03.19.17.09.04; Tue, 19 Mar 2019 17:09:19 -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="Bur//thX"; 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 S1727414AbfCTAHD (ORCPT + 99 others); Tue, 19 Mar 2019 20:07:03 -0400 Received: from mail-it1-f196.google.com ([209.85.166.196]:35253 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727283AbfCTAHC (ORCPT ); Tue, 19 Mar 2019 20:07:02 -0400 Received: by mail-it1-f196.google.com with SMTP id w15so5786235itc.0 for ; Tue, 19 Mar 2019 17:07:02 -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=eXp5qzoLPE5k4y/K+1OpvTbOH6oNQxSHAXnNXH0YvjQ=; b=Bur//thXopzVgwZJB7yIAIDhmYXnRCW6LthfE+610t5jV9d54r7SkeAhSSh8y7m5Zi /VYoJUghb4zWk2ojIaQffbFmDWXT5+bSZxdnlF7xlaiuqSmcuXM7hfN8cGLJdRvmIci9 9clf/LGQ2TUf6AkWFIeRNei5APFL9r/bwC/QYUd3l50LdBZS9ZToLA6jD3+rtGvnqm4t Hvbd1dGMzUi904201WtqeTnm2oO2HTyGosAFtQKafrUe5JlbyCWgfcLxhCjEOItETDoJ fLwgwJu4UfNt1ZvkV5b94Nt2z/ESi1u4CI5ogvLA6g7WQlp0a6cLY4DS2b4oiX68xyV5 nG+w== 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=eXp5qzoLPE5k4y/K+1OpvTbOH6oNQxSHAXnNXH0YvjQ=; b=Kj/pKxBhIETHck14UQ7UW1RsnK7VvanL1dmkOsNm4s5jRkBfccoX0FVvecbCsCsjEq nLiatC+eUkoqfBqywV10V/dQ4+YjT6Ud8gcgMbkUacQb0B5TiTGxBMbBZJTGSm8tt4iI OQmh3UKMbAdlqFkpNnVYKyzea/9m4NfaDa9LXO6X7inM6cPoOti+sV9RT0p0nxazXDdY vdDUdER87TuTvexLEw7bKT/JRsAFksT+TZ0KJGZY/EVM/fr/G9plEyWmywcfreFWx9bu k1H1dDAn4U2YdGu6ci3MdkIXKL3pzafTah1w9Ry/WqsxrKEJrljQzRKnF75rp5UaF+HL nWSQ== X-Gm-Message-State: APjAAAWfi8q31hQ/ogPSXop8HuLXZwzC1wV28OLja5uLzgp7CPtCLfhO xLMNDbn6jCjk1NzMvFSseeCOHkIpLDTVnVM9spdUzQ== X-Received: by 2002:a24:3c53:: with SMTP id m80mr3376403ita.102.1553040421935; Tue, 19 Mar 2019 17:07:01 -0700 (PDT) MIME-Version: 1.0 References: <20190319235619.260832-1-surenb@google.com> <20190319235619.260832-2-surenb@google.com> <20190320110249.652ec153@canb.auug.org.au> In-Reply-To: <20190320110249.652ec153@canb.auug.org.au> From: Suren Baghdasaryan Date: Tue, 19 Mar 2019 17:06:50 -0700 Message-ID: Subject: Re: [PATCH v6 1/7] psi: introduce state_mask to represent stalled psi states To: Stephen Rothwell Cc: Greg Kroah-Hartman , Tejun Heo , lizefan@huawei.com, Johannes Weiner , axboe@kernel.dk, dennis@kernel.org, Dennis Zhou , Ingo Molnar , Peter Zijlstra , Andrew Morton , Jonathan Corbet , cgroups@vger.kernel.org, linux-mm , linux-doc@vger.kernel.org, LKML , kernel-team 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 Tue, Mar 19, 2019 at 5:02 PM Stephen Rothwell wrote: > > Hi Suren, Hi Stephen, > On Tue, 19 Mar 2019 16:56:13 -0700 Suren Baghdasaryan wrote: > > > > The psi monitoring patches will need to determine the same states as > > record_times(). To avoid calculating them twice, maintain a state mask > > that can be consulted cheaply. Do this in a separate patch to keep the > > churn in the main feature patch at a minimum. > > > > This adds 4-byte state_mask member into psi_group_cpu struct which results > > in its first cacheline-aligned part becoming 52 bytes long. Add explicit > > values to enumeration element counters that affect psi_group_cpu struct > > size. > > > > Link: http://lkml.kernel.org/r/20190124211518.244221-4-surenb@google.com > > Signed-off-by: Suren Baghdasaryan > > Acked-by: Johannes Weiner > > Cc: Dennis Zhou > > Cc: Ingo Molnar > > Cc: Jens Axboe > > Cc: Li Zefan > > Cc: Peter Zijlstra > > Cc: Tejun Heo > > Signed-off-by: Andrew Morton > > Signed-off-by: Stephen Rothwell > > This last SOB line should not be here ... it is only there on the > original patch because I import Andrew's quilt series into linux-next. Sorry about that. This particular patch has not changed since then, that's why I kept all the lines there. Please let me know if I should remove it and re-post the patchset. Thanks, Suren. > -- > Cheers, > Stephen Rothwell > > -- > You received this message because you are subscribed to the Google Groups "kernel-team" group. > To unsubscribe from this group and stop receiving emails from it, send an email to kernel-team+unsubscribe@android.com.