Re: [PATCH] Remove module reference counting.

From: Rahul Karnik (rahul@genebrew.com)
Date: Mon Jul 28 2003 - 21:39:29 EST


Rusty,

> Yes, but that cuts both ways: noone fixes these broken drivers, but
> work around them using module removal, leaving newbies with broken
> laptops 8(

Good point; so there's the work of fixing power management with drivers
known to load and unload correctly (dependent on hardware specs,
undocumented registers, etcc), or adding refcounting to fix the
remaining cases of drivers that do not unload safely (solvable in
kernel). Pick your poison. :)

By the way, what about a reload option that re-inits the module? Is that
possible/present, or subject to the same difficulties as unloading?

> Not really. Adding modules is required. Removing them is a more
> dubious goal, and if we didn't already have it, I know we'd balk at
> doing it.

Fair enough. I think we all agree that module unloading is a hard problem.

Thanks,
Rahul

-- 
Rahul Karnik
rahul@genebrew.com

- 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 : Thu Jul 31 2003 - 22:00:38 EST