[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] Re: Preliminary work on networking code
On 6 Dec 2005, at 16:09, Magenheimer, Dan (HP Labs Fort Collins) wrote: I'm confused: netback/interface.c:map/unmap_frontend_pages() and netif_map all use consecutive pages and netif->comms_area is set to point to the first of the two pages. Then (also in netif_map) the xmit sring is set to point to the first page and the rcv sring is set to point to the second (of the two consecutive) page. Or are you saying that all of the code in netback/interface.c could/should be rewritten to not make this assumption? (including the calls to free_vm_area(netif->comms_area) which are freeing both pages?) They are arbitrary memory pages that happen to be mapped consecutively in the kernel virtual address space by netback. They get allocated independently in the netfront driver (function setup_device()) and separate grant references are generated for them. -- Keir _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |