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

Manfred Spraul (manfreds@colorfullife.com)
Fri, 28 Jan 2000 21:05:34 +0100


Matt_Domsch@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@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/