* lazy mmu and interrupts
@ 2007-03-28 17:28 Jeremy Fitzhardinge
2007-03-28 23:12 ` Zachary Amsden
0 siblings, 1 reply; 3+ messages in thread
From: Jeremy Fitzhardinge @ 2007-03-28 17:28 UTC (permalink / raw)
To: Zachary Amsden; +Cc: Virtualization Mailing List
Do you disable interrupts when lazy_mmu is active? Otherwise, it seems
to me that drivers will have problems using kmap_atomic() within an
interrupt routine...
J
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: lazy mmu and interrupts
2007-03-28 23:12 ` Zachary Amsden
@ 2007-03-28 23:01 ` Jeremy Fitzhardinge
0 siblings, 0 replies; 3+ messages in thread
From: Jeremy Fitzhardinge @ 2007-03-28 23:01 UTC (permalink / raw)
To: Zachary Amsden; +Cc: Virtualization Mailing List
Zachary Amsden wrote:
> Yup, that's a pretty serious bug. Looks like the lazy mmu code needs
> to save and restore interrupts, or alternatively, have kmap_atomic
> turn off lazy_mmu if it is enabled.
Have you seen it? I did a little lazy_mmu prototype last night and it
popped up pretty quickly.
J
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: lazy mmu and interrupts
2007-03-28 17:28 lazy mmu and interrupts Jeremy Fitzhardinge
@ 2007-03-28 23:12 ` Zachary Amsden
2007-03-28 23:01 ` Jeremy Fitzhardinge
0 siblings, 1 reply; 3+ messages in thread
From: Zachary Amsden @ 2007-03-28 23:12 UTC (permalink / raw)
To: Jeremy Fitzhardinge; +Cc: Virtualization Mailing List
Jeremy Fitzhardinge wrote:
> Do you disable interrupts when lazy_mmu is active? Otherwise, it seems
> to me that drivers will have problems using kmap_atomic() within an
> interrupt routine...
>
Yup, that's a pretty serious bug. Looks like the lazy mmu code needs to
save and restore interrupts, or alternatively, have kmap_atomic turn off
lazy_mmu if it is enabled.
Zach
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-28 23:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-28 17:28 lazy mmu and interrupts Jeremy Fitzhardinge
2007-03-28 23:12 ` Zachary Amsden
2007-03-28 23:01 ` Jeremy Fitzhardinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).