walnux/sched/wqueue
chao.an 003b360d12 sched/wqueue/notifier: protect the work notifier with critical section
replace the semaphore to avoid the notifier holding the lock in the interrupt context

ASSERT:

libs/libc/assert/lib_assert.c:36   :_assert
sched/semphore/sem_wait.c:113      :nxsem_wait
sched/semphore/sem_wait.c:222      :nxsem_wait_uniterruptible
sched/wqueue/kwork_notifier.c:371  :work_notifier_signal
mm/iob/iob_free.c:188              :iob_free
drivers/syslog/syslog_stream.c:272 :syslogstream_destroy
...
sched/irq/irq_dispatch.c:183       :irq_dispatch

Signed-off-by: chao.an <anchao@xiaomi.com>
2021-01-30 05:13:26 -08:00
..
kwork_cancel.c sched/wqueue: Update to Apache 2.0 headers. 2020-03-11 18:39:53 -03:00
kwork_hpthread.c sched/: Make more naming consistent 2020-05-16 13:39:03 -03:00
kwork_inherit.c sched/sched/sched.h: Make naming of all internal names consistent: 2020-05-09 16:58:42 -03:00
kwork_lpthread.c sched/: Make more naming consistent 2020-05-16 13:39:03 -03:00
kwork_notifier.c sched/wqueue/notifier: protect the work notifier with critical section 2021-01-30 05:13:26 -08:00
kwork_process.c Rename clock_systime[r|spec] to clock_systime_[ticks|timespec] 2020-05-10 14:35:50 -06:00
kwork_queue.c Rename clock_systime[r|spec] to clock_systime_[ticks|timespec] 2020-05-10 14:35:50 -06:00
kwork_signal.c sched/wqueue: Update to Apache 2.0 headers. 2020-03-11 18:39:53 -03:00
Make.defs sched/wqueue: Update to Apache 2.0 headers. 2020-03-11 18:39:53 -03:00
wqueue.h sched/: Make more naming consistent 2020-05-16 13:39:03 -03:00