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

From: Jeff Garzik (jgarzik@pobox.com)
Date: Wed Nov 13 2002 - 23:34:07 EST


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/



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:32 EST