[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZBxHEhPRze3eUCfk@sashalap>
Date: Thu, 23 Mar 2023 08:33:22 -0400
From: Sasha Levin <sashal@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
Ryan Roberts <ryan.roberts@....com>,
Yury Norov <yury.norov@...il.com>, mingo@...hat.com,
peterz@...radead.org, juri.lelli@...hat.com,
vincent.guittot@...aro.org
Subject: Re: [PATCH AUTOSEL 4.19 5/9] sched_getaffinity: don't assume
'cpumask_size()' is fully initialized
On Wed, Mar 22, 2023 at 02:08:54PM -0700, Linus Torvalds wrote:
>On Wed, Mar 22, 2023 at 1:09 PM Sasha Levin <sashal@...nel.org> 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.
Ack, I'll keep it in anyway. Thanks!
--
Thanks,
Sasha
Powered by blists - more mailing lists