In practice, we found that if some task_struct->new_field is to be used by dequeue_task_* function, this task_struct->new_field should not be allocated in mempool, such as task_struct->new_field_ptr->real_new_field . Otherwise Plugsched fails to track its life cycle.
In practice, we found that if some
task_struct->new_field
is to be used bydequeue_task_*
function, thistask_struct->new_field
should not be allocated in mempool, such astask_struct->new_field_ptr->real_new_field
. Otherwise Plugsched fails to track its life cycle.