diff options
author | Guillaume Autran <gautran@mrv.com> | 2005-07-13 01:10:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-13 11:25:24 -0700 |
commit | ddca3b80cef36cc668f924ef5154a79acb19ebd7 (patch) | |
tree | 2cfb8ac6837682d975a1cb761360977ac54a6aef /arch/parisc/install.sh | |
parent | 88bd5121d635136e01369141367f315665534b3c (diff) | |
download | blackbird-op-linux-ddca3b80cef36cc668f924ef5154a79acb19ebd7.tar.gz blackbird-op-linux-ddca3b80cef36cc668f924ef5154a79acb19ebd7.zip |
[PATCH] ppc32: fix destroy_context() race condition
Fix for a race condition when a task gets preempted by another task while
executing the destroy_context(...) in a FEW_CONTEXTS environment.
mm->context == NO_CONTEXT but the context_map may indicate all contexts are
in use.
The solution to this problem is to disable kernel preemption while
destroying a MMU context.
Signed-off-by: Guillaume Autran <gautran@mrv.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/parisc/install.sh')
0 files changed, 0 insertions, 0 deletions