From: Sasha Levin <sashal@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org,
Ryan Roberts <ryan.roberts@arm.com>,
Yury Norov <yury.norov@gmail.com>,
mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com,
vincent.guittot@linaro.org
Subject: Re: [PATCH AUTOSEL 4.19 5/9] sched_getaffinity: don't assume 'cpumask_size()' is fully initialized
Date: Thu, 23 Mar 2023 08:33:22 -0400 [thread overview]
Message-ID: <ZBxHEhPRze3eUCfk@sashalap> (raw)
In-Reply-To: <CAHk-=whZ8r85GhA=n8=NJCXOnpJ5KNqitV2FK2YnK73+Z7tzUg@mail.gmail.com>
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@kernel.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
next prev parent reply other threads:[~2023-03-23 12:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-22 20:03 [PATCH AUTOSEL 4.19 1/9] md: avoid signed overflow in slot_store() Sasha Levin
2023-03-22 20:03 ` [PATCH AUTOSEL 4.19 2/9] ALSA: asihpi: check pao in control_message() Sasha Levin
2023-03-22 20:03 ` Sasha Levin
2023-03-22 20:03 ` [PATCH AUTOSEL 4.19 3/9] ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set() Sasha Levin
2023-03-22 20:03 ` Sasha Levin
2023-03-22 20:03 ` [PATCH AUTOSEL 4.19 4/9] fbdev: tgafb: Fix potential divide by zero Sasha Levin
2023-03-22 20:03 ` Sasha Levin
2023-03-22 20:03 ` [PATCH AUTOSEL 4.19 5/9] sched_getaffinity: don't assume 'cpumask_size()' is fully initialized Sasha Levin
2023-03-22 21:08 ` Linus Torvalds
2023-03-23 12:33 ` Sasha Levin [this message]
2023-03-22 20:03 ` [PATCH AUTOSEL 4.19 6/9] fbdev: nvidia: Fix potential divide by zero Sasha Levin
2023-03-22 20:03 ` Sasha Levin
2023-03-22 20:03 ` [PATCH AUTOSEL 4.19 7/9] fbdev: intelfb: " Sasha Levin
2023-03-22 20:03 ` Sasha Levin
2023-03-22 20:03 ` [PATCH AUTOSEL 4.19 8/9] fbdev: lxfb: " Sasha Levin
2023-03-22 20:03 ` Sasha Levin
2023-03-22 20:03 ` [PATCH AUTOSEL 4.19 9/9] fbdev: au1200fb: " Sasha Levin
2023-03-22 20:03 ` Sasha Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZBxHEhPRze3eUCfk@sashalap \
--to=sashal@kernel.org \
--cc=juri.lelli@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=ryan.roberts@arm.com \
--cc=stable@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=vincent.guittot@linaro.org \
--cc=yury.norov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.