Received: by 10.223.185.116 with SMTP id b49csp2266984wrg; Thu, 15 Feb 2018 09:01:34 -0800 (PST) X-Google-Smtp-Source: AH8x227olWRybqJertyTxpmG5iF9IXsi81XBNuiVB8tjq1xZcxA3w8B7GytMxPijvn4RKzY6JEE5 X-Received: by 2002:a17:902:4003:: with SMTP id b3-v6mr3128153pld.154.1518714094577; Thu, 15 Feb 2018 09:01:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518714094; cv=none; d=google.com; s=arc-20160816; b=C3o70cI2gxughorBMbip6HK0FvhgBRKU6xjboMcHsGjm2iQ42cRqWQ/N/5JdPFMLpA J+i2Y95DPhThZg6pg9aibvFeDq6ORIuCDmn+xUQY596fB1rzbi8aXkAePBCu/yZO3Shp squH2EFjAwho0ugJ4qX9RnNUweudakmgDHz6EWFM8kmyIgDWvHFZk9jcbRPBdsEfC/Xc JF/ZrHutcpMrwZPzkdqNp/QrFBc03Ph9TiC5m9mITSYIkTsPNJfJZEiZg0TbYyflEceR z9x47RVxnKPXkfRjcfxr8urwVtIK8xoRgy+dRQE6+Mq/DuttHOjeMi+Jdn4w4ofbKk70 MuZA== 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:arc-authentication-results; bh=400CFEoArwwmSR7IXF96RRYH1R8kXdlJKalekidpmGU=; b=eSwGgNjF6HaNP2GNPEbyuK3GQXualBOaD5cIroQ/lKx9AL8ReTpLfFQZPqOff5qQ+6 CQM9xhE1VU9qSyPn0mUka+eSNzMqje4uxju5H0DRx4YCTD1rc6+zz8QPl18z8J+sQ17x B/8KvtQS/87I0G8U2rmdpuUqU1/IcaGYu+JQrUfvwBW0deTKC2pUwxcWX+/a15yNPeQD q7PofSqfLB3vGutrjVOaJC6ADZHZfzbGtnRCWmgfbPGm0/DJwAlzmTDM6DPII9iU522q Flnhr7phkbPDEvfAMw1wC8luqp0Lnqtdm8SxZlGDEwN9O6c6zu4k4yw/G5hYNqevMocV lYhw== ARC-Authentication-Results: i=1; mx.google.com; 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 q10si1274239pgd.335.2018.02.15.09.01.18; Thu, 15 Feb 2018 09:01:34 -0800 (PST) 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; 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 S1426784AbeBOQ7v (ORCPT + 99 others); Thu, 15 Feb 2018 11:59:51 -0500 Received: from foss.arm.com ([217.140.101.70]:57856 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423536AbeBOQ7u (ORCPT ); Thu, 15 Feb 2018 11:59:50 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 13AA01435; Thu, 15 Feb 2018 08:59:50 -0800 (PST) Received: from e110439-lin (e110439-lin.cambridge.arm.com [10.1.210.68]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8C66E3F24D; Thu, 15 Feb 2018 08:59:48 -0800 (PST) Date: Thu, 15 Feb 2018 16:59:43 +0000 From: Patrick Bellasi To: Peter Zijlstra Cc: Vincent Guittot , mingo@kernel.org, linux-kernel@vger.kernel.org, valentin.schneider@arm.com, morten.rasmussen@foss.arm.com, brendan.jackman@arm.com, dietmar.eggemann@arm.com Subject: Re: [PATCH v5 1/3] sched: Stop nohz stats when decayed Message-ID: <20180215165943.GA21994@e110439-lin> References: <1518622006-16089-1-git-send-email-vincent.guittot@linaro.org> <1518622006-16089-2-git-send-email-vincent.guittot@linaro.org> <20180215152247.GA25247@e110439-lin> <20180215165028.GA25181@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180215165028.GA25181@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15-Feb 17:50, Peter Zijlstra wrote: > On Thu, Feb 15, 2018 at 03:22:47PM +0000, Patrick Bellasi wrote: > > > > static struct { > > > > cpumask_var_t idle_cpus_mask; > > > > atomic_t nr_cpus; > > > > + int has_blocked; /* Idle CPUS has blocked load */ > > > > Why not "bool"? > > > Because then he gets me yelling that sizeof(_Bool) is undefined and the > whole structure layout goes out the window :-) Now I know... > Never use bool in a composite type. ... got a note ;-) -- #include Patrick Bellasi