> > + 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 spinloc
Le vendredi 14 mars 2014 à 21:52 +0530, Hariprasad Shenai a écrit :
> From: Steve Wise
[...]
> Signed-off-by: Steve Wise
> ---
> drivers/infiniband/hw/cxgb4/device.c| 177
> ++--
> drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 9 +-
> drivers/infiniband/h
From: Steve Wise
The current logic suffers from a slow response time to disable user DB
usage, and also fails to avoid DB FIFO drops under heavy load. This commit
fixes these deficiencies and makes the avoidance logic more optimal.
This is done by more efficiently notifying the ULDs of potential