aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBenjamin LaHaise <[email protected]>2005-07-12 13:58:22 -0700
committerLinus Torvalds <[email protected]>2005-07-12 16:01:01 -0700
commitc40504e87e28c52258458a53fefcd63f58e11a42 (patch)
tree6801c0867e480d80e4bd889662c7bd04f4075e8f /scripts
parent8b8a9da525c592f129ace454c4d82a80b122827a (diff)
[PATCH] uml: tlb flushing fix
This patch fixes a fairly serious tlb flushing bug that makes aio use under uml very unreliable -- SEGVs, Oops and panic()s occur as a result of stale tlb entires being used by uml when aio switches mms due to the fact that uml does not implement the activate_mm() hook. This patch introduces a simple but correct approach (read: hammer) for implementing activate_mm() in uml by doing a force_flush_all() if the new mm is different from old. With this patch in place, uml is able to succeed at the aio test case that was randomly faulting for me before. Cc: Jeff Dike <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions