Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
eafd8ebcfea4940f69f064c84fd4a4f270b212ce
/
src
/
task.c
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
0b25d5e
MEDIUM: task: perform a single tree lookup per run queue batch
by Willy Tarreau
· 6 years ago
19bdf24
MINOR: tasks: Don't special-case when nbthreads == 1
by Olivier Houchard
· 6 years ago
d8b7a47
BUG/MEDIUM: tasks: Don't insert in the global rqueue if nbthread == 1
by Olivier Houchard
· 6 years ago
85d9b84
BUILD/MINOR: threads: unbreak build with threads disabled
by Willy Tarreau
· 6 years ago
79321b9
MINOR: pollers: Add a way to wake a thread sleeping in the poller.
by Olivier Houchard
· 6 years ago
eba0c0b
MINOR: tasks: Make global_tasks_mask volatile.
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
c4aac9e
BUG/MEDIUM: tasks: Make sure there's no task left before considering inactive.
by Olivier Houchard
· 6 years ago
189ea85
BUG/MEDIUM: tasks: use atomic ops for active_tasks_mask
by Willy Tarreau
· 6 years ago
e85ee7b
BUG/MEDIUM: tasks: Decrement rqueue_size at the right time.
by Olivier Houchard
· 6 years ago
9a77186
BUG/MEDIUM: tasks: make sure we pick all tasks in the run queue
by Willy Tarreau
· 6 years ago
9db0fed
BUG/MINOR: tasklets: Just make sure we don't pass a tasklet to the handler.
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
cc0a957
MINOR: task: Fix compiler warning.
by David Carlier
· 6 years ago
082627a
MINOR: task: Also consider the task list size when getting global tasks.
by Olivier Houchard
· 6 years ago
736ea41
BUG/MEDIUM: task: Don't forget to decrement max_processed after each task.
by Olivier Houchard
· 6 years ago
1599b80
MINOR: tasks: Make the number of tasks to run at once configurable.
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
9f6af33
MINOR: tasks: Change the task API so that the callback takes 3 arguments.
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
d80cb4e
MINOR: global: add some global activity counters to help debugging
by Willy Tarreau
· 7 years ago
a24d1d0
MINOR: task: align the rq and wq locks
by Willy Tarreau
· 7 years ago
6d1222c
MINOR: task: keep a pointer to the currently running task
by Willy Tarreau
· 7 years ago
bafbe01
CLEANUP: pools: rename all pool functions and pointers to remove this "2"
by Willy Tarreau
· 7 years ago
5175345
BUG/MAJOR: threads/task: dequeue expired tasks under the WQ lock
by Willy Tarreau
· 7 years ago
8a48f67
MAJOR: polling: Use active_tasks_mask instead of tasks_run_queue
by Christopher Faulet
· 7 years ago
3911ee8
MINOR: tasks: Use a bitfield to track tasks activity per-thread
by Christopher Faulet
· 7 years ago
919b739
CLEANUP: tasks: Remove useless double test on rq_next
by Christopher Faulet
· 7 years ago
9dcf9b6
MINOR: threads: Use __decl_hathreads to declare locks
by Christopher Faulet
· 7 years ago
9e45b33
BUG/MAJOR: threads/tasks: fix the scheduler again
by Willy Tarreau
· 7 years ago
2a944ee
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix
by Christopher Faulet
· 7 years ago
f0c531a
MEDIUM: tasks: implement a lockless scheduler for single-thread usage
by Willy Tarreau
· 7 years ago
9d4b56b
MINOR: tasks: only visit filled task slots after processing them
by Willy Tarreau
· 7 years ago
ce4e0aa
MEDIUM: task: change the construction of the loop in process_runnable_tasks()
by Willy Tarreau
· 7 years ago
b992ba1
MINOR: task: simplify wake_expired_tasks() to avoid unlocking in the loop
by Willy Tarreau
· 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
5f4a47b
CLEANUP: threads: replace the last few 1UL<<tid with tid_bit
by Willy Tarreau
· 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
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
87b0966
REORG/MAJOR: session: rename the "session" entity to "stream"
by Willy Tarreau
· 10 years ago
c46c965
BUG/MEDIUM: task: fix recently introduced scheduler skew
by Willy Tarreau
· 10 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
98c6121
[OPTIM] task: don't scan the run queue if we know it's empty
by Willy Tarreau
· 13 years ago
45cb4fb
[MEDIUM] build: switch ebtree users to use new ebtree version
by Willy Tarreau
· 15 years ago
1d7a420
[BUG] task.c: don't assing last_timer to node-less entries
by SaVaGe
· 15 years ago
34e98ea
[BUG] task: fix possible crash when some timeouts are not configured
by Willy Tarreau
· 15 years ago
814c978
[BUG] task: fix possible timer drift after update
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
135a113
[MINOR] sched: permit a task to stay up between calls
by Willy Tarreau
· 16 years ago
26ca34e
[BUG] scheduler: fix improper handling of duplicates __task_queue()
by Willy Tarreau
· 16 years ago
218859a
[BUG] sched: don't leave 3 lasts tasks unprocessed when niced tasks are present
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
87bed62
[BUILD] build fixes for Solaris
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
26c2506
[MEDIUM] minor update to the task api: let the scheduler queue itself
by Willy Tarreau
· 16 years ago
4136522
[OPTIM] displace tasks in the wait queue only if absolutely needed
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
1b8ca66
[BUG] task: fix handling of duplicate keys
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
ec6c5df
[CLEANUP] remove many #include <types/xxx> from C files
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
af754fc
[OPTIM] shrink wake_expired_tasks() by using task_wakeup()
by Willy Tarreau
· 16 years ago
28c41a4
[MEDIUM] rework the wait queue mechanism
by Willy Tarreau
· 16 years ago
e62bdd4
[BUG] wqueue: perform proper timeout comparisons with wrapping values
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
315bff5
Merge branch 'pools' into merge-pools
by Willy Tarreau
· 17 years ago
1209033
[MINOR] disable useless hint in wake_expired_tasks
by Willy Tarreau
· 17 years ago
fbfc053
[BUG] fix buggy timeout computation in wake_expired_tasks
by Willy Tarreau
· 17 years ago
c6ca1a0
[MAJOR] migrated task, tree64 and session to pool2
by Willy Tarreau
· 17 years ago
c64e539
[MINOR] avoid inlining in task.c
by Willy Tarreau
· 17 years ago
d825eef
[MAJOR] replaced all timeouts with struct timeval
by Willy Tarreau
· 17 years ago
7317eb5
[MAJOR] fixed some expiration dates on tasks
by Willy Tarreau
· 18 years ago
e33aece
[MINOR] uninline task_wakeup
by Willy Tarreau
· 18 years ago
42aae5c
[MEDIUM] many cleanups in the time functions
by Willy Tarreau
· 18 years ago
a6a6a93
[MAJOR] changed TV_ETERNITY to ~0 instead of 0
by Willy Tarreau
· 18 years ago
96bcfd7
[MAJOR] replaced rbtree with ul2tree.
by Willy Tarreau
· 18 years ago
5e8f066
[MINOR] slightly optimize time calculation for rbtree
by Willy Tarreau
· 18 years ago
b1b8272
[MINOR] uninline rb_insert_task_queue()
by Willy Tarreau
· 18 years ago
964c936
[MAJOR] replace the wait-queue linked list with an rbtree.
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