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 D0A8BC433FE for ; Fri, 30 Sep 2022 16:21:56 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6052B8D0002; Fri, 30 Sep 2022 12:21:56 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5B4948D0001; Fri, 30 Sep 2022 12:21:56 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 47C2B8D0002; Fri, 30 Sep 2022 12:21:56 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 39AC88D0001 for ; Fri, 30 Sep 2022 12:21:56 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 0FB16C15D1 for ; Fri, 30 Sep 2022 16:21:56 +0000 (UTC) X-FDA: 79969268232.22.6FAAE4A Received: from mail-oa1-f44.google.com (mail-oa1-f44.google.com [209.85.160.44]) by imf19.hostedemail.com (Postfix) with ESMTP id 804431A0015 for ; Fri, 30 Sep 2022 16:21:55 +0000 (UTC) Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-1321a1e94b3so268532fac.1 for ; Fri, 30 Sep 2022 09:21:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date; bh=0X+I+Y5o6UUwvWw7/p0q+ASco2yp37s0dxaq6uIyz/E=; b=VKoPaed7AhBlERynQ833bHq9eI6VqKPfLoBm/6bICdrHrzU21m6sHlAbExlGUYZR2N RTQJKLVU/RRDSAfr/h5T25wureIhmSdAA5MkuT75v7AJXHkgoHAoF/Qn3oAeWvtJoluO d4/YJumfBLNI9QUkLgSh0l+Pznn/xJwaELAj+n13Wz6aXpJSI2xVlkN85J0FkOemVwgW 0ablzK59b+8x9XKzA+lQmPKvZYFqzaa24Q6KIXnB47v1Cj4ZQz4zsoiNFquE3vUF6hgw ObUP+PMlK9zK5aKVzp5zxXBX+fMMVeavsfq//BeRt2vremyu7KekDQppqZna+UIbVhBq ELsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date; bh=0X+I+Y5o6UUwvWw7/p0q+ASco2yp37s0dxaq6uIyz/E=; b=s9N77Ru/CpugV7lRogeRuDqagciQU2Wn3NWoKKAXhZJ45NiB+khqTZmEhDRsnOZoJs aFeVE0VZHTsANSfHJ3X2VMxhRB1KZlOsO9qppOMHY68gZEsrqbuFC7Hd8qmQVq7Zr86p HURdZeFQ953VYPBdeBL/9Kqtz9z/LMUilRTp4JBDQX11mCd/9WYoc21xNPxRY98gkauq WRH7QuqjRa3YY1B6lMXaZsrwhQdBpkcvYbkOTIldCZCn+xc/bBTXlZarkhnTAkANo/V9 b2qRQcLi3ZgjiMXForbR9oAGUXLhazohfxhxrBVloQ2eRzyZAn43R1bBTfxLZm/lGGfO St/A== X-Gm-Message-State: ACrzQf3z/9dUSxRV7shfWSZP/gFKM+8Zc7eGLRlb3qBaEr+od6I4TNWF iUObIXsIw9ifD6ULpq9nPpjC0Q== X-Google-Smtp-Source: AMsMyM6nAVfkUsD3WRtMibcWeXLohDOrWEiEMtGwwRrsywi/KrsvsLg2qOU3qZNO06KdRZkQYdfoQA== X-Received: by 2002:a05:6870:6390:b0:132:4b5:2e6f with SMTP id t16-20020a056870639000b0013204b52e6fmr1403555oap.110.1664554914584; Fri, 30 Sep 2022 09:21:54 -0700 (PDT) Received: from ripple.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id bd18-20020a056870d79200b0011f400edb17sm839681oab.4.2022.09.30.09.21.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Sep 2022 09:21:54 -0700 (PDT) Date: Fri, 30 Sep 2022 09:21:44 -0700 (PDT) From: Hugh Dickins X-X-Sender: hugh@ripple.attlocal.net To: David Laight cc: Hugh Dickins , Vlastimil Babka , Joel Fernandes , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Matthew Wilcox , Andrew Morton , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" Subject: RE: amusing SLUB compaction bug when CC_OPTIMIZE_FOR_SIZE In-Reply-To: Message-ID: <06329f-e498-ccc-6223-32f87716436d@google.com> References: <35502bdd-1a78-dea1-6ac3-6ff1bcc073fa@suse.cz> <16fe443a-dabe-aa46-6bc7-dad03f29e0dc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1664554915; a=rsa-sha256; cv=none; b=5FFTXj5bTpsP4awLvCn//yU2RrCfNBN1WyoRWAHyaBIhBg2cVNCRiuTGPdVtclcPZzxpDF OoBZyo/7utWqB0Ykxmaa54H1muT2ouyjFieg8eKNlp5be2h9UbZIyXjbAH8IOvsrolfAOl DEtgZsWU0VTJrszfgFGnfnsntxk5XBE= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=VKoPaed7; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf19.hostedemail.com: domain of hughd@google.com designates 209.85.160.44 as permitted sender) smtp.mailfrom=hughd@google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1664554915; 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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=0X+I+Y5o6UUwvWw7/p0q+ASco2yp37s0dxaq6uIyz/E=; b=Rfl5oZEuFMPmYQfHqqFngtHCWjb9HtidukbnRL2Qf3vcMbEsdyAjg7bWYm9UrsjtyZR9Ku +oQUrh0N8FHBzwtPGNdvMFM7cfQafuwhkcVPmyB1qAbAmBy111DWxW4gb1qv+qfkBQIoGF 1r5AQjaWlEehci1Xhu/pqzbh/5BfVY4= X-Stat-Signature: msu31whsqyp5kcrgx9tgfp8iuteqp1mr X-Rspamd-Queue-Id: 804431A0015 Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=VKoPaed7; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf19.hostedemail.com: domain of hughd@google.com designates 209.85.160.44 as permitted sender) smtp.mailfrom=hughd@google.com X-Rspamd-Server: rspam02 X-Rspam-User: X-HE-Tag: 1664554915-78711 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 Fri, 30 Sep 2022, David Laight wrote: > > > > Regarding "conflicting" alignment requests: yes, I agree with you, > > > > it would have to be a toolchain bug if when asked to align 2 and to > > > > align 4, it chose not to align 4. > > See https://godbolt.org/z/3nGsTaf5e > the align() directive takes precedence. > > Here you only want to ensure the alignment is at least 4. Sorry, I don't understand the point you are making, nor how to deduce it from the link which you give: I'll leave it to those who understand better. Hugh