nuttx/sched/sched
Gregory Nutt 9d1c845dcc Revert "This patch prevent heap corruption as in below case."
This solution to the problem noted by EunBong Song results in major memory fragmentation and and out-of-memory conditions on the PX4 platform.  On that platform the lower priority work queue is very low priority and essentially never runs when the system is busy.  As a result, the systems gets slowly starved of memory until failures and bad behaviors begin to occur.

This is an addition patch coming later to result the original problem in a different way that does not have cause memory starvation.

This reverts commit 91aa26774b.
2018-12-20 10:11:36 -06:00
..
Make.defs sched/Kconfig: Simplify some configurations. This adds configuration settings that control individual features, rather than long complex OR expressions that determines if an individual feature is required. 2018-11-25 11:50:15 -06:00
sched_addblocked.c
sched_addprioritized.c
sched_addreadytorun.c
sched_continue.c
sched_cpuload_oneshot.c
sched_cpuload_period.c
sched_cpuload.c
sched_cpupause.c
sched_cpuselect.c
sched_critmonitor.c sched/irq and sched/sched: Measurement of interrupt handler duration used to be available only in Tickless mode since it used the high resolution Tickless timer to measure interrupt time. This commit adds CONFIG_SCHED_IRQMONITOR_GETTIME which, if enabled, will force the interrupt duration caculation to use the same high-resolution, platform-specific timer as is used with the Critical Section Monitor. This leads to two improvements: (1) You can now measure interrupt duration in non-Tickless mode, and (2) in either mode, the interrupt duration and the critical section measures will use the same high-resulotion timer and should, therefore, never be any descripancy due to different clock sources. 2018-11-26 11:29:20 -06:00
sched_foreach.c sched/sched_foreach.c: sched_foreach() should not have to hold the critical section over the entire traversal. It should be acceptable to simply only the critical section while one entry is being processed (the caller can always call sched_foreach within a critical section is greater stability is needed. sched/sched_gettcb.c: Recent changes removed critical sections around calls to sched_gettcb.c. However, there is a very should sequence of instructions that actually does require the critical section. That short sequence no manages its own critical section. 2018-11-29 13:09:56 -06:00
sched_free.c Revert "This patch prevent heap corruption as in below case." 2018-12-20 10:11:36 -06:00
sched_garbage.c
sched_getaffinity.c
sched_getfiles.c
sched_getparam.c
sched_getscheduler.c
sched_getsockets.c
sched_getstreams.c
sched_gettcb.c sched/sched/sched_gettcb.c: Fix break in building introduced in a recent commit. 2018-11-30 06:40:51 -06:00
sched_idletask.c
sched_lock.c configs/stm32f4discovery: Add timing support for the critical section monitor using the DWT CYCNT register. 2018-11-24 11:06:34 -06:00
sched_lockcount.c
sched_mergepending.c
sched_mergeprioritized.c
sched_note.c
sched_processtimer.c
sched_releasetcb.c
sched_removeblocked.c
sched_removereadytorun.c
sched_reprioritize.c
sched_resumescheduler.c sched/Kconfig: Simplify some configurations. This adds configuration settings that control individual features, rather than long complex OR expressions that determines if an individual feature is required. 2018-11-25 11:50:15 -06:00
sched_roundrobin.c
sched_rrgetinterval.c
sched_self.c
sched_setaffinity.c
sched_setparam.c
sched_setpriority.c
sched_setscheduler.c
sched_sporadic.c
sched_suspend.c sched/: Add debug assertions before each call to up_block_task() to assure that there is no attempt to block an IDLE task. 2018-11-30 06:54:15 -06:00
sched_suspendscheduler.c sched/Kconfig: Simplify some configurations. This adds configuration settings that control individual features, rather than long complex OR expressions that determines if an individual feature is required. 2018-11-25 11:50:15 -06:00
sched_tasklistlock.c
sched_thistask.c
sched_timerexpiration.c sched/wdog: improve accuracy of wd_gettime() in tickless mode 2018-11-09 09:27:40 -06:00
sched_unlock.c configs/stm32f4discovery: Add timing support for the critical section monitor using the DWT CYCNT register. 2018-11-24 11:06:34 -06:00
sched_verifytcb.c
sched_wait.c
sched_waitid.c
sched_waitpid.c sched/sched/sched_waitpid.c: Remove a bad error check. I though Juha already removed this problem. Did I lose his change? 2018-09-10 06:57:12 -06:00
sched_yield.c
sched.h Squashed commit of the following: 2018-11-24 10:32:45 -06:00