From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C13EBC32771 for ; Wed, 28 Sep 2022 19:53:07 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 240896B0072; Wed, 28 Sep 2022 15:53:07 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1F0B66B0073; Wed, 28 Sep 2022 15:53:07 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0B83F6B0074; Wed, 28 Sep 2022 15:53:07 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id F15716B0072 for ; Wed, 28 Sep 2022 15:53:06 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id A0874140303 for ; Wed, 28 Sep 2022 19:53:06 +0000 (UTC) X-FDA: 79962542772.15.3A99A40 Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) by imf06.hostedemail.com (Postfix) with ESMTP id 0D3D8180010 for ; Wed, 28 Sep 2022 19:53:05 +0000 (UTC) Received: by mail-qv1-f53.google.com with SMTP id m18so3079702qvo.12 for ; Wed, 28 Sep 2022 12:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date; bh=XxBHVAN3/H6/8AwoH9JLtdYyyS4rrJJTr4ILYLxKwqw=; b=h5SBAA3xFe3qSgnADPV+zSL46+Ioa4kVE7DVApCf0zIzWBQ9d/Pu1byQqxVHmFGd+e Kw7MwRf2RIo2eXC8dIAgdeAbBRu5jbyThHW5tHdOovlmg1kF/lBdtdH/Jl20g50nk0Rm oDdz0LXhpl9hgDqoqYqWyoch4e2WP4V6XEo04= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date; bh=XxBHVAN3/H6/8AwoH9JLtdYyyS4rrJJTr4ILYLxKwqw=; b=G86IOoIoTvnzZnE/EUzQN3AUH/OemRkiHZlzB+xNLUvzu2LYTsA4YIWq044c6F4eyV xIofeiLK9cfo7b3x2is879QsCyUT0+MJwdyepxGf0O/Iyoto8GNY8xmvi5ecQULQL/jj IhdC7Ukq4eNojCZbYTuie26A4akazNYH1/gZxtcMiTbUDgUda7mFcnaDRU6ve8SeOXzA n3x9qz+CJd9y2uqE58odJQUWMCk1Ii+gl9QPR2/Vl4vdB4yF44Sl169K+5IjAgqpwAuM meW536MLV/53sDarm/wky6uyiycx4FHxj6RVQzSi3FB7KjbIozMOpukJR+trV2AFGthw h2MQ== X-Gm-Message-State: ACrzQf2LiH7YuBMwIsSUdyFhUQ1tu4o/Q1XvMG1fAFq9WvwOe8LRaljB shgxskI1rbNMS3J6P3QhNAuCKQ== X-Google-Smtp-Source: AMsMyM5uUNefEbJyEombU5Pne5eh7gkeq3jt2zLQr7KmkPBO/aRdlwgIVriquyx1cLrEfTZDbw++2g== X-Received: by 2002:a05:6214:f26:b0:4ac:7bf9:21d4 with SMTP id iw6-20020a0562140f2600b004ac7bf921d4mr28024259qvb.98.1664394785321; Wed, 28 Sep 2022 12:53:05 -0700 (PDT) Received: from smtpclient.apple (c-73-148-104-166.hsd1.va.comcast.net. [73.148.104.166]) by smtp.gmail.com with ESMTPSA id p14-20020a05620a22ae00b006ce60296f97sm3555778qkh.68.2022.09.28.12.53.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Sep 2022 12:53:04 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Joel Fernandes Mime-Version: 1.0 (1.0) Subject: Re: amusing SLUB compaction bug when CC_OPTIMIZE_FOR_SIZE Date: Wed, 28 Sep 2022 15:53:04 -0400 Message-Id: <66C933BF-D5AC-490F-81DC-601BE1DEEE60@joelfernandes.org> References: Cc: Hugh Dickins , Matthew Wilcox , Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org In-Reply-To: To: Hyeonggon Yoo <42.hyeyoo@gmail.com>, Vlastimil Babka X-Mailer: iPhone Mail (19G82) ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=joelfernandes.org header.s=google header.b=h5SBAA3x; spf=pass (imf06.hostedemail.com: domain of joel@joelfernandes.org designates 209.85.219.53 as permitted sender) smtp.mailfrom=joel@joelfernandes.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1664394786; a=rsa-sha256; cv=none; b=IMCDb8MxvviPqnHxFzz9lgltSuTOQORpdG3gyGaLc+C1YCEISHxCBYh+MbULmOAyy+Kn6y QTet9edZvh0cOGeTzu4hWuj9BncRRyAZjSy0+k/Do9J2c1ENfKec3KgtxxLt7qK65EbsOq nJR4aS7nxJZlJ0nyycwMjEh4h/gnxeA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1664394786; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=XxBHVAN3/H6/8AwoH9JLtdYyyS4rrJJTr4ILYLxKwqw=; b=6FZkwXBswLQzw4firn6LW80La3UaP/603LQWGF07CCmHF/CxP15g32QKcMi/PX5B+vp9/7 lkFunVLeZ8CmtS+Ay3Gjb+tFgFbwPgnTTfUunGbPGEbdfggzSqZQrSMh5aHA486TC8sTby 9BetnSFiAX7BPPrEP0uvdpjwQaj8HK4= X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 0D3D8180010 X-Rspam-User: Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=joelfernandes.org header.s=google header.b=h5SBAA3x; spf=pass (imf06.hostedemail.com: domain of joel@joelfernandes.org designates 209.85.219.53 as permitted sender) smtp.mailfrom=joel@joelfernandes.org; dmarc=none X-Stat-Signature: fac194yp6ug8s7jr4fwb33rnm1k7ho7i X-HE-Tag: 1664394785-980314 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > On Sep 28, 2022, at 1:56 PM, Hyeonggon Yoo <42.hyeyoo@gmail.com> wrote: >=20 > =EF=BB=BFOn Wed, Sep 28, 2022 at 06:20:10PM +0200, Vlastimil Babka wrote: [..] >>>> Thank you for report! >>>>=20 >>>> That should be due to commit 65505d1f2338e7 >>>> ("mm/sl[au]b: rearrange struct slab fields to allow larger rcu_head") >>>> as now rcu_head can use some bits that shares with mapping. >>>>=20 >>>> Hmm IMO we have two choices... >>>>=20 >>>> 1. simply drop the commit as it's only for debugging (RCU folks may not= like [1]) >>>=20 >>> Yeah definitely don't like this option as patches are out that depend on= >>> this (not yet merged though). :-) >>=20 >> But we'll have to do that for now and postpone to 6.2 I'm afraid as merge= >> window for 6.1 is too close to have confidence in any solution that we ca= me >> up this moment. I am ok with your postponing till then, gives me time to get other patches i= n, in the mean while :-) Thanks again for your work on this, - Joel