Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263547AbTFPIPd (ORCPT ); Mon, 16 Jun 2003 04:15:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263558AbTFPIPd (ORCPT ); Mon, 16 Jun 2003 04:15:33 -0400 Received: from dp.samba.org ([66.70.73.150]:19609 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id S263547AbTFPIPc (ORCPT ); Mon, 16 Jun 2003 04:15:32 -0400 From: Rusty Russell To: Martin Diehl Cc: NeilBrown , torvalds@transmeta.com, linux-kernel@vger.kernel.org, akpm@zip.com.au Subject: Re: [PATCH] Add module_kernel_thread for threads that live in modules. In-reply-to: Your message of "Mon, 16 Jun 2003 09:58:43 +0200." Date: Mon, 16 Jun 2003 18:09:23 +1000 Message-Id: <20030616082925.AF5EE2C0D2@lists.samba.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 908 Lines: 23 In message you write: > Why using keventd? Personally I'd prefer a synchronous thread start/stop, > particularly with the thread living in a module. > Maybe some generalisation of: It would be syncronous: but doing kernel_thread yourself means trying to clean up using daemonize et al, which is incomplete and always makes me nervous. An implementation detail to users, but IMHO an important one. Also, this replaces complete_and_exit: the thread can just exit. This simplifies things for the users, too... Cheers, Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - 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/