aliyun / plugsched

Live upgrade Linux kernel scheduler subsystem
BSD 3-Clause "New" or "Revised" License
82 stars 23 forks source link

Document on mempool usage regarding to dequeue_task_ #202

Open ampresent opened 1 year ago

ampresent commented 1 year ago

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.