search for: tx_freelist

Displaying 2 results from an estimated 2 matches for "tx_freelist".

2007 Nov 26
0
[PATCH] [Mini-OS] Make gnttab allocation/free safe
...e free gnttab entries since they got released above */ buf->gref = req->gref = gnttab_grant_access(0,virt_to_mfn(page),0); @@ -436,8 +437,9 @@ void netfront_xmit(unsigned char* data,i down(&tx_sem); local_irq_save(flags); + id = get_id_from_freelist(tx_freelist); + local_irq_restore(flags); - id = get_id_from_freelist(tx_freelist); buf = &tx_buffers[id]; page = buf->page; @@ -461,7 +463,7 @@ void netfront_xmit(unsigned char* data,i if(notify) notify_remote_via_evtchn(info->evtchn); + local_irq_save(flags); ne...
2010 Oct 01
2
trouble building 4.0.1
I finally decided to build 4.0.1 on my OpenSuSE box. I''ve been plodding along and resolving issues/dependencies as needed but now I''m stumped. While building I get the following message: cc1: warnings being treated as errors netfront.c:41:32: error: variably modified ‘tx_freelist’ at file scope netfront.c:44:34: error: variably modified ‘rx_buffers’ at file scope netfront.c:45:34: error: variably modified ‘tx_buffers’ at file scope make[3]: *** [/usr/src/xen-4.0.1/stubdom/mini-os-x86_32-ioemu/netfront.o] Error 1 make[3]: Leaving directory `/usr/src/xen-4.0.1/extras/mini-os&...