Re: [PATCH 1/1] hung_task: fix warnings by enforcing alignment on lock structures
John Paul Adrian Glaubitz <[email protected]> Sat, 23 Aug 2025 13:06:08 +0200
| Newsgroups | gmane.linux.debian.ports.68k,gmane.linux.ports.m68k |
|---|---|
| Message-ID | <110b6ca9b56e87e6bcfd058a284f25453bc90465.camel@physik.fu-berlin.de> |
On Sat, 2025-08-23 at 15:40 +0800, Lance Yang wrote: > From: Lance Yang <[email protected]> > > The blocker tracking mechanism assumes that lock pointers are at least > 4-byte aligned to use their lower bits for type encoding. > > However, as reported by Geert Uytterhoeven, some architectures like m68k > only guarantee 2-byte alignment of 32-bit values. This breaks the > assumption and causes two related WARN_ON_ONCE checks to trigger. Another case for switching Debian m68k to 32-bit alignment. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913