zephyr/kernel
Wentong Wu 2463ded4c8 kernel: timeout: do not active time slicing if idle thread ready
zero slice_ticks when can't time slice so that next_timeout will
ignore slice_ticks of _current_cpu and system can stay low power
state longer time.

Fixes: #17368.

Signed-off-by: Wentong Wu <wentong.wu@intel.com>
2019-07-24 14:02:23 -07:00
..
include Includes: #ifdef CONFIG_USE_SWITCH instead of #if to avoid undef warning 2019-07-14 04:58:47 -07:00
CMakeLists.txt kernel: add futex support 2019-06-24 15:38:21 -07:00
Kconfig kernel: Crank up default tick rate 2019-07-02 22:52:29 -04:00
Kconfig.power_mgmt
atomic_c.c cleanup: include/: move atomic.h to sys/atomic.h 2019-06-27 22:55:49 -04:00
compiler_stack_protect.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
device.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
errno.c
futex.c kernel: delete k_futex_init() 2019-07-01 08:15:10 -07:00
idle.c cleanup: include/: move power.h to power/power.h 2019-06-27 22:55:49 -04:00
init.c linker: Add dtcm section for Cortex M7 MCUs 2019-07-19 10:05:46 +02:00
mailbox.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
mem_domain.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
mem_slab.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
mempool.c malloc: make sure returned memory is properly aligned 2019-07-03 14:17:29 -07:00
msg_q.c kernel: msgq: avoid single char variables for msgq 2019-07-04 10:04:27 -04:00
mutex.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
pipes.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
poll.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
queue.c cleanup: include/: move misc/sflist.h to sys/sflist.h 2019-06-27 22:55:49 -04:00
sched.c kernel: timeout: do not active time slicing if idle thread ready 2019-07-24 14:02:23 -07:00
sem.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
smp.c kernel/smp: Rename smp_init() 2019-06-05 17:15:55 -04:00
stack.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
system_work_q.c
thread.c kernel: fix #endif quard error for k_float_disable 2019-07-10 13:44:02 -07:00
thread_abort.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
timeout.c kernel/timeout: Remove "clock_always_on", replace with "SLOPPY_IDLE" 2019-06-28 14:24:56 -07:00
timer.c linker generated list: provide an iterator to simplify list access 2019-06-06 14:21:32 -07:00
userspace.c cleanup: include/: move misc/rb.h to sys/rb.h 2019-06-27 22:55:49 -04:00
userspace_handler.c
version.c
work_q.c kernel: Fix usage of CONFIG_SYS_CLOCK_EXISTS 2019-05-15 10:44:59 +02:00