Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp624674pxt; Thu, 5 Aug 2021 07:51:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxS0214OuGOdzbLQ9/3EtCMBbaLAbC4SqygY1PMvMoPXLsBG1qcPgXvJU0pFSRIGVXjfRPQ X-Received: by 2002:a50:ef0d:: with SMTP id m13mr7114747eds.98.1628175093301; Thu, 05 Aug 2021 07:51:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628175093; cv=none; d=google.com; s=arc-20160816; b=EQp3+UeUZkJ8//zIjcY9DelJeOuSAvBtb4/7T1nJmDM5QRreAWTuWS8XS5x6wStkh9 Pk0J2UsYLrhLxTx/ecBoxPoQGzHSGNPyJLUmNqu0XPgo+WXaUZnWGSf/7Ckp2F4J9hfx fb4PJj0sFvEzEOejq2qXIRJQVaxh+wHy8WtZlQNFqRNUxTPqdIcP5vujNr5AxGW/JkQD 7FIHzSlcD3mhDUJPvBAuYDSpPC6n/3mbGNTHai3XGHFgCgX1clBITQsiObtmsArxC9K3 emVXlkPfxUIEfvwfsgcWJSVZ+MTK8Kut/H84K0cd8uQ5tf70RSQKEx4Sinbn7tc+IFeu McgA== 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; bh=Mbvf4MBZDR3GeX/ss735ZA5JM9K725BFniVEX4EYaLY=; b=SztdBDUhbAo4Ka3cn8Nm7EudY2V5sunltFADE55DaKMAE636WIUfz1+++EOP+zpjje EB6YT2Apmsg74SG301jsSw94V/cI8NHeJn+lRD6Es3f6DvORnEgwYQEEP/fU6xdaNfwt S58lA462lHbRw1feqSOCD6GpOi33vyDDrcPS/fB/n1syt3oHBRSm1SVk2VXY/6fQb9WD SdwAsmCCKlLECWDSRNOXaGUKkCK2rvHq7LtkjH4F2uFZIR4e+HQa2Dhn/Gbx5PG0C6dh Vc6KMX9I2va6sbPmwLYYT10+tdfNbc2E7bm9EATp4ty7FB5jtPohYxWMUyKh56TtnKGP axNg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h15si5820866ejl.718.2021.08.05.07.51.09; Thu, 05 Aug 2021 07:51:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241926AbhHEOLb (ORCPT + 99 others); Thu, 5 Aug 2021 10:11:31 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:53633 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241767AbhHEOLY (ORCPT ); Thu, 5 Aug 2021 10:11:24 -0400 Received: from mail-wr1-f50.google.com ([209.85.221.50]) by mrelayeu.kundenserver.de (mreue106 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MvaO8-1n2mGv19JG-00sdeU; Thu, 05 Aug 2021 16:02:39 +0200 Received: by mail-wr1-f50.google.com with SMTP id n12so6726844wrr.2; Thu, 05 Aug 2021 07:02:39 -0700 (PDT) X-Gm-Message-State: AOAM532EFEW8QRavdIayHs5iFht0Ud02FL+B2YTu5izqZFhr6JAvdq2z niLS9lPa+YzKGDTMTY6DUEw6ZtSsIR1FecvKApQ= X-Received: by 2002:adf:f446:: with SMTP id f6mr5663745wrp.361.1628172158975; Thu, 05 Aug 2021 07:02:38 -0700 (PDT) MIME-Version: 1.0 References: <20210805133213.700-1-lukas.bulwahn@gmail.com> In-Reply-To: <20210805133213.700-1-lukas.bulwahn@gmail.com> From: Arnd Bergmann Date: Thu, 5 Aug 2021 16:02:22 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] rbtree: remove unneeded explicit alignment in struct rb_node To: Lukas Bulwahn Cc: Michel Lespinasse , Davidlohr Bueso , Andrew Morton , Mete Polat , Jesper Nilsson , Arnd Bergmann , David Woodhouse , Ingo Molnar , Peter Zijlstra , Randy Dunlap , kernel-janitors@vger.kernel.org, Linux Kernel Mailing List , Geert Uytterhoeven Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:7XNpPq5iYsHfDhqRQDzw2R1dBZxBT+c/X9okG2p8NNHxdAMg8vo GwdMHBo5KUeykq/QODG1hzrZIn44/r7Sr9liqRpP6NE2yq+xPoV5OIp3uI1UVnGePzc69Qr z0huAlc1HHm0zTNKmqv43SXpm/rdR/9NC8ligtIjfSyqoJSbvnpmJFNeC9Gb1zZw9HgreMD cVm1tS9IARBJKKOkUHiKQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:hFdSdPkGpOc=:MOYjvq2WcPq0Hu0VBhZCRC GcJOFqDGPVo3TcljuB4FzFtjqtTQ4V3+sRX4Tj9A2V2mzw1p7J5e/K8tGtV3G/56e6ua/2u5S D2QM/eEtc08cJvygTEZeYK6tGrYTvwENuaF4tkdxG73/pNysKIjze3O5PXik3PB00drPuJ0K+ o+r8r6vz2JrgWkWJN74/XP8u/m9IU144ZRCp8fgzp5yBPxTpWU3IMqGpsuVSOka0QfKkuB2ci /k+uwXq01WIBe+BZP6EZZpQy2uW3OLpiuo5ve9QpDatV5T8EtUh4JXQlky2+CrqugrpcCBqPr gX+gVHGz8MesxTTOmByxwT0uR2AgfP7w//EFQusOUAjpPFA5sAKT/oYtLVWQKFi8bNNjRMoej hOVat2vo0Yt7qBQVp3J+lFgpH23TL/BoGmX9cmJZuRiZE4KOeALDwfCBAtAD0uoBZxfgcXejM JeNJPivLFUTlGAF3dPSvXWMn92AX0D+cj4a8jvvU7w16AdrNDoEqzsNTccLWPXsKQq6m/ojYa D6mZ2nfZyGddBOKxv30xVsWxrE7wl3kfUK18DqBuOvmL60gDRVTjGU3Kf6C4rX5IQuNF+63ft eeF3Y6yDWzJ/G74aMLyJcvvYJktFKvk2/fq4Kk83dYifGtUZhoaQEkZ1cDTMcz/vZqghGhEti 7mPbMCjmjX+QXRXa/6uFmarXFs0jlpfqfGMSgOOoWOIg0XPkIFG6etOv+R+vKD2BsbR4DvdlU sM9EI2ikiumOq2auQzzgQtd8QF1FRP8GKaq0/AkbKDuYa9grfJZ9Kq+bx2uN09b2ixuzxGguZ aDSsCahx8ZC/LmXEOglPBfNSiRRLdSOayPBTJobkQCZclfuk+31R8v7lPTrYvXzW/lhgF9Q Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 5, 2021 at 3:32 PM Lukas Bulwahn wrote: > > Commit e977145aeaad ("[RBTREE] Add explicit alignment to sizeof(long) for > struct rb_node.") adds an explicit alignment to the struct rb_node due to > some speciality of the CRIS architecture. > > The support for the CRIS architecture was removed with commit c690eddc2f3b > ("CRIS: Drop support for the CRIS port") > > So, remove this now unneeded explicit alignment in struct rb_node as well. > > This basically reverts commit e977145aeaad ("[RBTREE] Add explicit > alignment to sizeof(long) for struct rb_node."). > > Reported-by: Randy Dunlap > Reported-by: Mete Polat > Signed-off-by: Lukas Bulwahn > --- > applies cleanly on next-20210804, but only x86 compile-checked. > > Michel, Davidlohr, Jesper, David, please ack. > > Mete, you might want to re-run your RBT test suite for this change. > > Andrew, once acked, please pick this minor cleanup into your tree. Do you know why it needed the extra alignment on cris at the time? The revert would appear to change the alignment to 16 bits instead of 32 bits on m68k as well (not 8 bits as on cris), but I don't know if that can cause problems there. Arnd