commit | 8c1bdda33c903ec039363baf0d27d756ceaed3ff | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Wed Feb 20 10:07:31 2019 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Mar 13 19:15:20 2019 +0100 |
tree | 72847fb71c7f6c27512a7e235e5558f4f5d5e8af | |
parent | f37e0c6e4d56202872116888cba71aa8ce40347a [diff] |
kernel/sched: Fix spinlock validation glitch in SMP In SMP, we are setting the _current pointer while holding the scheduler spinlock locally, which means that when we try to release it the validation layer (not the spinlock per se) will scream at us because the thread that took the lock doesn't match the one releasing it. Special case this when validation is enabled. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>