commit | d022e9c98b87102cc57737dd8ca18f78d6fc0fbb | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Sep 24 08:25:15 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Sep 24 11:23:30 2019 +0200 |
tree | a1d7fe1cc4bae131d26f8f25bbd9965a1c234ed8 | |
parent | d66d75656e4d864595567d1c3bbaffbc515fb0a0 [diff] |
MINOR: task: introduce a thread-local "sched" variable for local scheduler stuff The aim is to rassemble all scheduler information related to the current thread. It simply points to task_per_thread[tid] without having to perform the operation at each time. We save around 1.2 kB of code on performance sensitive paths and increase the request rate by almost 1%.