[ofa-general] Re: [POSSIBLE BUG] use of tasklet_unlock in ipath_no_bufs_available

Steven Rostedt rostedt at goodmis.org
Mon Jun 25 13:49:08 PDT 2007


On Mon, 2007-06-25 at 13:37 -0700, Ralph Campbell wrote:
> This was fixed by a patch that Arthur Jones sent out to
> general at lists.openfabrics.org

Great!

> 
> Tue Jun 19 16:42:09 PDT 2007
> [PATCH 17/28] IB/ipath - wait for PIO available interrupt
> 
> I imagine that it is working its way into Roland's git tree
> for Linus.

 	 * tasklet_hi_schedule() is called.
-	 * We clear the tasklet flag now since we are committing to return
-	 * from the tasklet function.
+	 * We leave the busy flag set so that another post send doesn't
+	 * try to put the same QP on the piowait list again.
 	 */
-	clear_bit(IPATH_S_BUSY, &qp->s_busy);
-	tasklet_unlock(&qp->s_task);
 	want_buffer(dev->dd);
 	dev->n_piowait++;

This removes the final use of tasklet_unlock.  I'll submit a patch to
remove this from being a public function. So no others think they can
easily get to the internals of a tasklet.

-- Steve





More information about the general mailing list