Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp27623img; Tue, 19 Mar 2019 17:03:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwIcK2Dc5P9GN6wlAOD2+Z8FGzSK2On79yaHGO6F/j2V9PCGa9IWFtKPj5Zdw0/g5ZmucOz X-Received: by 2002:a17:902:70c9:: with SMTP id l9mr4980441plt.131.1553040228774; Tue, 19 Mar 2019 17:03:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553040228; cv=none; d=google.com; s=arc-20160816; b=hGrVVO21IDCbkCYhMlP3txl5LsNg0vvlLSH12HZGxTL/PoFCV91iNQgbESb/c2KVr6 4I2yXNJBtJwA5PwmHfnxoT/bQbGRIpwgcpBFmnr6NAZv1SaeOE8lQrXjdgmGvpo1jxYF NiuSwPUnaH0HdgziqLPDFYAyaG2dJXeWrSTBWZm2ONdX/3YRIIK+nbEF08YUEhfYNeEH xvgFF+XTEn+JQZ35gAu7Z68/Ln9wYB1pYXvXR6MF5l32Jw8SlD+tpy4GAAo7X32aWKZ3 vYGuOxTjedMWzcmC7YJKBobh0JDMHGcu+WgVDof/ThcarPB6vbl3LC+3prKPUWLf5YpO AdTA== 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:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=8Uu1TNoF40X1KnQ+5j4CLL3Vv773lLmVGEnNhVJUE1s=; b=F8xt0cDyjxrcuBlHxBrKs0siUDME+r9zjGkhbVG9h2/IvTMvFdV3FWoaLOpx6yQkeN ZnUpERLya8W+AcpjortftHwaQtUchrdnl+QAIU12KqeZGqDSavGza4zWikTYxmFxPNpX YtD6FIdwLm0IKXp6TkV2n+0xcSBQNHVfk/P6dq96OiPmGShvxGX4rZToiL5CBrjgRvSL 7tb1p7YSBgfaVYctcECTW3CqMWKZm1F4OkXhUmBNCfyHDr/csyYMpRRtW5NWxOdCpU5D n8ojhdD4vR4WN3AJ/WIOskhtniZcnVpIopJUFbPg2yxvHNb8tTRMz6CND3mAM8VHCyD0 hpig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=JLB0DUS0; 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 z2si205069pgh.451.2019.03.19.17.03.32; Tue, 19 Mar 2019 17:03:48 -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=@canb.auug.org.au header.s=201702 header.b=JLB0DUS0; 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 S1727084AbfCTAC5 (ORCPT + 99 others); Tue, 19 Mar 2019 20:02:57 -0400 Received: from ozlabs.org ([203.11.71.1]:42361 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726801AbfCTAC5 (ORCPT ); Tue, 19 Mar 2019 20:02:57 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 44P9956DWbz9sNH; Wed, 20 Mar 2019 11:02:49 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1553040173; bh=jehP9+YT/rAivcVGOfJHVCT+k92Lsz+iBSFzJvUFN/Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=JLB0DUS0XtDVE1T2hGU9fOTTCcPEXNuudOsbOY2P9sBGeACPjFJRvurNz1hv4BTSL Uj82m2Jd+FuuKJMmj+QHXF1gWDmATsDVYcAtzs+qR0XwLQ7PLGXIaxqNn1NGnLhGtU SWFMStDnDHgKbyDYvxMsk4xN9fvPXeGjjhHh/2qb6EX9OAlunS/yB0Gj0yKZNiS7eB Ji6GENiI1GQiY99aHr8fMba7nmuJJS69cm3KIQr06PwOXRP3jgZXXu/iizdctQzwjW CfvEvUzSKGAY8LL3tviwU3qjkIRgkE3bl942ktLdOx4jUYd1r5auLSOEIDwr1nWqfA yXNHtkm/V8GwA== Date: Wed, 20 Mar 2019 11:02:49 +1100 From: Stephen Rothwell To: Suren Baghdasaryan Cc: gregkh@linuxfoundation.org, tj@kernel.org, lizefan@huawei.com, hannes@cmpxchg.org, axboe@kernel.dk, dennis@kernel.org, dennisszhou@gmail.com, mingo@redhat.com, peterz@infradead.org, akpm@linux-foundation.org, corbet@lwn.net, cgroups@vger.kernel.org, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH v6 1/7] psi: introduce state_mask to represent stalled psi states Message-ID: <20190320110249.652ec153@canb.auug.org.au> In-Reply-To: <20190319235619.260832-2-surenb@google.com> References: <20190319235619.260832-1-surenb@google.com> <20190319235619.260832-2-surenb@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/gcf3x9pNF4bWcL9pBwUmVyY"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/gcf3x9pNF4bWcL9pBwUmVyY Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Suren, On Tue, 19 Mar 2019 16:56:13 -0700 Suren Baghdasaryan w= rote: > > 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. >=20 > 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. >=20 > 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. --=20 Cheers, Stephen Rothwell --Sig_/gcf3x9pNF4bWcL9pBwUmVyY Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAlyRgykACgkQAVBC80lX 0GzGdwgAkeERrC49NHtT6/Phx/CoT0fGnk18tNUFLom+rq3rOBQK2wx1PjucbibK vXCE9EjVXmM1DNhVakECzW140fJtlo/sepGVTJhmSOUsMbOF1OI5PrAvszpgSjSU 5UF7ikasO20gSNsechnFvkJo4NA5zx/se85Mr62VKU8UgfAUcY3DQwATE6EJiQOY vuaHEsGdYYpgctzrz9buJn2eXKSqatWwteCeyQj2UDsfXz63CCJxlQrO4p96B//c wjfoSNMnOa25s418YxLiRmLA/9Upk9CMWPzQ7J6v3/TVGUNLvjZPRd1qBUE2za6g xvo9LR9TcLA3X/p682Ykd4lk+ccBZA== =KZbq -----END PGP SIGNATURE----- --Sig_/gcf3x9pNF4bWcL9pBwUmVyY--