Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1205001iog; Thu, 30 Jun 2022 20:12:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vKc36GNQbdg6RC7KoZDbEaY3cNgXY6Qn6BHjrkN/leZFuS6eIQgeMuNevTuLasYP5eXWi/ X-Received: by 2002:a17:907:9711:b0:726:443d:3724 with SMTP id jg17-20020a170907971100b00726443d3724mr12469450ejc.759.1656645132864; Thu, 30 Jun 2022 20:12:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656645132; cv=none; d=google.com; s=arc-20160816; b=omecw6UH1Xj11HZvzQMWVy46rfUkUWeMSdGABFlvTvIOZyaKmNSCzz5QfgpD3szvbB aJniB+71RmzxIMGKL7wh3GZ14R6GeKeZEWrleloHJiHf/u0/RupxG+XowtVhpOqGHoxU crzDpC8AzT/jB/PeXD2p+abCVYLqSD1hmRbS1OSJeTIv075wdtvGRUtw8WleaZsjowL5 zDt+o1XIlGNR5c9m//QGU0MrxGDYpfgChfu3Qws9DFJWTv3BlujdJwjYWUc4g7jLoCEI wyLF7XZqQ239vzhFzKtNOw7iWOcuqot6apLd8bkIBfLNf1sxAfjxSJ/ubO4O/Zx3Jmkv NgHg== 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:dkim-signature; bh=lOvmRX5TfFX/UtEGzQDHuFSxkP0i5beuEIqtb7CEA/w=; b=pDoB3Y1nPqlkBpSc5ZKmfojEWh2Mok2fvaVs13sLQLvZK587/uCXHneSD/RfBbUHbf PLQaGuhnkjs2juTDSCQBOltwy284D/ainDakkfIxQZykLSWjCHAfeVgyHFqxqkI6IjCu N/W9EqOZ617z45FBlzroW1/Xiq29Iezb4N+oNO4LZr1Bqpz5UTVs2StPipNxcs7D6m+d 8RJsmtdFffN6xGQYIhMEweIHq/8DGCCuoZpt3A7GXXU0LNLDCUaSyBbXKOM7mN7zS7GW nKcYgz9n5CfRJYUIa4vSCEycNBdenc+WBiOWs2o42W1G1GKYTGvAq0N4g9JCkotunPJl VthA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WelpAaI3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12-20020a170906794c00b0072a6bd1a193si826055ejo.112.2022.06.30.20.11.45; Thu, 30 Jun 2022 20:12:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WelpAaI3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233167AbiGAC6T (ORCPT + 99 others); Thu, 30 Jun 2022 22:58:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232320AbiGAC6Q (ORCPT ); Thu, 30 Jun 2022 22:58:16 -0400 Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7FEDCC0; Thu, 30 Jun 2022 19:58:13 -0700 (PDT) Received: by mail-qv1-xf33.google.com with SMTP id 59so2711247qvb.3; 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=L/Ey6K+NFvjIiDeGmydgB4/iZ8H/wCdtl3871B1Wbigq5wIZW1V0vI2xStCWbkIoCY JGc4GSNfKA3UCyfMtj07oq1HATb8+SQrgj+PLZNL/i5euaJxoPnM3Y/U50YhgPCX3iay EXS0csxzSuzTUEiSTNtLzdm4420FsAtG4lTLZZ18EXKjHB5FdsPT03GZSbjlbR3nn/ed xzDLf702kxnIWfOgYoJLcmAkCzZJ4ZDvBikzcjpPtTOWAplPm8CS55EEZBijMVuopEQu 4r4Nv1LYSesihVUvja2d2LQbKhEyaKjGVVYFVVSnAX8sZPCdzr0cYLtD0o6Ou3xseCFP w1EA== X-Gm-Message-State: AJIora+adoHolPnCDw3cOKZgtpsbgOK1Ylr5oy3fzhSvI2VTeo1cjU0F sY6Nvkae47g0K5QPYu9xacU= 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220630165611.1551808-1-alexandr.lobakin@intel.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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!