public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* agpgart.ko can't be unloaded
@ 2005-12-15 20:19 Krzysztof Halasa
  2005-12-15 20:38 ` Krzysztof Halasa
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Krzysztof Halasa @ 2005-12-15 20:19 UTC (permalink / raw)
  To: Dave Jones; +Cc: linux-kernel

Hi,

I recently noticed that agpgart.ko (and corresponding hardware driver)
can't be unloaded:

Module                  Size  Used by
intel_agp              19228  1 
agpgart                27592  1 intel_agp

The same is true for via_agp and probably for all other drivers.

The problem is agpgart increases reference count of hw driver
to prevent it from being unloaded, and the hw driver references
agpgart so agpgart can't be unloaded either.

Should agpgart be split into 2 parts, one (which would have to be unloaded
first) managing the thing and the other - the library referenced by
hw drivers?

I wouldn't write about this but there is code to unload them so I think
it's not intentional.
-- 
Krzysztof Halasa

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-12-17 15:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-15 20:19 agpgart.ko can't be unloaded Krzysztof Halasa
2005-12-15 20:38 ` Krzysztof Halasa
2005-12-17  1:31   ` Rusty Russell
2005-12-17 15:16     ` Krzysztof Halasa
2005-12-15 20:52 ` Dave Jones
2005-12-15 22:58   ` Krzysztof Halasa
2005-12-16 22:28 ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox