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

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Fri Jan 28 2000 - 15:05:34 EST


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/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:22 EST