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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0869C433FE for ; Fri, 30 Sep 2022 16:22:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232062AbiI3QWA (ORCPT ); Fri, 30 Sep 2022 12:22:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232058AbiI3QV4 (ORCPT ); Fri, 30 Sep 2022 12:21:56 -0400 Received: from mail-oa1-x2b.google.com (mail-oa1-x2b.google.com [IPv6:2001:4860:4864:20::2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62E5A1280DB for ; Fri, 30 Sep 2022 09:21:55 -0700 (PDT) Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-131dda37dddso5036889fac.0 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=MN1HEE2Un2clBQyUlX5UnolMYfdzENoPTCFsEiuyJQyyGYc2VXVXmJANVLfmKdWrIW Ex2qETZpvha7znY8/gVOWwgQB6v+tfZcbId/44FiIng6FL1m8g31SeNCSkAa0Zz9W5bb A0uRcKn3BvTzJoDAVKk8d/JuzLSIiRYFB5IgGmGIjdCGeSwYVpKqMVxTIRL2Bhk/OmYK mlfNFjGTIPUoXoi7/RSflnzdTNfX2Kwwxan0b1fwWDc4Nim30auxai1DaguxPUGdg/BX dxUWagqD/lx5EsQ6wzjzjIriAgObAyX7IfIjs1AfK3A+5V/AU2euUWdW5Rm3ulCX4810 zzHQ== X-Gm-Message-State: ACrzQf2I0Lp2YXg0gAj1poF/ks/KLt6/Vvd5ZV/DzlLycFi2pij6gRiv JHf7AuGJi6N6qCHkHmbib1eJeQ== 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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