On 2025/8/24 13:57, Finn Thain wrote:
On Sun, 24 Aug 2025, Lance Yang wrote:
The blocker tracking mechanism operates on pointers to higher-level locks (like struct mutex), as that is what is stored in the task_struct->blocker field. It does not operate on the lower-level arch_spinlock_t inside it.
Perhaps you are aware that the minimum alignment of the struct is at least the minimum alignment of the first member. I believe that the reason why
Yes, that's how it should work in theory.
the lock is always the first member is that misaligned accesses would harm performance.
I really don't know why you want to argue about fixing this.
Okay, arguing further isn't productive. Looking forward to seeing your patch ;)
Thanks, Lance