scsi module starts kernel thread - insmod stays running in 'ps'

Manfred Spraul manfreds en colorfullife.com
Vie Ene 28 22:26:42 CST 2000


Matt_Domsch en Dell.com wrote:
> 
> I'm working with a vendor on a SCSI adapter driver.  The adapter starts a
> kernel thread after it's detected it's hardware.  When the module is loaded,
> the 'insmod driver.o' command returns, but 'insmod driver.o' remains visible
> when running 'ps auxgw'.  If this module is loaded in an initrd, the initrd
> cannot be unmounted cleanly.
> 

Do you call daemonize() at the beginning of the kernel thread? That
function should get rid of the user space pages.

--
	Manfred

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



Más información sobre la lista de distribución Ayuda