Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
3b44c54129a4f8334834dda6344c512e76e883fa
/
include
/
proto
/
task.h
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
· 5 years ago
75bc6d3
BUG/MEDIUM: tasks: fix possible segfault on task_destroy()
by Dragan Dosen
· 5 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
0c303ee
[MAJOR] convert all expiration timers from timeval to ticks
by Willy Tarreau
· 16 years ago
ce44f12
[OPTIM] task_queue: assume most consecutive timers are equal
by Willy Tarreau
· 16 years ago
91e9993
[MEDIUM] introduce task->nice and boot access to statistics
by Willy Tarreau
· 16 years ago
58b458d
[MAJOR] use an ebtree instead of a list for the run queue
by Willy Tarreau
· 16 years ago
9789f7b
[MAJOR] replace ultree with ebtree in wait-queues
by Willy Tarreau
· 16 years ago
70bcfb7
[OPTIM] GCC4's builtin_expect() is suboptimal
by Willy Tarreau
· 17 years ago
c6ca1a0
[MAJOR] migrated task, tree64 and session to pool2
by Willy Tarreau
· 17 years ago
d825eef
[MAJOR] replaced all timeouts with struct timeval
by Willy Tarreau
· 17 years ago
e33aece
[MINOR] uninline task_wakeup
by Willy Tarreau
· 18 years ago
96bcfd7
[MAJOR] replaced rbtree with ul2tree.
by Willy Tarreau
· 18 years ago
964c936
[MAJOR] replace the wait-queue linked list with an rbtree.
by Willy Tarreau
· 18 years ago
e3ba5f0
[CLEANUP] included common/version.h everywhere
by Willy Tarreau
· 18 years ago
2dd0d47
[CLEANUP] renamed include/haproxy to include/common
by Willy Tarreau
· 18 years ago
baaee00
[BIGMOVE] exploded the monolithic haproxy.c file into multiple files.
by Willy Tarreau
· 18 years ago