Re: [PATCH v2 1/4] sched/task: Add the put_task_struct_atomic_safe function
From: Daniel Bristot de Oliveira
Date: Fri Feb 17 2023 - 12:36:20 EST
On 1/30/23 08:49, Wander Lairson Costa wrote:
>> Another thing, if you look at release_task_stack(), it either caches the
>> outgoing stack for later use, or frees it via RCU (regardless of
>> PREEMPT_RT). Perhaps we could follow that and just always punt the freeing
>> of the task struct to RCU?
>>
> That's a point. Do you mean doing that even for !PREEMPT_RT?
>
It seems that Luca Abeni (in Cc) is hitting the bug in the non-rt kernel
with SCHED_DEADLINE...
adding him to the thread.
-- Daniel