From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f48.google.com (mail-qv1-f48.google.com [209.85.219.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 19688ECA for ; Fri, 1 Jul 2022 02:58:14 +0000 (UTC) Received: by mail-qv1-f48.google.com with SMTP id t16so2729635qvh.1 for ; Thu, 30 Jun 2022 19:58:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=lOvmRX5TfFX/UtEGzQDHuFSxkP0i5beuEIqtb7CEA/w=; b=WelpAaI3njYPrQSfHDzi8D3Dc8rtvD01QTHIWuSTBpUCspUSZA5CiPOn1FmsBxK2d1 n+NvrQ429oVmXtDqyobXXKenmqQR1H4B2ygsgygEyJJsgDS7yFbtnMTx/Yat7tla7IGb f81YC5UvSkGSiC8iaxaum9eibqhYQJgbGxT2mCiuwPfUJl9ROYkck29M4SFGJ5LzsLJP VMJvj4NIDqtL/H8VtZGuM3kOpVqOTkedC07tTTX3LXleA88NKqFOJjONifGSPFrF1T5M MZBE+oi0zJaomy+MpwcjtkMzDFGUMj1gM3gdD0ksFZaravUlIe1wlA6yFdxpI1+5Wu8A 05kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=lOvmRX5TfFX/UtEGzQDHuFSxkP0i5beuEIqtb7CEA/w=; b=xRLzLwpyZ6OehqSXv+HQDHfvuRE8Fs7/IvS4Ic3LYNNFH/fxwxV3Osf9dYV8PNciaI U4oWDSC+tSixEVAYKoIgd+2D+dqmMgE9Ohslkr7MDeJGhzQwL3YB4xEzw3875bnrnbwb 4fkrnbCBYXxFKrYCIhhFsmEeMZ/LZ3C7mDSDW8h5zZyX1rPzdinSteUPgVExDIORtFm0 uhPo9LnVIaIGqN2qs09zfdsvVaW8RfseXRwk69SS9SCLnXvfKx2bNbgKL6ore9Gew7eD 7t8x5fw2t3j/MNL/3cxudhZK+tXxTBjIWztUvfym0kWrIqqKRYz92gpUINXABETJV5LC Iy8Q== X-Gm-Message-State: AJIora9erslDNQ/+yLL6iXRUigmvzwlBj0f6WIjwd13YvFujo0jhAkHb SWClootIkGjmyuzqCE1YBy0= X-Google-Smtp-Source: AGRyM1svRdiqfGdo6Px/LVasHA2ZAF5HGNiftP14Jt+t+yFx39TVmlT99mhU8zn9HSKzlmMDUj7R+Q== X-Received: by 2002:a05:6214:27ed:b0:470:90a3:6b9e with SMTP id jt13-20020a05621427ed00b0047090a36b9emr14298448qvb.114.1656644292944; Thu, 30 Jun 2022 19:58:12 -0700 (PDT) Received: from localhost ([2601:4c1:c100:1230:1dde:deb7:a57c:900d]) by smtp.gmail.com with ESMTPSA id w4-20020a05620a424400b006af08c26774sm15988491qko.47.2022.06.30.19.58.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jun 2022 19:58:12 -0700 (PDT) Date: Thu, 30 Jun 2022 19:58:11 -0700 From: Yury Norov To: Alexander Lobakin Cc: Arnd Bergmann , Andy Shevchenko , Mark Rutland , Matt Turner , Brian Cain , Geert Uytterhoeven , Yoshinori Sato , Rich Felker , "David S. Miller" , Kees Cook , "Peter Zijlstra (Intel)" , Marco Elver , Borislav Petkov , Tony Luck , Maciej Fijalkowski , Jesse Brandeburg , Greg Kroah-Hartman , Nathan Chancellor , Nick Desaulniers , Tom Rix , kernel test robot , linux-alpha@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-arch@vger.kernel.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 0/9] bitops: let optimize out non-atomic bitops on compile-time constants Message-ID: References: <20220624121313.2382500-1-alexandr.lobakin@intel.com> <20220630165611.1551808-1-alexandr.lobakin@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220630165611.1551808-1-alexandr.lobakin@intel.com> On Thu, Jun 30, 2022 at 06:56:11PM +0200, Alexander Lobakin wrote: > From: Alexander Lobakin > Date: Fri, 24 Jun 2022 14:13:04 +0200 > > > While I was working on converting some structure fields from a fixed > > type to a bitmap, I started observing code size increase not only in > > places where the code works with the converted structure fields, but > > also where the converted vars were on the stack. That said, the > > following code: > > Hey, > > Seems like everything is fine this time. I got some reports, but > those aren't caused by any of the changes from the series. > Maybe we can take it to -next and see how it goes? Applied on github.com:/norov/linux.git branch bitmap-for-next Thanks!