flush instruction cache at context switch time if necessary

Change-Id: Ic09415ea772a9de6dca43a98168a8346ca86d3e7
This commit is contained in:
Balazs Gerofi
2019-08-04 23:31:47 +00:00
committed by Masamichi Takagi
parent f0bc1a6b07
commit 2dd8687974
7 changed files with 32 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ struct cpu_local_var {
ihk_spinlock_t runq_lock;
unsigned long runq_irqstate;
struct thread *current;
int prevpid;
struct list_head runq;
size_t runq_len;
size_t runq_reserved; /* Number of threads which are about to be added to runq */