Masayuki Ishikawa
46659d5a14
sched: Fix sched_lock() logic for SMP
...
Summary:
- I noticed sched_lock() logic is different from sched_unlock()
- I think sched_lock() should use critical section
- Also, the code should be simple like sched_unlock()
- This commit fixes these issues
Impact:
- Affects SMP only
Testing:
- Tested with spresense:wifi_smp (both NCPUS=2 and 3)
- Tested with lc823450-xgevk:rndis
- Tested with maix-bit:smp (QEMU)
- Tested with esp32-core:smp (QEMU)
- Tested with sabre-6quad:smp (QEMU)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-26 22:22:31 -07:00
..
2020-09-14 13:43:42 -07:00
2020-05-09 16:58:42 -03:00
2020-05-09 16:58:42 -03:00
2020-05-09 16:58:42 -03:00
2020-05-09 16:58:42 -03:00
2020-05-10 22:47:07 +08:00
2020-08-22 17:37:21 -06:00
2020-05-09 14:19:08 -03:00
2020-05-09 16:58:42 -03:00
2020-05-09 16:58:42 -03:00
2020-05-09 16:58:42 -03:00
2020-05-09 14:19:08 -03:00
2020-05-09 14:19:08 -03:00
2020-05-09 14:19:08 -03:00
2020-02-02 07:36:34 -08:00
2020-05-09 14:19:08 -03:00
2020-05-09 14:19:08 -03:00
2020-05-09 14:19:08 -03:00
2020-05-09 14:19:08 -03:00
2020-09-11 17:58:17 +08:00
2020-09-11 17:58:17 +08:00
2019-02-04 16:20:35 -06:00
2020-10-26 22:22:31 -07:00
2018-02-01 10:00:02 -06:00
2020-05-09 22:09:12 +01:00
2020-05-09 22:09:12 +01:00
2020-10-21 00:33:10 +08:00
2020-05-09 16:58:42 -03:00
2020-07-07 00:21:46 +01:00
2020-05-09 16:58:42 -03:00
2020-05-09 16:58:42 -03:00
2020-05-09 16:58:42 -03:00
2020-05-09 16:58:42 -03:00
2020-10-02 04:54:52 +02:00
2020-05-09 14:19:08 -03:00
2020-05-09 14:19:08 -03:00
2020-05-09 16:58:42 -03:00
2020-05-09 16:58:42 -03:00
2020-05-09 16:58:42 -03:00
2020-05-09 16:58:42 -03:00
2020-08-14 08:19:50 -06:00
2020-05-16 13:39:03 -03:00
2020-05-09 16:58:42 -03:00
2020-07-28 00:47:39 -05:00
2020-09-03 10:20:20 +08:00
2020-05-09 16:58:42 -03:00
2020-10-26 22:22:31 -07:00
2020-05-09 16:58:42 -03:00
2020-05-04 07:20:02 -06:00
2020-06-26 05:19:59 -05:00
2020-07-30 16:16:21 +02:00
2020-05-09 16:58:42 -03:00
2020-09-03 10:20:20 +08:00