Paul Mackerras <paulus@samba.org> writes: > Eric W. Biederman writes: > >> Well the basic problem is that for any piece of code that can be modular >> we need a way to ensure all threads it has running are shutdown when we >> remove the module. > > The EEH code can't be modular, and wouldn't make any sense to be > modular, since it's part of the infrastructure for accessing PCI > devices. Agreed. However most kthread users are modular and make sense to be so we need to design to handle modular users. I don't think the idiom of go fire off a thread to handle something is specific to non-modular users. Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Remaining straight forward kthread API conversions...
- From: ebiederm@xmission.com (Eric W. Biederman)
- [PATCH] powerpc pseries eeh: Convert to kthread API
- From: "Eric W. Biederman" <ebiederm@xmission.com>
- Re: [PATCH] powerpc pseries eeh: Convert to kthread API
- From: Christoph Hellwig <hch@infradead.org>
- Re: [PATCH] powerpc pseries eeh: Convert to kthread API
- From: linas@austin.ibm.com (Linas Vepstas)
- Re: [PATCH] powerpc pseries eeh: Convert to kthread API
- From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
- Re: [PATCH] powerpc pseries eeh: Convert to kthread API
- From: ebiederm@xmission.com (Eric W. Biederman)
- Re: [PATCH] powerpc pseries eeh: Convert to kthread API
- From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
- Re: [PATCH] powerpc pseries eeh: Convert to kthread API
- From: ebiederm@xmission.com (Eric W. Biederman)
- Re: [PATCH] powerpc pseries eeh: Convert to kthread API
- From: Paul Mackerras <paulus@samba.org>
- Remaining straight forward kthread API conversions...
- Prev by Date: Re: is there any generic GPIO chip framework like IRQ chips?
- Next by Date: Re: [REPORT] cfs-v4 vs sd-0.44
- Previous by thread: Re: [PATCH] powerpc pseries eeh: Convert to kthread API
- Next by thread: Re: [PATCH] powerpc pseries eeh: Convert to kthread API
- Index(es):
![]() |