From nobody Tue Nov 26 21:31:59 2024 Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) (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 22ECB1F583C for ; Tue, 15 Oct 2024 20:22:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729023739; cv=none; b=jNRF1UH1sqgeW4B5COSJwOurJLhlYxsjP+cMmJtN4HUYpmE1heQzH0coBSfll8qoRq44qR9UKXCxRzSvnvqWR96JG3zI6Q9S59apuTDYSFmvWP3ALzkC7BA/DFyI/8l3A/mMpNPOESlSHPqyCS1BDz+5i7QrG0n4xAX1gItqg18= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729023739; c=relaxed/simple; bh=MruDsXSYs5epqdQoFkPCxcb0C0OECF7EAfkLF0bkjWo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PiqLapVqC3vTcRFSHVEY48C3GXLxBsRArJGF9r06hgQAu+b5LU+2KI5hdn9hqaPzpnGtmQZ0jYP6jtaI061wxMzRFKoM+rTFZGRz5cAZShg6NkT0m17W5HRpMdHzD05WWK8EkJaKcibTHIJTof4hswDSBpwJmTybJQknS9ZzllQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=cEEtw6bH; arc=none smtp.client-ip=95.215.58.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="cEEtw6bH" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1729023734; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=UkOp2VFzKqR5KSM9GrNp9rbVyhtVjE3dDi0NiICiOVU=; b=cEEtw6bHLG1T90jYEJQ9gM40BGGSy+VbmAtf4dFSf/fhP1SFZ6fGv5DoOPJskjvmkXHC2r zFJGQ4zHu/wxzfS7dWTBfYdvCmcODzG76qUG0On0QYfeBslhMeXVphbzRYYKZNtYi/FihS XofFQ1scTcy8NWvepZ0MfvxZRlEYKQI= From: Thorsten Blum To: Jan Kara , Thorsten Blum Cc: Christian Brauner , linux-kernel@vger.kernel.org Subject: [RESEND PATCH] acl: Realign struct posix_acl to save 8 bytes Date: Tue, 15 Oct 2024 22:21:54 +0200 Message-ID: <20241015202158.2376-1-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" Reduce posix_acl's struct size by 8 bytes by realigning its members. Cc: Christian Brauner Reviewed-by: Jan Kara Signed-off-by: Thorsten Blum --- include/linux/posix_acl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/posix_acl.h b/include/linux/posix_acl.h index 0e65b3d634d9..2d6a4badd306 100644 --- a/include/linux/posix_acl.h +++ b/include/linux/posix_acl.h @@ -28,8 +28,8 @@ struct posix_acl_entry { =20 struct posix_acl { refcount_t a_refcount; - struct rcu_head a_rcu; unsigned int a_count; + struct rcu_head a_rcu; struct posix_acl_entry a_entries[]; }; =20 --=20 2.47.0