Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
1665c43fd86fa58ea06907b84a54ecc54d2782dd
/
include
/
proto
/
task.h
77e3b4a
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· 4 years, 8 months ago
27d00c0
MINOR: task: export run_tasks_from_list
by Willy Tarreau
· 4 years, 8 months ago
b30a153
MINOR: task: detect self-wakeups on tl==sched->current instead of TASK_RUNNING
by Willy Tarreau
· 4 years, 9 months ago
bb23883
MINOR: task: permanently flag tasklets waking themselves up
by Willy Tarreau
· 4 years, 9 months ago
a17664d
MEDIUM: tasks: automatically requeue into the bulk queue an already running tasklet
by Willy Tarreau
· 4 years, 9 months ago
a62917b
MEDIUM: tasks: implement 3 different tasklet classes with their own queues
by Willy Tarreau
· 4 years, 9 months ago
3c4f40a
BUG/MEDIUM: tasks: Use the MT macros in tasklet_free().
by Olivier Houchard
· 4 years, 10 months ago
dd0e89a
BUG/MAJOR: task: add a new TASK_SHARED_WQ flag to fix foreing requeuing
by Willy Tarreau
· 5 years ago
c49ba52
MINOR: tasks: split wake_expired_tasks() in two parts to avoid useless wakeups
by Willy Tarreau
· 5 years ago
440d09b
BUG/MINOR: tasks: only requeue a task if it was already in the queue
by Willy Tarreau
· 5 years ago
0742c31
BUG/MEDIUM: tasks: Make sure we switch wait queues in task_set_affinity().
by Olivier Houchard
· 5 years ago
7031e3d
BUG/MEDIUM: tasks: Make tasklet_remove_from_tasklet_list() no matter the tasklet.
by Olivier Houchard
· 5 years ago
8cdc167
BUG/MEDIUM: task: make tasklets either local or shared but not both at once
by Willy Tarreau
· 5 years ago
891b5ef
BUG/MEDIUM: tasklet: properly compute the sleeping threads mask in tasklet_wakeup()
by Willy Tarreau
· 5 years ago
0691046
MEDIUM: task: Split the tasklet list into two lists.
by Olivier Houchard
· 5 years ago
bba1a26
BUG/MEDIUM: tasklets: Make sure we're waking the target thread if it sleeps.
by Olivier Houchard
· 5 years ago
d022e9c
MINOR: task: introduce a thread-local "sched" variable for local scheduler stuff
by Willy Tarreau
· 5 years ago
d66d756
MINOR: task: split the tasklet vs task code in process_runnable_tasks()
by Willy Tarreau
· 5 years ago
ff1e9f3
MEDIUM: tasklets: Make the tasklet list a struct mt_list.
by Olivier Houchard
· 5 years ago
859dc80
MEDIUM: list: Separate "locked" list from regular list.
by Olivier Houchard
· 5 years ago
64e6012
MINOR: task: introduce work lists
by Willy Tarreau
· 5 years ago
bd20a9d
BUG: tasks: fix bug introduced by latest scheduler cleanup
by Willy Tarreau
· 5 years ago
86eded6
CLEANUP: tasks: rename task_remove_from_tasklet_list() to tasklet_remove_*
by Willy Tarreau
· 5 years ago
3cec0f9
BUG/MINOR: task: prevent schedulable tasks from starving under high I/O activity
by Willy Tarreau
· 5 years ago
cfbb3e6
MEDIUM: tasks: Get rid of active_tasks_mask.
by Olivier Houchard
· 5 years ago
ef28dc1
MINOR: task: turn the WQ lock to an RW_LOCK
by Willy Tarreau
· 5 years ago
29bf96d
MINOR: task: always reset curr_task when freeing a task or tasklet
by Willy Tarreau
· 5 years ago
aa1e1be
MINOR: task: export global_task_mask
by Willy Tarreau
· 5 years ago
f656279
CLEANUP: task: remove unneeded tests before task_destroy()
by Willy Tarreau
· 6 years ago
75bc6d3
BUG/MEDIUM: tasks: fix possible segfault on task_destroy()
by Dragan Dosen
· 6 years ago
9634e86
CLEANUP: task: move the task_per_thread definition to task.h
by Willy Tarreau
· 6 years ago
3f795f7
MEDIUM: tasks: Merge task_delete() and task_free() into task_destroy().
by Olivier Houchard
· 6 years ago
8c12e2f
MINOR: task/thread: factor out a wake-up condition
by Willy Tarreau
· 6 years ago
a70bfaa
BUG/MAJOR: task: make sure never to delete a queued task
by Willy Tarreau
· 6 years ago
4a1be0c
MEDIUM: tasks: No longer use rq.node.leaf_p as a lock.
by Olivier Houchard
· 6 years ago
5c964f7
MINOR: tasks: Don't consider we can wake task with tasklet_wakeup().
by Olivier Houchard
· 6 years ago
b038007
BUG/MEDIUM: tasks: Make sure we set TASK_QUEUED before adding a task to the rq.
by Willy Tarreau
· 6 years ago
24f382f
CLEANUP: task: do not export rq_next anymore
by Willy Tarreau
· 6 years ago
a33d39a
CLEANUP: task: only perform a LIST_DEL() when the list is not empty
by Willy Tarreau
· 6 years ago
e73256f
BUG/MEDIUM: task/h2: add an idempotent task removal fucntion
by Willy Tarreau
· 6 years ago
1d7f37a
BUG/MAJOR: tasks: Use the TASK_GLOBAL flag to know if we're in the global rq.
by Olivier Houchard
· 6 years ago
4c283285
MEDIUM: task: Use the new _HA_ATOMIC_* macros.
by Olivier Houchard
· 6 years ago
1e56c70
OPTIM: task: limit the impact of memory barriers in taks_remove_from_task_list()
by Willy Tarreau
· 6 years ago
b238b12
MINOR: task: use LIST_DEL_INIT() to remove a task from the queue
by Willy Tarreau
· 6 years ago
bc9d984
BUG/MAJOR: fd/threads, task/threads: ensure all spin locks are unlocked
by Richard Russo
· 6 years ago
13afcb7
BUG/MINOR: task: fix possibly missed event in inter-thread wakeups
by Willy Tarreau
· 6 years ago
09e498f
BUG/MEDIUM: tasks: Decrement tasks_run_queue in tasklet_free().
by Olivier Houchard
· 6 years ago
27f3fa5
BUG/MEDIUM: mworker: stop every tasks in the master
by William Lallemand
· 6 years ago
b6b3df3
MEDIUM: initcall: use initcalls for a few initialization functions
by Willy Tarreau
· 6 years ago
9efd745
MEDIUM: tasks: collect per-task CPU time and latency
by Willy Tarreau
· 6 years ago
8d8747a
OPTIM: tasks: group all tree roots per cache line
by Willy Tarreau
· 6 years ago
b20aa9e
MAJOR: tasks: create per-thread wait queues
by Willy Tarreau
· 6 years ago
931624a
BUG/MEDIUM: tasks: Don't forget to decrement task_list_size in tasklet_free().
by Olivier Houchard
· 6 years ago
abedf5f
BUG/MEDIUM: tasklets: Add the thread as active when waking a tasklet.
by Olivier Houchard
· 6 years ago
5d18718
MINOR: tasks: Allow tasklet_wakeup() to wakeup a task.
by Olivier Houchard
· 6 years ago
9b03c0c
MINOR: tasks: Make active_tasks_mask volatile.
by Olivier Houchard
· 6 years ago
77551ee
BUG/MEDIUM: tasks: make __task_unlink_rq responsible for the rqueue size.
by Olivier Houchard
· 6 years ago
76e4518
MINOR: tasks: Add a flag that tells if we're in the global runqueue.
by Olivier Houchard
· 6 years ago
e17c2d3
MINOR: tasklets: Don't attempt to add a tasklet in the list twice.
by Olivier Houchard
· 6 years ago
9ddaf79
MINOR: tasklet: Set process to NULL.
by Olivier Houchard
· 6 years ago
dcd6f3a
MINOR: tasks: Make sure we correctly init and deinit a tasklet.
by Olivier Houchard
· 6 years ago
b1ca58b
MINOR: tasks: Don't define rqueue if we're building without threads.
by Olivier Houchard
· 6 years ago
e13ab8b
BUG/MEDIUM: tasks: Use the local runqueue when building without threads.
by Olivier Houchard
· 6 years ago
caa8a37
MINOR: task: Fix a compiler warning by adding a cast.
by David Carlier
· 6 years ago
9d5422a
MINOR: task/notification: Is notifications registered ?
by Thierry FOURNIER
· 6 years ago
09eeb76
BUG/MEDIUM: tasks: Don't forget to increase/decrease tasks_run_queue.
by Olivier Houchard
· 6 years ago
b0bdae7
MAJOR: tasks: Introduce tasklets.
by Olivier Houchard
· 6 years ago
f6e6dc1
MAJOR: tasks: Create a per-thread runqueue.
by Olivier Houchard
· 6 years ago
9b36cb4
BUG/MEDIUM: task: Don't free a task that is about to be run.
by Olivier Houchard
· 7 years ago
cb14688
BUG/MEDIUM: lua/notification: memory leak
by Thierry FOURNIER
· 7 years ago
d5b7983
DOC: notifications: add precisions about thread usage
by Thierry FOURNIER
· 7 years ago
bafbe01
CLEANUP: pools: rename all pool functions and pointers to remove this "2"
by Willy Tarreau
· 7 years ago
3911ee8
MINOR: tasks: Use a bitfield to track tasks activity per-thread
by Christopher Faulet
· 7 years ago
9dcf9b6
MINOR: threads: Use __decl_hathreads to declare locks
by Christopher Faulet
· 7 years ago
2a944ee
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix
by Christopher Faulet
· 7 years ago
8d38805
MAJOR: task: make use of the scope-aware ebtree functions
by Willy Tarreau
· 7 years ago
f65610a
CLEANUP: threads: rename process_mask to thread_mask
by Willy Tarreau
· 7 years ago
738a6d7
MEDIUM: threads/tasks: Add lock around notifications
by Thierry FOURNIER
· 7 years ago
c60def8
MAJOR: threads/task: handle multithread on task scheduler
by Emeric Brun
· 7 years ago
d697596
MINOR: tasks: Move Lua notification from Lua to tasks
by Thierry FOURNIER
· 7 years ago
f421999
MINOR: task: always preinitialize the task's timeout in task_init()
by Willy Tarreau
· 7 years ago
0194897
MAJOR: task: task scheduler rework.
by Emeric Brun
· 8 years ago
34c5cc9
MINOR: task: Rename run_queue and run_queue_cur counters
by Christopher Faulet
· 8 years ago
9cf7c4b
MAJOR: poll: only rely on wake_expired_tasks() to compute the wait delay
by Thierry FOURNIER
· 10 years ago
501260b
MEDIUM: task: always ensure that the run queue is consistent
by Willy Tarreau
· 10 years ago
eb11889
MINOR: task: release the task pool when stopping
by Willy Tarreau
· 10 years ago
918ff60
[MAJOR] proxy: finally get rid of maintain_proxies()
by Willy Tarreau
· 13 years ago
26e4881
[MINOR] task: new function task_schedule() to schedule a wake up
by Willy Tarreau
· 13 years ago
24f4efa
[MEDIUM] signals: add support for registering functions and tasks
by Willy Tarreau
· 14 years ago
45cb4fb
[MEDIUM] build: switch ebtree users to use new ebtree version
by Willy Tarreau
· 15 years ago
3884cba
[MINOR] show sess: report number of calls to each task
by Willy Tarreau
· 16 years ago
c7bdf09
[MINOR] stats: report number of tasks (active and running)
by Willy Tarreau
· 16 years ago
a461318
[MINOR] task: keep a task count and clean up task creators
by Willy Tarreau
· 16 years ago
26ca34e
[BUG] scheduler: fix improper handling of duplicates __task_queue()
by Willy Tarreau
· 16 years ago
e35c94a
[MEDIUM] scheduler: get rid of the 4 trees thanks and use ebtree v4.1
by Willy Tarreau
· 16 years ago
531cf0c
[OPTIM] task: reduce the number of calls to task_queue()
by Willy Tarreau
· 16 years ago
d0a201b
[CLEANUP] task: distinguish between clock ticks and timers
by Willy Tarreau
· 16 years ago
4726f53
[OPTIM] task: don't unlink a task from a wait queue when waking it up
by Willy Tarreau
· 16 years ago
fdccded
[MEDIUM] indicate a reason for a task wakeup
by Willy Tarreau
· 16 years ago
4df8206
[OPTIM] reduce the number of calls to task_wakeup()
by Willy Tarreau
· 16 years ago
Next »