svn commit: r255360 - head/sys/net

Ed Schouten ed at 80386.nl
Sun Sep 8 19:48:07 UTC 2013


2013/9/8 Davide Italiano <davide at freebsd.org>:
> As a side note, I've already discussed with Kostik how to handle this
> in the future and he thinks (and I agree) that the right action there
> is to remove clones and SI_CHEAPCLONE, or implement the real
> SI_CHEAPCLONE semantic.

Yes. Exactly. I've also noticed that if we get rid of this, we can
also get rid of a couple of members of cdevsw and cdev. Right now it
has to keep track of a couple of lists here and there that are
actually only needed when using clonelists.

If you get rid of clonelists, you'll end up with a system where the
only relationship between cdevsws and devs is the pointer in the cdev
to the cdevsw.

-- 
Ed Schouten <ed at 80386.nl>


More information about the svn-src-all mailing list