Thread (16 messages) 16 messages, 7 authors, 2026-03-18

Re: [PATCH] device property: Make modifications of fwnode "flags" thread safe

From: "Danilo Krummrich" <dakr@kernel.org>
Date: 2026-03-17 10:02:42
Also in: driver-core, imx, linux-acpi, linux-arm-kernel, linux-devicetree, linux-i2c, linux-spi, lkml, stable

On Tue Mar 17, 2026 at 9:42 AM CET, Wolfram Sang wrote:
quoted
quoted
What's the alignment for the u8 member in your SoC? 4 bytes or 8 bytes?
(I assume it's 64-bit SoC.)
FWIW, with the given change it will be still inside 64-byte data structure
which most likely occupies a single cache line (before this patch and after
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help