Re: [PATCH v5 0/4] Align atomic storage

Andrew Morton <[email protected]>
Newsgroups gmane.linux.kernel.cross-arch,gmane.linux.kernel.bpf,gmane.linux.kernel,gmane.linux.ports.sh.devel
Message-ID <[email protected]>
On Tue, 16 Dec 2025 17:31:05 +1100 Finn Thain <[email protected]> wrote:

> This series adds the __aligned attribute to atomic_t and atomic64_t
> definitions in include/linux and include/asm-generic (respectively)
> to get natural alignment of both types on csky, m68k, microblaze,
> nios2, openrisc and sh.
> 
> This series also adds Kconfig options to enable a new run-time warning
> to help reveal misaligned atomic accesses on platforms which don't
> trap that.
> 
> The performance impact is expected to vary across platforms and workloads.
> The measurements I made on m68k show that some workloads run faster and
> others slower.

Looks nice, thanks.

I don't know which tree this is aimed at.  I grabbed a copy for
mm.git's mm-nonmm-unstable tree, can drop it again if this pops up in
linux-next via another route.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.