From patchwork Thu Nov 9 06:20:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Viro X-Patchwork-Id: 13450642 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72741D2EE for ; Thu, 9 Nov 2023 06:20:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linux.org.uk header.i=@linux.org.uk header.b="Pl4QJn/j" Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [IPv6:2a03:a000:7:0:5054:ff:fe1c:15ff]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A435C26A9 for ; Wed, 8 Nov 2023 22:20:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description; bh=RgKgcB8S6q4z3Pp7qf5GZxR2llbqiOZZmoonjHjc9sA=; b=Pl4QJn/jAg2qPqN5o7dgMUkGB/ eT8UWSefsHp799UcKZGDL0tyZEKcthIIlYNTRlxcLdPBeLyRmo86g/tubQhLA3Db4CHVaUBDIEeao 5WbpiYy+9MB30By6Gw4R/yR6obUD4YXOfIyHaIml72YXUTTyrRvJdE0KEKX7O/ilaqTiadZmPRyD1 ADYrItL8+ZTxwUnP4SAJhz9K/fErwYKbeCL8bFU1qr4chVL1vo3BNZ0KMmr7wgrWRz0gp/gQNz4iF XTYvl8hbKt3J8OAHNPg5clCPNhatnnHl7BDEMkUVXidgct6vr6IU3a6MNh4vAf+2BxQ+tsGzK/XAr d02gBa1w==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1r0yPQ-00DLj4-0E; Thu, 09 Nov 2023 06:20:56 +0000 From: Al Viro To: Linus Torvalds Cc: linux-fsdevel@vger.kernel.org, Christian Brauner Subject: [PATCH 01/22] struct dentry: get rid of randomize_layout idiocy Date: Thu, 9 Nov 2023 06:20:35 +0000 Message-Id: <20231109062056.3181775-1-viro@zeniv.linux.org.uk> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231109061932.GA3181489@ZenIV> References: <20231109061932.GA3181489@ZenIV> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Sender: Al Viro This is beyond ridiculous. There is a reason why that thing is cacheline-aligned... Signed-off-by: Al Viro Reviewed-by: Christian Brauner --- include/linux/dcache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 6b351e009f59..8b4ad3c3bba0 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -111,7 +111,7 @@ struct dentry { struct hlist_bl_node d_in_lookup_hash; /* only for in-lookup ones */ struct rcu_head d_rcu; } d_u; -} __randomize_layout; +}; /* * dentry->d_lock spinlock nesting subclasses: