walnux/libs
ouyangxiangzhen fb592064cb sched: Improved the wdog and wq list insertion.
For the watchdog list and the workqueue list, we wonder whether the list head has changed after the insertion. In the original implementation, we have to access the list->next field and compare the result to the currently inserted node. In this commit, we mark the list head before the insertion and comparing the current traversed node with the list head we marked, which can avoid accessing the list->next and is more cache-friendly.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
2025-05-07 02:02:10 +08:00
..
libbuiltin macro/align: Use ALIGN_UP and ALIGN_DOWN uniformly 2025-01-12 16:48:35 +08:00
libc sched: Improved the wdog and wq list insertion. 2025-05-07 02:02:10 +08:00
libdsp libs/libdsp: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
libm libm/newlib: Add arch-specific source code first to CSRCS 2024-12-04 02:10:41 +08:00
libnx libs/libnx: do not generate resource if CONFIG_NX is not enabled 2025-02-20 08:45:05 +01:00
libxx [nxstyle] fix Relative files path 2025-02-21 15:36:05 +01:00
CMakeLists.txt libs: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00