lazy mmu and interrupts
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
Quoted 4 lines · Jeremy Fitzhardinge
Do you disable interrupts when
lazy_mmuis active? Otherwise, it seems to me that drivers will have problems usingkmap_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
Quoted 3 lines · Zachary Amsden
Yup, that's a pretty serious bug. Looks like the lazy mmu code needs to save and restore interrupts, or alternatively, have
kmap_atomicturn offlazy_mmuif it is enabled.
Have you seen it? I did a little lazy_mmu prototype last night and it popped up pretty quickly.
J