From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 442E835838B; Tue, 17 Mar 2026 10:02:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773741762; cv=none; b=jCzAFskxAKNxosihU3I3/FgNDWb1M4Egjm1mz5r2XvByxTtafbKNawEQREpItUX91tg1x5ZyC2y0obSVRaO+PyCLDKTaAN1lc7hPwvhwBkQgf3RZ5nz4dM2c36wwF91Iqb+FH8ZSWXIa1dlu296BCHNpGHToHMQgU0WNogf9M+Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773741762; c=relaxed/simple; bh=zOhE3MyoOIAA0bgcSSk1uYsIQSRxBFkKa/QEeH/yO6Y=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:To:From:Subject: References:In-Reply-To; b=YiJ4YCIVG2AZ7kT+KrGi37ikAEv67pMEp6W7gfirU3nxzrrAZJtLF+dplIuaEl/MJ62HVkbaFxZlrJI2Lf0xhyYDcCLPAa0TzxyUdz+4hlBpNkSIoEbvV65GC2lSSLw3qNj1tfCBoBJu5K1RStwN0clVIULujcOL/bK4p3S+nWw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iLK1kV0b; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iLK1kV0b" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA0BCC4CEF7; Tue, 17 Mar 2026 10:02:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773741761; bh=zOhE3MyoOIAA0bgcSSk1uYsIQSRxBFkKa/QEeH/yO6Y=; h=Date:Cc:To:From:Subject:References:In-Reply-To:From; b=iLK1kV0bEUnBKSlVECk17rCfbiRFOK8e9m2VQ9Eam8FJnejzsncMSvQLAFJIvb1Pr Vrqp1T/Wu3PeHwdqqCKwH5HHxvI/GlAmEOIi3tfcPHkHrB8vT93is7PF8gwaUAqxb5 JzSXmNuoes9ApijJJRYovbhvzhwBUi9fykKAQygrEKxHzTjISn8Gl4qVh9MTfnmzrh TNuhmnwPHHmX99KzVtklCPpGYF2T12iw9QXIf1B/lIEfIYXfpjXuCSQXEHjD38avMb Glyz74CIMcdU9eEVsElTX638WBp72ugjDLW4ZSO4Lo+vmLbkcaTgsemgoqv6sedF7Q 8HzUvbG0bQqeA== Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 17 Mar 2026 11:02:34 +0100 Message-Id: Cc: "Andy Shevchenko" , "Douglas Anderson" , "Greg Kroah-Hartman" , "Rafael J . Wysocki" , , "Andrew Lunn" , "Daniel Scally" , "David S. Miller" , "Eric Dumazet" , "Fabio Estevam" , "Frank Li" , "Heikki Krogerus" , "Heiner Kallweit" , "Jakub Kicinski" , "Len Brown" , "Mark Brown" , "Paolo Abeni" , "Pengutronix Kernel Team" , "Rob Herring" , "Russell King" , "Sakari Ailus" , "Saravana Kannan" , "Sascha Hauer" , , , , , , , , , To: "Wolfram Sang" From: "Danilo Krummrich" Subject: Re: [PATCH] device property: Make modifications of fwnode "flags" thread safe References: <20260316154159.1.I0a4d03104ecd5103df3d76f66c8d21b1d15a2e38@changeid> In-Reply-To: On Tue Mar 17, 2026 at 9:42 AM CET, Wolfram Sang wrote: > >> > What's the alignment for the u8 member in your SoC? 4 bytes or 8 bytes= ? >> > (I assume it's 64-bit SoC.) >>=20 >> FWIW, with the given change it will be still inside 64-byte data structu= re >> which most likely occupies a single cache line (before this patch and af= ter >> as well). > > I consider this directon of the discussion irrelevant. If the number is > (maybe? That's to be discussed!) needlessly bigger than 0, then it > doesn't matter how big the number is. > > Why don't you like the idea of taking the lock? Which lock are we talking about, the device lock? If so, please not use it = to protect arbitrary other structures.