Re: owner field in `struct fs'

From: Rusty Russell (rusty@linuxcare.com.au)
Date: Sat Jun 24 2000 - 11:33:30 EST


In message <E135sFV-00002L-00@the-village.bc.nu> you write:
> > explicit module support, I'm wondering what's wrong with simply
> > controlling the module count in the module's open()/release()
> > functions in these cases?
>
> By the time you enter the open function it may have been unloaded

That's easy to solve by (as posted on netdev) making sure all CPUs are
running a `freeze' thread on module removal. If that's *all* it's
for, it's both overkill for struct fs, and insufficient for other
congruent cases.

Philipp Rumpf has offered to supply the patch shortly,
Rusty.

--
Hacking time.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:04 EST