mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-12 06:24:56 +00:00
MINOR: tasks: Don't consider we can wake task with tasklet_wakeup().
In tasklet_wakeup(), don't bother checking if the tasklet is really a task, calling tasklet_wakeup() with a task is invalid.
This commit is contained in:
parent
de82aeaa26
commit
5c964f7b42
@ -238,10 +238,6 @@ static inline struct task *task_unlink_rq(struct task *t)
|
||||
|
||||
static inline void tasklet_wakeup(struct tasklet *tl)
|
||||
{
|
||||
if (!TASK_IS_TASKLET(tl)) {
|
||||
task_insert_into_tasklet_list((struct task *)tl);
|
||||
return;
|
||||
}
|
||||
if (!LIST_ISEMPTY(&tl->list))
|
||||
return;
|
||||
LIST_ADDQ(&task_per_thread[tid].task_list, &tl->list);
|
||||
|
Loading…
Reference in New Issue
Block a user