Re: Modules and the Interfaces who Love Them (Take I)

Jeff Garzik (jgarzik@pobox.com)
Wed, 13 Nov 2002 23:34:07 -0500


Rusty Russell wrote:

> Slow: Your approach where every interface has to do reference counts
> even though they're only useful for modules makes every interface
> slow, whether they are using modules or not. You can't make them
> fast, because that would make every interface NR_CPUS *
> sizeof(cacheline) larger.

(tangent alert)

Objects controlled by interfaces typically should be ref-counted...
life in the kernel is slowly getting better WRT this, but we're not
there yet. In any case, the ref counts help, not hurt.

Jeff

-
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/