Browse Source
In interrupt chandler code we don't save full current task context on stack (we don't save callee regs) before z_get_next_switch_handle() call, but we passing _current to it, so z_get_next_switch_handle saves current task to switch_handle, which means that this CPU current task can be picked by other CPU before we fully store it context on this CPU. Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>pull/47896/head
5 changed files with 24 additions and 22 deletions
Loading…
Reference in new issue