nuttx/sched
Masayuki Ishikawa 9d370fc363 sched: task: Call nxtask_flushstreams() without critical section
Summary:
- During investigating critical section with semaphores, I noticed
  that nxtask_flushstreams() is called with a critical section.
- The function calls lib_flushall() which handles a semaphore
  in userspace.
- So it should be done without a critical section

Impact:
- SMP only

Testing:
- Tested with ostest the following configs
- esp32-devkitc:smp (QEMU), sabre-6quad:smp (QEMU)
- maix-bit:smp (QEMU), sim:smp
- spresense:smp
- Tested with nxplayer and stress test with spresense:wifi_smp

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-02 05:05:29 -08:00
..
clock Fix typos reported by codespell 2021-02-25 11:31:49 -08:00
environ sched: nxstyle fixes 2021-02-09 01:21:53 -08:00
group sched: nxstyle fixes 2021-02-09 01:21:53 -08:00
init Ensure the kernel component don't call userspace API 2021-03-01 09:23:09 +09:00
irq sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
module sched/module/mod_insmod.c: Fix a resource leak 2021-02-24 23:42:06 -08:00
mqueue sched: mqueue: Remove an unnecessary comment in mq_send.c 2021-01-27 18:27:34 -08:00
paging sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread Fix typos reported by codespell 2021-02-25 11:31:49 -08:00
sched sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
semaphore sched: nxstyle fixes 2021-02-09 01:21:53 -08:00
signal nxsig_tcbdispatch: unblock task in case of CONFIG_LIB_SYSCALL 2021-02-15 01:53:19 -08:00
task sched: task: Call nxtask_flushstreams() without critical section 2021-03-02 05:05:29 -08:00
timer sched/timer: get the previous reload value correctly 2021-01-26 18:22:54 -08:00
wdog sched/wdog: Remove MAX_WDOGPARMS and related stuff 2020-08-14 08:19:50 -06:00
wqueue sched/notifier: replace the unique key to freerun counter 2021-01-30 05:13:26 -08:00
Kconfig Fix typos reported by codespell 2021-02-25 11:31:49 -08:00
Makefile style/Makefile: remove unnecessary trailing whitespace 2020-11-28 12:20:30 +01:00