This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Tue Apr 23 17:37:50 2024 Delivery-date: Tue, 13 Mar 2007 12:34:04 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933227AbXCMMdj (ORCPT ); Tue, 13 Mar 2007 08:33:39 -0400 Received: from odyssey.analogic.com ([204.178.40.5]:2053 "EHLO odyssey.analogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933192AbXCMMdi convert rfc822-to-8bit (ORCPT ); Tue, 13 Mar 2007 08:33:38 -0400 Received: from chaos.analogic.com ([10.112.50.11]) by phoenix.analogic.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 13 Mar 2007 08:33:35 -0400 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from chaos.analogic.com (localhost [127.0.0.1]) by chaos.analogic.com (8.12.11/8.12.11) with ESMTP id l2DCXZkd025835; Tue, 13 Mar 2007 07:33:35 -0500 Received: (from linux-os@localhost) by chaos.analogic.com (8.12.11/8.12.11/Submit) id l2DCXZUO025834; Tue, 13 Mar 2007 07:33:35 -0500 X-OriginalArrivalTime: 13 Mar 2007 12:33:35.0954 (UTC) FILETIME=[D1D34B20:01C7656B] content-class: urn:content-classes:message Subject: Re: Question: kthread zombie process Date: Tue, 13 Mar 2007 08:33:35 -0400 Message-Id: In-Reply-To: <45F693B4.000001.09756@colgate.yandex.ru> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Question: kthread zombie process Thread-Index: Acdla9HysCLdn+/DSBeciP5xK2Lw+w== References: <45F693B4.000001.09756@colgate.yandex.ru> From: "linux-os \(Dick Johnson\)" To: "Mockern" Cc: Reply-To: "linux-os \(Dick Johnson\)" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 13 Mar 2007, Mockern wrote: > Hi, > > I use kthread in my driver. The problem is that I can't kill process > with kill_proc function. After rmmod my_driver, ps command shows again SW > my_driver. > > How can I remove this process? > > Thank you > You need to follow the procedures used by other kernel drivers that use kernel threads. The kernel thread must be properly run-down during the module removal process. An easy to read sample is in ../drivers/wireless/airo.c. Cheers, Dick Johnson Penguin : Linux version 2.6.16.24 on an i686 machine (5592.64 BogoMips). New book: http://www.AbominableFirebug.com/ _  **************************************************************** The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them. Thank you. - 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/