Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 3 Jul 2002 12:52:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 3 Jul 2002 12:51:54 -0400 Received: from mail.clsp.jhu.edu ([128.220.34.27]:57565 "EHLO mail.clsp.jhu.edu") by vger.kernel.org with ESMTP id ; Wed, 3 Jul 2002 12:51:44 -0400 Date: Wed, 3 Jul 2002 05:48:09 +0200 From: Pavel Machek To: "Richard B. Johnson" Cc: "Stephen C. Tweedie" , Bill Davidsen , Linux-Kernel Mailing List Subject: simple handling of module removals Re: [OKS] Module removal Message-ID: <20020703034809.GI474@elf.ucw.cz> References: <20020702123718.A4711@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-Warning: Reading this can be dangerous to your mental health. Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 782 Lines: 22 Hi! Okay. So we want modules and want them unload. And we want it bugfree. So... then its okay if module unload is *slow*, right? I believe you can just freeze_processes(), unload module [now its safe, you *know* noone is using that module, because all processes are in your refrigerator], thaw_processes(). That's going to take *lot* of time, but should be very simple and very effective. Pavel -- Worst form of spam? Adding advertisment signatures ala sourceforge.net. What goes next? Inserting advertisment *into* email? - 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/