Re: [PATCH] xen/spinlock: use correct pointer

2024-04-29 Thread Jan Beulich
On 26.04.2024 16:33, Stewart Hildebrand wrote: > On 4/26/24 02:31, Jan Beulich wrote: >> On 25.04.2024 22:45, Stewart Hildebrand wrote: >>> The ->profile member is at different offsets in struct rspinlock and >>> struct spinlock. When initializing the profiling bits of an rspinlock, >>> an

Re: [PATCH] xen/spinlock: use correct pointer

2024-04-26 Thread Stewart Hildebrand
On 4/26/24 02:31, Jan Beulich wrote: > On 25.04.2024 22:45, Stewart Hildebrand wrote: >> The ->profile member is at different offsets in struct rspinlock and >> struct spinlock. When initializing the profiling bits of an rspinlock, >> an unrelated member in struct rspinlock was being overwritten,

Re: [PATCH] xen/spinlock: use correct pointer

2024-04-26 Thread Jan Beulich
On 25.04.2024 22:45, Stewart Hildebrand wrote: > The ->profile member is at different offsets in struct rspinlock and > struct spinlock. When initializing the profiling bits of an rspinlock, > an unrelated member in struct rspinlock was being overwritten, leading > to mild havoc. Use the correct

[PATCH] xen/spinlock: use correct pointer

2024-04-25 Thread Stewart Hildebrand
The ->profile member is at different offsets in struct rspinlock and struct spinlock. When initializing the profiling bits of an rspinlock, an unrelated member in struct rspinlock was being overwritten, leading to mild havoc. Use the correct pointer. Fixes: b053075d1a7b ("xen/spinlock: make