Zachary Amsden 49f1971051 [PATCH] Proper fix for highmem kmap_atomic functions for VMI for 2.6.21
Since lazy MMU batching mode still allows interrupts to enter, it is
possible for interrupt handlers to try to use kmap_atomic, which fails when
lazy mode is active, since the PTE update to highmem will be delayed.  The
best workaround is to issue an explicit flush in kmap_atomic_functions
case; this is the only way nested PTE updates can happen in the interrupt
handler.

Thanks to Jeremy Fitzhardinge for noting the bug and suggestions on a fix.

This patch gets reverted again when we start 2.6.22 and the bug gets fixed
differently.

Signed-off-by: Zachary Amsden <zach@vmware.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-04-08 19:47:55 -07:00
..
2006-10-28 11:30:52 -07:00
2006-12-08 08:28:39 -08:00
2007-03-05 07:57:52 -08:00
2006-01-18 19:20:31 -08:00
2007-01-26 13:50:58 -08:00
2007-02-16 08:13:59 -08:00
2007-02-16 08:13:59 -08:00
2007-03-05 07:57:50 -08:00
2007-02-09 09:14:07 -08:00
2006-01-10 08:01:34 -08:00
2006-10-03 08:03:41 -07:00
2006-02-15 15:32:22 -08:00
2006-12-07 02:14:12 +01:00
2007-02-16 08:13:59 -08:00
2007-03-14 17:53:43 -07:00
2007-01-26 13:50:58 -08:00
2006-12-07 02:14:01 +01:00
2007-03-05 07:57:52 -08:00
2007-02-13 13:26:21 +01:00
2006-09-26 10:52:32 +02:00
2007-02-13 13:26:21 +01:00
2007-02-13 13:26:21 +01:00
2006-06-29 16:58:06 -07:00
2007-03-27 09:05:15 -07:00
2007-03-05 07:57:52 -08:00
2007-03-05 07:57:52 -08:00
2007-03-05 07:57:51 -08:00
2006-12-07 08:39:37 -08:00
2006-12-15 08:47:51 -08:00
2006-10-12 22:25:03 -05:00
2007-03-12 16:36:16 -07:00
2007-03-05 07:57:52 -08:00