Re: [PATCH net-next 2/2] cxgb4/iw_cxgb4: Doorbell Drop Avoidance Bug Fixes

2014-03-26 Thread Yann Droneaud
Le vendredi 14 mars 2014 à 21:52 +0530, Hariprasad Shenai a écrit : From: Steve Wise sw...@opengridcomputing.com [...] Signed-off-by: Steve Wise sw...@opengridcomputing.com --- drivers/infiniband/hw/cxgb4/device.c| 177 ++--

RE: [PATCH net-next 2/2] cxgb4/iw_cxgb4: Doorbell Drop Avoidance Bug Fixes

2014-03-26 Thread Steve Wise
+ uresp.status_page_size = PAGE_SIZE; + + spin_lock(context-mmap_lock); + uresp.status_page_key = context-key; + context-key += PAGE_SIZE; + spin_unlock(context-mmap_lock); + Is it really necessary to spinlock here since context