Don't cache pcpui across potential kthread blocks
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 3 Jun 2011 18:55:41 +0000 (11:55 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:04 +0000 (17:36 -0700)
commit38155e2994d813f490391241d2ec22ed4e66f118
tree688c0556337fff4407aafc47c0dbee140515f372
parentb2c9887b92b52a32d6c1f5e3b45e78c43aca3bbf
Don't cache pcpui across potential kthread blocks

When you come back up the stack, you could be on a different core if
your kthread migrated, and your pcpui would be wrong.
kern/arch/i686/trap.c
kern/src/process.c
kern/src/syscall.c