Received: by 10.213.65.68 with SMTP id h4csp3834133imn; Tue, 10 Apr 2018 05:31:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx49dWsWN9YWNnvKoJk5sZvpgrC8zHoMNtZ6DajilkdxDOdKoVwdR6lKPtQ22EfCKxGarSOJx X-Received: by 10.167.128.141 with SMTP id v13mr169375pff.147.1523363480053; Tue, 10 Apr 2018 05:31:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523363480; cv=none; d=google.com; s=arc-20160816; b=WNwcwJWdieYscbL8g9xzr2u27TeeM9WbfG0nWbHfUse0ZldazuFb9xUrRqWKj5C/2I 85QabyIvtRZLsHFXs0eJFzJJNJrf+iTS1HEAHYcpqS9q8jQiMU/nXCVudoa6UlhNznzK QaCeR2vj0HU7W/yfcLnpaBlpeZVW5+GGSlkzlDuLA784foax7SI09yOePbkutu7jbPwc QnqP05JJ/Z/vIhmVAb1BLht29AqBSnCTuuB9giremrgmeQjLePoDE1dP5h3byPpH5WsH eMiXXa2VMrj74Nrzo7G46UAlnZGeN06pJrQYTIew1THYGylV6TYQbHGvT9xHoNUItWHP pJIw== 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=WYRMQszlgGTA93Dhktx3VKkGWkcA9Cgii+7RUkjSZBI=; b=ZT8skoKlbPrWaj8aErnGKht+tZqo4x66SwWF1Ui3GOW87BxsnSNrnoULZAR5ENOPIY Fp4RlAyps9dI1G+hEsUBk0XhHqdPNdIcBCbDMMW6gg21ODcfdg+IfcHwf/AWpI9Ld9Dk 8dklIOs8hGCWo4XsIb7DjNbYtMTaXEBvgXB1DFi6ERBHY5mYasVnCA+9nH/B3ajR0OG7 bFFPCq9UKRY0cPvODlOv9uH5kAe/GlIot5fRLEgyfqoYPzWyV43EybVrGzIvcyg6iuQQ BAbkDpn/sdAoYK+9dIqUUw9M1At1/OH8Mpav4nVEns1qt0OFXy7xSCgGMl4BuB9Z7piy D9MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=o/PLLTe7; 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 k64si2067229pfj.262.2018.04.10.05.30.43; Tue, 10 Apr 2018 05:31:20 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=o/PLLTe7; 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 S1753148AbeDJM0S (ORCPT + 99 others); Tue, 10 Apr 2018 08:26:18 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:52126 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753131AbeDJM0R (ORCPT ); Tue, 10 Apr 2018 08:26:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=WYRMQszlgGTA93Dhktx3VKkGWkcA9Cgii+7RUkjSZBI=; b=o/PLLTe713jycjAug2SJ118j6 dYcH7Ac8lsn7gkctrPdp1KDEh+j1I+5aSvZf8wxYDtDwDJmfb/+kh/3QnCCLMEOQlzWhX7MDGE2xr e4cmFHENlqtbnwKthKR1wFXIKgDP69ynYB9sKKC3t+RRiOj3KUSI6UO/pKN+1RtxscpXgpWJvv6wl 1gC+fITjIwPmtr5U2Q4ATvC+g+hmKqun7rJeOC2NjC9rcIvW9w4aw4F6XJ9ynzrtmZ2mxtPxSFtor a8V/Z3ri9li0St6y3Q+It3lJXR22gYwaYDvJYlebHdjjyOgZhke8aG0fQpIWgn/vpd9ERuzgKpNry PpD/yok2Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1f5sLe-0001Xp-CN; Tue, 10 Apr 2018 12:26:06 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 168662029B0F8; Tue, 10 Apr 2018 14:26:04 +0200 (CEST) Date: Tue, 10 Apr 2018 14:26:04 +0200 From: Peter Zijlstra To: Thomas Gleixner Cc: yuankuiz@codeaurora.org, "Rafael J. Wysocki" , Linux PM , "Rafael J. Wysocki" , Frederic Weisbecker , Ingo Molnar , Len Brown , Linux Kernel Mailing List , linux-pm-owner@vger.kernel.org Subject: Re: [PATCH] time: tick-sched: use bool for tick_stopped Message-ID: <20180410122604.GE4082@hirez.programming.kicks-ass.net> References: <891d4f632fbff5052e11f2d0b6fac35d@codeaurora.org> <20180410112637.GD4082@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 10, 2018 at 02:07:32PM +0200, Thomas Gleixner wrote: > On Tue, 10 Apr 2018, Peter Zijlstra wrote: > > Do you have any actual evidence for that? Is there a compiler stupid > > enough to generate code to convert a bool to a 1bit value? > > Sure, if you do: > > > > > > > > + bool tick_stopped : 1; > > which is stupidly allowed by the standard.... The code-gen changes are because of the layout change, not because of the type change.