]> granicus.if.org Git - esp-idf/commit
Merge branch 'workaround/pin_noaffinity_task_to_core_when_fpu_used' into 'master'
authorJeroen Domburg <jeroen@espressif.com>
Thu, 29 Sep 2016 03:16:41 +0000 (11:16 +0800)
committerJeroen Domburg <jeroen@espressif.com>
Thu, 29 Sep 2016 03:16:41 +0000 (11:16 +0800)
commit0383bc85997b0eefda44ac72f381ae9ddace8e86
treee3acf424e77589b7c5ff44545f6b3bf4c615635f
parent2a68a9754551fbc408ddbd47d3f92765c9e6ad6a
parent4daa768e3cfa1633b8b60f2401b2a58f52dad7bb
Merge branch 'workaround/pin_noaffinity_task_to_core_when_fpu_used' into 'master'

Workaround: Automatically pin no-cpu-affinity task to a core when FPU is used

FPU status at the moment does not migrate cleanly between cores, so tasks without affinity that happen to migrate across FPUs will run into problems. As a workaround, this modification will automatically pin the task to the current CPU when FPU activity is detected. If anything, it's better than getting all kinds of weird and wonderful FPU corruption issues...

See merge request !124
components/freertos/tasks.c