Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4401993ioa; Wed, 27 Apr 2022 03:06:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoUeHJHgqbQBD15T08xDbX3n1smX1qXPS3JjWYEEtcr2nAnw/yEJygK5wjzpfjcP1OPEmB X-Received: by 2002:a17:902:834c:b0:158:ae65:b935 with SMTP id z12-20020a170902834c00b00158ae65b935mr27703194pln.145.1651053961480; Wed, 27 Apr 2022 03:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651053961; cv=none; d=google.com; s=arc-20160816; b=pFJxD10OOiQUfbdjrEfI16eoKaAa6cAZz3kL0qrl6Gl80oH4HbMmW0AR11VuS0fjbB /ilqOzNSdkN2QC1WZiQPgawMiIYe2k2zg8Ek3mPm7F76zqkfasLKfISuF2e29XnPxftF n3S8KDCiZgWEPvnea6zvcpjn2P+7dRcoMing42Xc+3DezOTc+IUSTUlIITX9dF9MMM1/ GCfdsnEVQWz2iGAsHKEWhx7S94zwOV+eaLcRXgsqTAupO0B6VFjE2luZWIlxKk9Mz9ah AlFBRK+OQ2NP4wLTqjjIjI7DnTPal4JD856zt81oRTnZzOQzuNv8ouZkMdil3buhwtjE aITw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=NHalnczSrgV7nsCOyAK5ppIla2Ja271UVepo2Mtht40=; b=0vtANM+WMDqsrm+E7Zu47trcDhCAiVFqmjS0j7qex2BZKUe1syOCQRR5NQm+BDExc8 4KTIRBVQRAMFtktM2vzY+9gIun9w4C+3Ky5vyGyJeYr/hLIrFj1EIv3pzGjly/Gjte0s zH8YJEiY7HWFzgteQEZQryzluluDSrAr3zcsQMYYrZE2bYo0LHQtMduIjG8xbzeIx8fh MTnGCtJsHnw2gpA/CTKfR5xg4e0Dteiuenc+m1rAgiAsqsQ1Tyx+tNw+xyoEXWxDVEOo hRMoxMXEONTw8Cp5LRBqC6Mpe4bCt/xyCGZ9O7zwyqudC42hjAs0oStn/LmPoeztI5rc PrPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=LMed7+3W; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id a13-20020a170902eccd00b00158345ca485si1221861plh.578.2022.04.27.03.06.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 03:06:01 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=LMed7+3W; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 731D72F70F2; Wed, 27 Apr 2022 02:30:58 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350003AbiDZSTS (ORCPT + 99 others); Tue, 26 Apr 2022 14:19:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350927AbiDZSTR (ORCPT ); Tue, 26 Apr 2022 14:19:17 -0400 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 683C68CDA6 for ; Tue, 26 Apr 2022 11:16:08 -0700 (PDT) Received: by mail-yb1-xb2a.google.com with SMTP id j2so34539485ybu.0 for ; Tue, 26 Apr 2022 11:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NHalnczSrgV7nsCOyAK5ppIla2Ja271UVepo2Mtht40=; b=LMed7+3WdnbUqx53fGaZH7cklJ8mcbKUzxQ4vWrUD0JhVhD1z/0yPBo188RqR3Mqfy dRyraF6qUYiCKCr1DnJcAJXCyDB6E9df6SrzG41rsWsnrr3r8wwaIVWMq/5cYclFqhEK GiiXXU0PxM7lNxYyCZ6shfw3CGtEdBWheNRhRxkcQjtnpkvT2BenoTRFPM116SKAYtjW 0s/aBVHnq+CV5f7KQ8F/lmtQB4kveuTKNTJN6xFggsEIutTZQYd3nboIlT8g83JmccaH SNvK/Hki8bM33pIsSbfYVi7/06kDHS/6O19532LA9rRIhEHWeOr/xL6R+z0/e0Od6olT fIVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NHalnczSrgV7nsCOyAK5ppIla2Ja271UVepo2Mtht40=; b=gh+zgOeeo15fyED6RZBQZW/DRzwLcGoMOcjOVFmCnMTK2iXqOmvt2M4UlItddEkoiW RXIM7/gKhe9CyXa5sPQfD4AbaZuDgY60JyAJh8cJAzGobt44+5xXKcnrsMNf1SrGrdv7 iJC0n8cwVoSOSkryzDClX7KBljHafwr4YEGP1WF/MJeMYsOrBhUW12Xxa72FZZgsq9/x oIEKRGcVyt+tNBx4ULt5shM3yaSqx+CoTeTwRahMnPu5z6eco6v9TkHG7CcxPg2PdNu8 TQR4BCJdeG/ZcBjHv7Rfd/suEPI7qaoZ1bQb2bBasG1P70CNWrHRibJT4tpnKm92/Uac bMRw== X-Gm-Message-State: AOAM533OasSVUmSRC7DPqkNEIm8mqHjtGnsDu918r2bADPjD/8yykvGZ xR+o1mszKEfoWAweamuoZFS62bmhrLlk+gNL83vnPw== X-Received: by 2002:a25:b3c7:0:b0:623:e9fe:e108 with SMTP id x7-20020a25b3c7000000b00623e9fee108mr21492504ybf.335.1650996967408; Tue, 26 Apr 2022 11:16:07 -0700 (PDT) MIME-Version: 1.0 References: <20220422201830.288018-1-pcc@google.com> <202204251346.WbwgrNZw-lkp@intel.com> <147b11c3-dbce-ccd3-3b0c-c5971135f949@suse.cz> In-Reply-To: <147b11c3-dbce-ccd3-3b0c-c5971135f949@suse.cz> From: Peter Collingbourne Date: Tue, 26 Apr 2022 11:15:56 -0700 Message-ID: Subject: Re: [PATCH v3] mm: make minimum slab alignment a runtime property To: Vlastimil Babka Cc: kernel test robot , Andrey Konovalov , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Andrew Morton , Catalin Marinas , llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Linux ARM , Linux Kernel Mailing List , Pekka Enberg , roman.gushchin@linux.dev, Joonsoo Kim , David Rientjes , Herbert Xu , Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , kasan-dev , Eric Biederman , Kees Cook Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,USER_IN_DEF_DKIM_WL autolearn=no 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 Tue, Apr 26, 2022 at 8:12 AM Vlastimil Babka wrote: > > On 4/25/22 07:12, kernel test robot wrote: > > Hi Peter, > > > > Thank you for the patch! Yet something to improve: > > > > [auto build test ERROR on hnaz-mm/master] > > > > url: https://github.com/intel-lab-lkp/linux/commits/Peter-Collingbourne/mm-make-minimum-slab-alignment-a-runtime-property/20220423-042024 > > base: https://github.com/hnaz/linux-mm master > > config: arm64-buildonly-randconfig-r002-20220425 (https://download.01.org/0day-ci/archive/20220425/202204251346.WbwgrNZw-lkp@intel.com/config) > > compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 1cddcfdc3c683b393df1a5c9063252eb60e52818) > > reproduce (this is a W=1 build): > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # install arm64 cross compiling tool for clang build > > # apt-get install binutils-aarch64-linux-gnu > > # https://github.com/intel-lab-lkp/linux/commit/3aef97055dd4a480e05dff758164f153aaddbb49 > > git remote add linux-review https://github.com/intel-lab-lkp/linux > > git fetch --no-tags linux-review Peter-Collingbourne/mm-make-minimum-slab-alignment-a-runtime-property/20220423-042024 > > git checkout 3aef97055dd4a480e05dff758164f153aaddbb49 > > # save the config file > > mkdir build_dir && cp config build_dir/.config > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 prepare > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All errors (new ones prefixed by >>): > > > > In file included from kernel/bounds.c:10: > > In file included from include/linux/page-flags.h:10: > > In file included from include/linux/bug.h:5: > > In file included from arch/arm64/include/asm/bug.h:26: > > In file included from include/asm-generic/bug.h:22: > > In file included from include/linux/printk.h:9: > > In file included from include/linux/cache.h:6: > > In file included from arch/arm64/include/asm/cache.h:56: > > In file included from include/linux/kasan-enabled.h:5: > > In file included from include/linux/static_key.h:1: > > Hmm looks like a circular include, cache.h is too "low-level" in the > hierarchy to bring in kasan->static_key->jump_label.h definitions? > jump_label.h does include bug.h, but we have it above already and have > already passed #define _LINUX_BUG_H. > > So, a different kind of header with arm64-specific variant? The fix that I'm pursuing starts with: diff --git a/include/linux/printk.h b/include/linux/printk.h index 1522df223c0f..8e8d74edf121 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h @@ -6,7 +6,6 @@ #include #include #include -#include #include #include and fixing the fallout from code that was including printk.h and depending on something from cache.h. So far I haven't found much, only 3 fixups required for an arm64 defconfig kernel but I'm trying some more configs as well. Peter