Files
mckernel/kernel
Shiratori, Takehiro edf7b36669 runq_lock: Fix deadlock due to cpu migration.
Symptom and analysis:
runq_lock of the migration source is acquired on
the migration destination CPU.

This happens in the following steps:
 (1) The thread stores value of cpu_local_var(runq_lock)
     to its register when trying to perform
     ihk_mc_spinlock_lock() on the lock variable.
 (2) The thread takes IPI and migrates to another CPU.
 (3) The thread resumes execution and acquires the wrong lock.

Solution:
* Disable interrupts before getting the value of
  cpu_local_var(runq_lock)

Change-Id: Ia0ea450b97f872dd6116252537e4a79f85adfc88
Refs: #1400
2020-03-05 01:51:40 +00:00
..
2020-03-03 13:23:30 +09:00
2019-12-05 07:08:13 +00:00
2014-03-30 16:14:19 +09:00
2019-08-09 04:00:15 +00:00
2019-12-06 09:30:51 +09:00
2016-03-08 15:19:03 +09:00
2017-09-04 08:53:32 +09:00