Messages in this thread | | | Date | Wed, 25 Jun 2003 18:56:49 +0100 | From | viro@parcelfa ... | Subject | Re: [RFC][PATCH] nbd driver for 2.5+: fix locking issues with ioctl UI |
| |
On Wed, Jun 25, 2003 at 01:48:16PM -0400, Paul Clements wrote:
> This patch introduces a locking hierarchy between the lo->tx_lock and > lo->queue_lock. The existing driver does not have this limitation. > I would feel a lot better about this patch if you were to recode it > to avoid this.
?????
One of them is a semaphore, another - a spinlock. Of course there always had been a hierarchy - you can't call down() under a spinlock, the damn thing can schedule. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |