[openib-general] [PATCH] git ucm for 2.6.18: convert semaphore to mutex

Roland Dreier rdreier at cisco.com
Thu May 25 15:58:02 PDT 2006


BTW I went back and rewrote history so that this chunk:

 > @@ -1159,10 +1159,8 @@ static unsigned int ib_ucm_poll(struct f
 >  
 >  	poll_wait(filp, &file->poll_wait, wait);
 >  
 > -	down(&file->mutex);
 >  	if (!list_empty(&file->events))
 >  		mask = POLLIN | POLLRDNORM;
 > -	up(&file->mutex);
 >  
 >  	return mask;
 >  }

isn't needed any more.  But that means I rebased my whole for-2.6.18
branch, because the patch that added that chunk was the first one in
the series...

 - R.



More information about the general mailing list