Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
055ba4f505e5117f59d3b843afc4c737dd2e21d5
/
src
/
task.c
9db0fed
BUG/MINOR: tasklets: Just make sure we don't pass a tasklet to the handler.
by Olivier Houchard
· Thu Jun 14 15:40:47 2018 +0200
b1ca58b
MINOR: tasks: Don't define rqueue if we're building without threads.
by Olivier Houchard
· Wed Jun 06 14:22:03 2018 +0200
cc0a957
MINOR: task: Fix compiler warning.
by David Carlier
· Tue Jun 05 10:41:03 2018 +0000
082627a
MINOR: task: Also consider the task list size when getting global tasks.
by Olivier Houchard
· Mon May 28 14:53:08 2018 +0200
736ea41
BUG/MEDIUM: task: Don't forget to decrement max_processed after each task.
by Olivier Houchard
· Mon May 28 14:54:49 2018 +0200
1599b80
MINOR: tasks: Make the number of tasks to run at once configurable.
by Olivier Houchard
· Thu May 24 18:59:04 2018 +0200
b0bdae7
MAJOR: tasks: Introduce tasklets.
by Olivier Houchard
· Fri May 18 18:45:28 2018 +0200
f6e6dc1
MAJOR: tasks: Create a per-thread runqueue.
by Olivier Houchard
· Fri May 18 18:38:23 2018 +0200
9f6af33
MINOR: tasks: Change the task API so that the callback takes 3 arguments.
by Olivier Houchard
· Fri May 25 14:04:04 2018 +0200
9b36cb4
BUG/MEDIUM: task: Don't free a task that is about to be run.
by Olivier Houchard
· Fri May 04 15:46:16 2018 +0200
d80cb4e
MINOR: global: add some global activity counters to help debugging
by Willy Tarreau
· Sat Jan 20 19:30:13 2018 +0100
a24d1d0
MINOR: task: align the rq and wq locks
by Willy Tarreau
· Sun Nov 26 10:19:16 2017 +0100
6d1222c
MINOR: task: keep a pointer to the currently running task
by Willy Tarreau
· Sun Nov 26 10:08:06 2017 +0100
bafbe01
CLEANUP: pools: rename all pool functions and pointers to remove this "2"
by Willy Tarreau
· Fri Nov 24 17:34:44 2017 +0100
5175345
BUG/MAJOR: threads/task: dequeue expired tasks under the WQ lock
by Willy Tarreau
· Thu Nov 23 18:36:50 2017 +0100
8a48f67
MAJOR: polling: Use active_tasks_mask instead of tasks_run_queue
by Christopher Faulet
· Tue Nov 14 10:38:36 2017 +0100
3911ee8
MINOR: tasks: Use a bitfield to track tasks activity per-thread
by Christopher Faulet
· Tue Nov 14 10:26:53 2017 +0100
919b739
CLEANUP: tasks: Remove useless double test on rq_next
by Christopher Faulet
· Tue Nov 14 10:17:48 2017 +0100
9dcf9b6
MINOR: threads: Use __decl_hathreads to declare locks
by Christopher Faulet
· Mon Nov 13 10:34:01 2017 +0100
9e45b33
BUG/MAJOR: threads/tasks: fix the scheduler again
by Willy Tarreau
· Wed Nov 08 14:05:19 2017 +0100
2a944ee
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix
by Christopher Faulet
· Tue Nov 07 10:42:54 2017 +0100
f0c531a
MEDIUM: tasks: implement a lockless scheduler for single-thread usage
by Willy Tarreau
· Sun Nov 05 16:35:59 2017 +0100
9d4b56b
MINOR: tasks: only visit filled task slots after processing them
by Willy Tarreau
· Mon Nov 06 08:36:53 2017 +0100
ce4e0aa
MEDIUM: task: change the construction of the loop in process_runnable_tasks()
by Willy Tarreau
· Sun Nov 05 23:57:00 2017 +0100
b992ba1
MINOR: task: simplify wake_expired_tasks() to avoid unlocking in the loop
by Willy Tarreau
· Sun Nov 05 19:09:27 2017 +0100
8d38805
MAJOR: task: make use of the scope-aware ebtree functions
by Willy Tarreau
· Sun Nov 05 13:34:20 2017 +0100
f65610a
CLEANUP: threads: rename process_mask to thread_mask
by Willy Tarreau
· Tue Oct 31 16:06:06 2017 +0100
5f4a47b
CLEANUP: threads: replace the last few 1UL<<tid with tid_bit
by Willy Tarreau
· Tue Oct 31 15:59:32 2017 +0100
c60def8
MAJOR: threads/task: handle multithread on task scheduler
by Emeric Brun
· Wed Sep 27 14:59:38 2017 +0200
d697596
MINOR: tasks: Move Lua notification from Lua to tasks
by Thierry FOURNIER
· Wed Jul 12 14:31:10 2017 +0200
0194897
MAJOR: task: task scheduler rework.
by Emeric Brun
· Thu Mar 30 15:37:25 2017 +0200
34c5cc9
MINOR: task: Rename run_queue and run_queue_cur counters
by Christopher Faulet
· Tue Dec 06 09:15:30 2016 +0100
87b0966
REORG/MAJOR: session: rename the "session" entity to "stream"
by Willy Tarreau
· Fri Apr 03 00:22:06 2015 +0200
c46c965
BUG/MEDIUM: task: fix recently introduced scheduler skew
by Willy Tarreau
· Wed Mar 04 23:26:01 2015 +0100
9cf7c4b
MAJOR: poll: only rely on wake_expired_tasks() to compute the wait delay
by Thierry FOURNIER
· Mon Dec 15 13:26:01 2014 +0100
501260b
MEDIUM: task: always ensure that the run queue is consistent
by Willy Tarreau
· Mon Feb 23 16:07:01 2015 +0100
98c6121
[OPTIM] task: don't scan the run queue if we know it's empty
by Willy Tarreau
· Sat Sep 10 20:08:49 2011 +0200
45cb4fb
[MEDIUM] build: switch ebtree users to use new ebtree version
by Willy Tarreau
· Mon Oct 26 21:10:04 2009 +0100
1d7a420
[BUG] task.c: don't assing last_timer to node-less entries
by SaVaGe
· Tue Oct 06 18:53:37 2009 +0300
34e98ea
[BUG] task: fix possible crash when some timeouts are not configured
by Willy Tarreau
· Sun Aug 09 09:09:54 2009 +0200
814c978
[BUG] task: fix possible timer drift after update
by Willy Tarreau
· Tue Jul 14 23:48:55 2009 +0200
3884cba
[MINOR] show sess: report number of calls to each task
by Willy Tarreau
· Sat Mar 28 17:54:35 2009 +0100
c7bdf09
[MINOR] stats: report number of tasks (active and running)
by Willy Tarreau
· Sat Mar 21 18:33:52 2009 +0100
a461318
[MINOR] task: keep a task count and clean up task creators
by Willy Tarreau
· Sat Mar 21 18:13:21 2009 +0100
135a113
[MINOR] sched: permit a task to stay up between calls
by Willy Tarreau
· Sat Mar 21 13:26:05 2009 +0100
26ca34e
[BUG] scheduler: fix improper handling of duplicates __task_queue()
by Willy Tarreau
· Sat Mar 21 12:51:40 2009 +0100
218859a
[BUG] sched: don't leave 3 lasts tasks unprocessed when niced tasks are present
by Willy Tarreau
· Sat Mar 21 11:53:09 2009 +0100
e35c94a
[MEDIUM] scheduler: get rid of the 4 trees thanks and use ebtree v4.1
by Willy Tarreau
· Sat Mar 21 10:01:42 2009 +0100
87bed62
[BUILD] build fixes for Solaris
by Willy Tarreau
· Sun Mar 08 22:25:28 2009 +0100
531cf0c
[OPTIM] task: reduce the number of calls to task_queue()
by Willy Tarreau
· Sun Mar 08 16:35:27 2009 +0100
d0a201b
[CLEANUP] task: distinguish between clock ticks and timers
by Willy Tarreau
· Sun Mar 08 15:53:06 2009 +0100
26c2506
[MEDIUM] minor update to the task api: let the scheduler queue itself
by Willy Tarreau
· Sun Mar 08 09:38:41 2009 +0100
4136522
[OPTIM] displace tasks in the wait queue only if absolutely needed
by Willy Tarreau
· Sun Mar 08 07:46:27 2009 +0100
4726f53
[OPTIM] task: don't unlink a task from a wait queue when waking it up
by Willy Tarreau
· Sat Mar 07 17:25:21 2009 +0100
1b8ca66
[BUG] task: fix handling of duplicate keys
by Willy Tarreau
· Sun Mar 08 00:26:28 2009 +0100
fdccded
[MEDIUM] indicate a reason for a task wakeup
by Willy Tarreau
· Fri Aug 29 18:19:04 2008 +0200
4df8206
[OPTIM] reduce the number of calls to task_wakeup()
by Willy Tarreau
· Fri Aug 29 15:26:14 2008 +0200
ec6c5df
[CLEANUP] remove many #include <types/xxx> from C files
by Willy Tarreau
· Tue Jul 15 00:22:45 2008 +0200
0c303ee
[MAJOR] convert all expiration timers from timeval to ticks
by Willy Tarreau
· Mon Jul 07 00:09:58 2008 +0200
ce44f12
[OPTIM] task_queue: assume most consecutive timers are equal
by Willy Tarreau
· Sat Jul 05 18:16:19 2008 +0200
91e9993
[MEDIUM] introduce task->nice and boot access to statistics
by Willy Tarreau
· Mon Jun 30 07:51:00 2008 +0200
58b458d
[MAJOR] use an ebtree instead of a list for the run queue
by Willy Tarreau
· Sun Jun 29 22:40:23 2008 +0200
af754fc
[OPTIM] shrink wake_expired_tasks() by using task_wakeup()
by Willy Tarreau
· Sun Jun 29 19:25:52 2008 +0200
28c41a4
[MEDIUM] rework the wait queue mechanism
by Willy Tarreau
· Sun Jun 29 17:00:59 2008 +0200
e62bdd4
[BUG] wqueue: perform proper timeout comparisons with wrapping values
by Willy Tarreau
· Sun Jun 29 10:25:57 2008 +0200
9789f7b
[MAJOR] replace ultree with ebtree in wait-queues
by Willy Tarreau
· Tue Jun 24 08:17:16 2008 +0200
70bcfb7
[OPTIM] GCC4's builtin_expect() is suboptimal
by Willy Tarreau
· Sun Jan 27 02:21:53 2008 +0100
315bff5
Merge branch 'pools' into merge-pools
by Willy Tarreau
· Mon May 14 02:11:56 2007 +0200
1209033
[MINOR] disable useless hint in wake_expired_tasks
by Willy Tarreau
· Mon May 14 02:11:39 2007 +0200
fbfc053
[BUG] fix buggy timeout computation in wake_expired_tasks
by Willy Tarreau
· Mon May 14 02:03:47 2007 +0200
c6ca1a0
[MAJOR] migrated task, tree64 and session to pool2
by Willy Tarreau
· Sun May 13 19:43:47 2007 +0200
c64e539
[MINOR] avoid inlining in task.c
by Willy Tarreau
· Sun May 13 16:07:06 2007 +0200
d825eef
[MAJOR] replaced all timeouts with struct timeval
by Willy Tarreau
· Sat May 12 22:35:00 2007 +0200
7317eb5
[MAJOR] fixed some expiration dates on tasks
by Willy Tarreau
· Wed May 09 00:54:10 2007 +0200
e33aece
[MINOR] uninline task_wakeup
by Willy Tarreau
· Mon Apr 30 13:15:14 2007 +0200
42aae5c
[MEDIUM] many cleanups in the time functions
by Willy Tarreau
· Sun Apr 29 17:43:56 2007 +0200
a6a6a93
[MAJOR] changed TV_ETERNITY to ~0 instead of 0
by Willy Tarreau
· Sat Apr 28 22:40:08 2007 +0200
96bcfd7
[MAJOR] replaced rbtree with ul2tree.
by Willy Tarreau
· Sun Apr 29 10:41:56 2007 +0200
5e8f066
[MINOR] slightly optimize time calculation for rbtree
by Willy Tarreau
· Mon Feb 12 00:59:08 2007 +0100
b1b8272
[MINOR] uninline rb_insert_task_queue()
by Willy Tarreau
· Sun Feb 11 13:52:16 2007 +0100
964c936
[MAJOR] replace the wait-queue linked list with an rbtree.
by Willy Tarreau
· Sun Jan 07 00:38:00 2007 +0100
2dd0d47
[CLEANUP] renamed include/haproxy to include/common
by Willy Tarreau
· Thu Jun 29 17:53:05 2006 +0200
baaee00
[BIGMOVE] exploded the monolithic haproxy.c file into multiple files.
by Willy Tarreau
· Mon Jun 26 02:48:02 2006 +0200