|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] BSS region in xen_in_range is incorrect
 
In c/s 21038, console_init_postirq frees default static ring buffer if a 
dynamic one was obtained. This makes dom0 can use the default static ring 
buffer which is in BSS region, but xen_in_range didn't remove the region from 
BSS region which won't be mapped in VT-d page table, so it causes problems when 
a device DMAs to that region. To fix this issue, 1) remove the freed region 
from BSS region in xen_in_range; 2) don't free default static ring buffer. 
Method 1) can fix it cleanly, but maybe need many changes. Method 2) is simple, 
but it wastes some resources.
Keir / Jan, what's your opinion?
Regards,
Weidong
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-devel] BSS region in xen_in_range is incorrect,
Han, Weidong <=
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |