|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Kernel bug from 3.0 (was phy disks and vifs timing out i
On 09/01/2011 08:44 AM, Ian Campbell wrote:
>
> blkback, xenbus_client and the grant table stuff all use it as well and
> AFAICT have the same requirement for syncing.
>
> $ git grep alloc_vm_area
> arch/x86/include/asm/xen/grant_table.h:#define xen_alloc_vm_area(size)
> alloc_vm_area(size)
>
> -- this macro is unused...
>
> arch/x86/xen/grant-table.c: xen_alloc_vm_area(PAGE_SIZE *
> max_nr_gframes);
> drivers/block/xen-blkback/xenbus.c: blkif->blk_ring_area =
> alloc_vm_area(PAGE_SIZE);
> drivers/net/xen-netback/netback.c: vif->tx_comms_area =
> alloc_vm_area(PAGE_SIZE);
> drivers/net/xen-netback/netback.c: vif->rx_comms_area =
> alloc_vm_area(PAGE_SIZE);
> drivers/xen/xenbus/xenbus_client.c: area = xen_alloc_vm_area(PAGE_SIZE);
Well, 3/5ths unused.
J
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|