On Wed, Mar 22, 2023 at 1:09 PM Sasha Levin <sashal@xxxxxxxxxx> wrote: > > The getaffinity() system call uses 'cpumask_size()' to decide how big > the CPU mask is - so far so good. It is indeed the allocation size of a > cpumask. [...] Same comment as about commit 8ca09d5fa354 - this is a fine cleanup / fix and might be worth backporting just for that, but it didn't really turn into an actual visible bug until commit 596ff4a09b89. Linus