Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1615750pxb; Fri, 20 Nov 2020 14:17:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJw1BwuH9qXb5t2Q3Wqk07tw+IG5k73+OGWNTzYQLKo4INYsxS9vwMfe4TqHXngtZimQYvnQ X-Received: by 2002:a17:906:2932:: with SMTP id v18mr33950332ejd.144.1605910649086; Fri, 20 Nov 2020 14:17:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605910649; cv=none; d=google.com; s=arc-20160816; b=ts+SbsRZzauMNp41dIkJNI+xjYofyt5Bv+xgWieu2zDyToJOAxCBF0J4kdzRepHN1O tX+x7/KC1WYtLQlnW/YO2UqkR+1LJHZHJCfDZ8mYH7TxAn8cdiX72X6T/oNoHPFhKpJ3 brAx3QJ5rtTUkN7++2iKR24SmaRNWOk99YZLxOMopOrYXF48kMq/IIvLxntYe9k4NMht llBErG+aYQ3R7IaONzm7J/3t2g5C6GtKocHZHcBBLHJkROAXNg6DDAV2H+I5cecQwy0l WQwaZxTepdr/JYkOOFb7zJbMlU8CZmO9CZ0we6eyMyd5deGg1fFGS4sD51xNGAfNLEPV e9vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=Z1pyZKUt70+7Oah4brRuaKPswnwh6VHan/l11sMx/Yg=; b=WR6AWwug922D1SU3X1QnWu3qajEr71dnPMHllM2mGPk5+otKjaphHmRXkAO7w09SAI V9G3JUUbfhDrk7dlMq2aUwMb8FmMOmlz4FD/V3S1ZNJzvPHyujeLBCdMf3ddpBclR2Vq zDhTAAJREl2uFUSpDu7Wk4CPTZ1Dd9zXih2ZYsrtJPmQJjhoqP8AtXdFqSofG8O/bCOP dWGhdtoG21mVnXVprHkAS2j7uQk8FV7n5mgMKCW06cF+a4WhTn4pgHXeDOookkAQsT/s 29YJCq44AIkp9yCVmiVi43F6P6vFi3oaxaWqFeBzIk/zozD4av6Y3fz8GIQsxJ/g6X7J RC/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ljsWDBMq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d17si2412075ejh.451.2020.11.20.14.17.05; Fri, 20 Nov 2020 14:17:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ljsWDBMq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728197AbgKTWOT (ORCPT + 99 others); Fri, 20 Nov 2020 17:14:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726898AbgKTWOT (ORCPT ); Fri, 20 Nov 2020 17:14:19 -0500 Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23193C0613CF; Fri, 20 Nov 2020 14:14:19 -0800 (PST) Received: by mail-qk1-x741.google.com with SMTP id d28so10452600qka.11; Fri, 20 Nov 2020 14:14:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Z1pyZKUt70+7Oah4brRuaKPswnwh6VHan/l11sMx/Yg=; b=ljsWDBMqGzGOgdCS3yCLBdUS4tlf5XcKxFGdE2y5hnGDPlHFCJvgNgONmquepZKXm3 gA3I75WL0l/JV+dAYNQwIwXg/ito2mPyy3WMIeEno7t+bzQLXNa+y1vhfB2r9f7Osb2/ Rc/lpcKXHbQGiSD1QNy3tpmxLvtnTVo+4G7XFjVtBL8QCCQUoKfYoD4A7cLOXlw20f3M qGyxp/h6erD4hnK6wMCjix/lF3sUsQozSnQX6aSYEMelVacfe22lymxKLrTNQSMNK25I a4JDZtUmf4RU4wuufHvcAW46kKpj++bgP5VpvRvQ047kFD7cyGCF54+mVNun1zsbvTdu QSsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=Z1pyZKUt70+7Oah4brRuaKPswnwh6VHan/l11sMx/Yg=; b=l/rKvg8yy9yDUO5tjx8FbPw2RGX7PB6pYwJXGbYd1Nwrm6qHFI/3iSDayNyqDFlfwK mZWKYLq2dV9E7oBgUqmRr2FyaujvJV8FK82EDKR9PaF7eor5GVv4YWNkIuP5j6MAWLV8 I+N43YleRbewLiv5AWJSM5EOWFoAr9d1Vv9qrOD7OtTkz9KP6TN2a+yNIcZMWXBoNY0f xMW5hH4MOkDAE5G6mIOSwYxWQuGhISod2jKb2LKCfaf4/G6oRRnqhkrKgGEieI7aPzTX m7DErReoJn/72ATaeMlH4BU27CtJPXt1x4jGD/pO+ngmScvGuqlzYRBFsL22MwetILcF tynA== X-Gm-Message-State: AOAM532gm20Fy9eRy4wWUOTb+SXkTPUFlnHX58/G3hsQ387PlCQ9IILB zK+ptepKvn+qLoTyXlWUaO8= X-Received: by 2002:a37:5243:: with SMTP id g64mr18994470qkb.248.1605910458220; Fri, 20 Nov 2020 14:14:18 -0800 (PST) Received: from localhost (dhcp-6c-ae-f6-dc-d8-61.cpe.echoes.net. [72.28.8.195]) by smtp.gmail.com with ESMTPSA id r55sm3097330qte.8.2020.11.20.14.14.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2020 14:14:17 -0800 (PST) Sender: Tejun Heo Date: Fri, 20 Nov 2020 17:13:57 -0500 From: Tejun Heo To: Stafford Horne Cc: axboe@kernel.dk, linux-block@vger.kernel.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, newella@fb.com Subject: Re: [PATCH 03/27] blk-iocost: use local[64]_t for percpu stat Message-ID: References: <20200901185257.645114-1-tj@kernel.org> <20200901185257.645114-4-tj@kernel.org> <20201120215147.GB961977@lianli.shorne-pla.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201120215147.GB961977@lianli.shorne-pla.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Sat, Nov 21, 2020 at 06:51:47AM +0900, Stafford Horne wrote: > FYI, I am just noticing this but this breaks my allyesconfig build > on OpenRISC; as 32-bit arch/openrisc doesn't define local64.h > > In general local64 is slow on 32-bit architectures, would that > be a problem with the usage here? Are the calls to local64_* > below on critical paths? It gets hot when running on really high iops devices but that hopefully isn't a problem for 32bit openrisc. > Either way I will submit a patch in include generic local64.h > on OpenRISC, I confirmed it fixes the build. I do not know of anyone > using cgroups on OpenRISC systems. Yeah, sounds like the right fix. Thanks. -- tejun