Skip to content
  1. Jan 06, 2017
  2. Jan 04, 2017
  3. Jan 03, 2017
  4. Jan 02, 2017
  5. Jan 01, 2017
  6. Dec 31, 2016
  7. Dec 30, 2016
  8. Dec 29, 2016
  9. Dec 28, 2016
  10. Dec 27, 2016
    • Gregory Nutt's avatar
      SMP: There were certain conditions that we must avoid by preventing releasing... · cfb87626
      Gregory Nutt authored
      SMP: There were certain conditions that we must avoid by preventing releasing the pending tasks while withn a critical section.  But this logic was incomplete; there was no logic to prevent other CPUs from adding new, running tasks while on CPU is in a critical section.
      
      This commit corrects this.  This is matching logic in sched_addreadytorun to avoid starting new tasks within the critical section (unless the CPU is the holder of the lock).  The holder of the IRQ lock must be permitted to do whatever it needs to do.
      cfb87626