:orphan: .. title:: CONFIG_WAITQ_SCALABLE .. kconfig:: CONFIG_WAITQ_SCALABLE CONFIG_WAITQ_SCALABLE ##################### *Use scalable wait\_q implementation* Type: ``bool`` Help ==== .. code-block:: none When selected, the wait_q will be implemented with a balanced tree. Choose this if you expect to have many threads waiting on individual primitives. There is a ~2kb code size increase over WAITQ_DUMB (which may be shared with SCHED_SCALABLE) if the rbtree is not used elsewhere in the application, and pend/unpend operations on "small" queues will be somewhat slower (though this is not generally a performance path). Direct dependencies =================== \ :ref:` ` *(Includes any dependencies from ifs and menus.)* Kconfig definition ================== At ``/Kconfig:270`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:40`` Menu path: (Top) → General Kernel Options → Wait queue priority algorithm .. code-block:: kconfig config WAITQ_SCALABLE bool "Use scalable wait_q implementation" depends on help When selected, the wait_q will be implemented with a balanced tree. Choose this if you expect to have many threads waiting on individual primitives. There is a ~2kb code size increase over WAITQ_DUMB (which may be shared with SCHED_SCALABLE) if the rbtree is not used elsewhere in the application, and pend/unpend operations on "small" queues will be somewhat slower (though this is not generally a performance path). *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*