Re: [PATCH bpf-next v3 1/2] bpf: Require a BPF cpumask for bpf_cpumask_populate()
"Emil Tsalapatis" <[email protected]>
| Newsgroups | dev.linux.lists.sched-ext,dev.linux.lists.sashiko-reviews,org.kernel.vger.bpf |
|---|---|
| Message-ID | <[email protected]> |
On Fri Jul 10, 2026 at 4:34 PM EDT, Kumar Kartikeya Dwivedi wrote: > On Fri, 10 Jul 2026 at 22:17, Admin <[email protected]> wrote: >> >> On Fri, Jul 10, 2026 at 3:18 PM Kumar Kartikeya Dwivedi >> <[email protected]> wrote: >> > Once this lands, please send a follow up to address this. >> >> Thanks. Patch 2/2 covers this, which updates the cpumask_common.h >> declaration to take struct bpf_cpumask *, drops >> the struct cpumask * casts from the existing populate tests, and adds >> the borrowed-destination rejection test. > > Ah, my bad, makes sense. Let's just wait for others to ack it then. Patchset looks good to me, and is consistent with the "mutation requires passing bpf_cpumask, reading requires plain cpumask" throughout the file.