Oopenvela-robotsched/wqueue: Improve performance of the work_queue.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
wqueue: fix the config typo error Signed-off-by: guoshichao <guoshichao@xiaomi.com> | 2 个月前 | |
Rename LIB_ to LIBC_ for all libc Kconfig follow other libc component naming convention Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
sched/wqueue: Change dq to list. In NuttX, the dq and the list are two different implementations of the double-linked list. Comparing to the dq, the list implementation has less branch conditions such as checking whether the head or tail is NULL. In theory and practice, the list is more friendly to the CPU pipeline. This commit changed the dq to the list in the wqueue implementation. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 2 个月前 | |
sched/wqueue: Improve performance of the work_queue. This commit improve the performance of the work_queue by reducing unnecessary wdog timer setting. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 2 个月前 | |
sched/wqueue: Refactor delayed and periodical workqueue. This commit refactors the logic of workqueue processing delayed and periodic work, and changes the timer to be set in work_thread. The improvements of this change are as follows: - Fixed the memory reuse problem of the original periodic workqueue implementation. - By removing the wdog_s structure in the work_s structure, the memory overhead of each work_s structure is reduced by about 30 bytes. - Set the timer for each workqueue instead of each work, which improves system performance. - Simplified the workqueue cancel logic. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 2 个月前 | |
sched/wqueue: Change dq to list. In NuttX, the dq and the list are two different implementations of the double-linked list. Comparing to the dq, the list implementation has less branch conditions such as checking whether the head or tail is NULL. In theory and practice, the list is more friendly to the CPU pipeline. This commit changed the dq to the list in the wqueue implementation. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 2 个月前 |