Gregory Nutt
|
ccdc11d8ff
|
Fix typo in variable naming. g_cpu_irqset should be g_cpu_irqlock.
|
2016-11-17 06:37:24 -06:00 |
|
Gregory Nutt
|
1c1564f0c1
|
Add logic to handled nested calls to enter_critical_section() from interrupts handlers (with SMP).
|
2016-11-16 22:45:08 -06:00 |
|
Gregory Nutt
|
0c3207e86e
|
Fix backward logic in an assertion.
|
2016-11-16 21:48:27 -06:00 |
|
Gregory Nutt
|
16f0b8fa96
|
Fix typos in DEBUASSERT statements
|
2016-11-16 19:58:51 -06:00 |
|
Gregory Nutt
|
f1e4951a8d
|
Fix some comments
|
2016-11-16 19:11:31 -06:00 |
|
Gregory Nutt
|
4ca653a1cc
|
Add some experimental changes to enter/leave_critical_section to deal with the case where interrupts are disabled only on the local CPU
|
2016-11-16 18:28:35 -06:00 |
|
Gregory Nutt
|
5ce3b399d5
|
Correct some typos in comments
|
2016-11-15 16:48:40 -06:00 |
|
Gregory Nutt
|
40d7216a22
|
Back out 65ab12 and parts of 21f92b
|
2016-11-15 15:44:43 -06:00 |
|
Gregory Nutt
|
6683f01444
|
Trivial change to comment
|
2016-11-15 13:38:43 -06:00 |
|
Gregory Nutt
|
21f92ba601
|
Review some SMP logic; update comments; refresh configuration.
|
2016-11-15 09:24:00 -06:00 |
|
Gregory Nutt
|
65ab12fbb9
|
If SMP is enabled, if any interrupt handler calls enter_critical_section(), it should take the spinlock.
|
2016-11-15 08:37:58 -06:00 |
|
Gregory Nutt
|
b53866c872
|
sched/irq: Change order for SMP case in enter_critical_section: Disble local interrupts BEFORE taking spinlock.
|
2016-11-15 07:54:18 -06:00 |
|
Gregory Nutt
|
32838fcc2c
|
enter/leave_critical_section: In SMP configuration, may attempt to access the task lists before they have been initialized
|
2016-05-18 09:17:01 -06:00 |
|
Gregory Nutt
|
d20db82fcb
|
Scheduler instrumentation: Fix some associated with monitoring critical sections
|
2016-03-21 17:08:07 -06:00 |
|
Gregory Nutt
|
7f19631338
|
sched/: Add option to buffer scheduler instrumentation data in memory.
|
2016-03-17 09:49:43 -06:00 |
|
Gregory Nutt
|
72d3920295
|
Rename cpuset_t to cpu_set_t which is the type used in some non-standard Linux/GNU interfaces. Move definitions of cpu_set_t to include/sys/types.h. Add prototypes for sched_setaffinity(), sched_getaffinity(), pthread_attr_setaffinity_np(), pthread_attr_getaffinity_np(), pthread_setaffinity_np(), and pthread_getaffinity_np(). No implementation is yet in place.
|
2016-02-19 15:57:07 -06:00 |
|
Gregory Nutt
|
b50325bb38
|
SMP: Add funtions to perform atomic bit set/clear operations; fix two errors in SMP macros
|
2016-02-17 13:20:01 -06:00 |
|
Gregory Nutt
|
8ac12839c3
|
leave_critical_section: Fix text of whether spinlock should be released or not
|
2016-02-17 10:55:18 -06:00 |
|
Gregory Nutt
|
384e51cb05
|
Add some additional schedule instrumentation
|
2016-02-16 15:21:45 -06:00 |
|
Gregory Nutt
|
fccef49305
|
Cosmetic changes to comments
|
2016-02-15 13:48:08 -06:00 |
|
Gregory Nutt
|
8399938138
|
SMP: I think we have to spinlock before we are possibly suspended
|
2016-02-15 10:15:07 -06:00 |
|
Gregory Nutt
|
3c46fa3f9f
|
Fix a contention problem in the previous critical section design
|
2016-02-15 08:50:20 -06:00 |
|
Gregory Nutt
|
c7df82147f
|
SMP: First cut integration of enter/leave_critical_section and the scheduler. There are some issues.
|
2016-02-15 08:06:17 -06:00 |
|
Gregory Nutt
|
9cb2a6b1f9
|
Rename irqsave() and irqrestore() to up_irq_save() and up_irq_restore()
|
2016-02-14 16:19:15 -06:00 |
|
Gregory Nutt
|
d017e3eb2e
|
SMP: Forgot to add a file before the last commit
|
2016-02-13 10:25:36 -06:00 |
|