projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce6234b
)
[PATCH] i386: PARAVIRT: flush lazy mmu updates on kunmap_atomic
author
Jeremy Fitzhardinge
<jeremy@goop.org>
Wed, 2 May 2007 17:27:15 +0000
(19:27 +0200)
committer
Andi Kleen
<andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:15 +0000
(19:27 +0200)
kunmap_atomic should flush any pending lazy mmu updates, mainly to be
consistent with kmap_atomic, and to preserve its normal behaviour.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/mm/highmem.c
patch
|
blob
|
history
diff --git
a/arch/i386/mm/highmem.c
b/arch/i386/mm/highmem.c
index a1a21abf742ebc9b4926ab4bf334da2d59cf37c9..ad8d86cc683ee3f6786142c86a95f1fffb7e4f94 100644
(file)
--- a/
arch/i386/mm/highmem.c
+++ b/
arch/i386/mm/highmem.c
@@
-72,6
+72,7
@@
void kunmap_atomic(void *kvaddr, enum km_type type)
#endif
}
+ arch_flush_lazy_mmu_mode();
pagefault_enable();
}