Re: [PATCH v3 3/8] sched/topology: Switch to assigning "sd->shared" from s_data
From: K Prateek Nayak
Date: Sun Feb 15 2026 - 22:50:56 EST
Hello Chenyu,
On 2/14/2026 8:34 AM, Chen, Yu C wrote:
>> + sd = *per_cpu_ptr(d.sd, i);
>
> might be
> if (!sd)
> continue;
> otherwise sd->flags below might cause NULL pointer exception.
Ack! I'll add in that check in the next version. Thank you for catching
that.
--
Thanks and Regards,
Prateek