Re: Rusty's module talk at the Kernel Summit

Kai Henningsen
2002-07-12T06:56:43Z

rusty@rustcorp.com.au (Rusty Russell) wrote on 12.07.02 in <20020711235822.8B2494849@lists.samba.org>:

> I noted previously that you can do it if you do restrict the interface
> to "one module, one fs" approach, as you've suggested here. Al
> corrected me saying that's not neccessary. It's possible that he's
> come up with a new twist on the "freeze-the-kernel" approach or
> something.
>
> Al has scribbled in the margin that there's a clever solution, let's
> hope he doesn't die before revealing it. 8)

I suspect it's simply generalizing the concept of a registered interface.

Suppose you had *one* data structure that described *all* interfaces this
module supports, and you call *one* (un)register function to do the job.

Then, you are essentially in the same situation as you are today when you
support exactly one fs, no?

Of course, this registration abstraction must be powerful enough to do
everything you can do today without it, but that's just a SMOP ...

MfG Kai