All of lore.kernel.org
 help / color / mirror / Atom feed
* module references
@ 2005-11-23  2:58 Hollis Blanchard
  2005-11-23 12:33 ` Marco Gerards
  0 siblings, 1 reply; 6+ messages in thread
From: Hollis Blanchard @ 2005-11-23  2:58 UTC (permalink / raw)
  To: The development of GRUB 2

Right now I'm getting a lot of these:
	../fs/affs.c: In function `grub_mod_init':
	../fs/affs.c:556: warning: unused parameter `mod'
... in fact, one for every GRUB_MOD_INIT in fs/ and partmap/, it seems.

This led me to examine the module reference counting system. Most 
filesystems don't do anything more than set a "my_mod" global variable, 
and never use it. fat.c, on the other hand, seems to actually be trying 
to use a refcount.

Are modules ever automatically unloaded? When? If so, we need a lot 
more reference counting. If not, we've got some unnecessary complexity 
we should remove.

-Hollis




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

end of thread, other threads:[~2005-11-24  7:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-23  2:58 module references Hollis Blanchard
2005-11-23 12:33 ` Marco Gerards
2005-11-23 22:46   ` Hollis Blanchard
2005-11-24  6:23     ` Vesa Jääskeläinen
2005-11-24  7:28       ` Marco Gerards
2005-11-24  7:57         ` Vesa Jääskeläinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.