[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <460E1FC7.5030107@vmware.com>
Date: Sat, 31 Mar 2007 00:45:59 -0800
From: Zachary Amsden <zach@...are.com>
To: Andrew Morton <akpm@...l.org>, Andi Kleen <ak@...e.de>,
Linus Torvalds <torvalds@...l.org>,
Jeremy Fitzhardinge <jeremy@...p.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH] VMI paravirt-ops bugfix for 2.6.21
So lazy MMU mode is vulnerable to interrupts coming in and issuing
kmap_atomic, which does not work when under lazy MMU mode. The window
for this is small, but it means highmem kernels, especially with heavy
network, USB, or AIO workloads are vulnerable to getting invariably
fatal pagefaults in interrupt handlers. For now, the best fix is to
simply disable and re-enable interrupts when entering and exiting lazy
mode (which, btw, is already guaranteed to have preempt disabled). For
the future, a better fix is to simply exit lazy mode when issuing
kmap_atomic, but I do not want to touch any generic code now for 2.6.21.
Hopefully there is still time to apply it. Thanks to Jeremy
Fitzhardinge for pointing this out.
Zach
View attachment "vmi-lazy-mmu-fix.patch" of type "text/plain" (2415 bytes)
Powered by blists - more mailing lists