Messages in this thread | | | Subject | Re: Linux/Pro -- clusters | Date | Mon, 10 Dec 2001 21:44:53 +0000 (GMT) | From | Alan Cox <> |
| |
> Object lifetime becomes explicit, and we don't have to > worry about re-use races since a new instance of that major,minor > will have a different object attached to the one in use that is > about to be refcounted into oblivion by currently active requests > > As described, my setup certainly has no re-use races, since > I do not use refcounts as a way to terminate the lifespan of > a kdev_t. So, are you saying that you prefer my version? > I have problems reading your replies.
I have problems understanding your argument. Basically you seem to be saying "void * is cool" (aka kdev_t is basically an opaque magic). I don't see what it gains you over "struct block_device *".
Alan - 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/
| |