Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 10 Oct 2002 18:13:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 10 Oct 2002 18:13:17 -0400 Received: from ns.suse.de ([213.95.15.193]:23052 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id ; Thu, 10 Oct 2002 18:13:16 -0400 Date: Fri, 11 Oct 2002 00:19:01 +0200 From: Andi Kleen To: Mark Peloquin Cc: ak@suse.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH] EVMS core (3/9) discover.c Message-ID: <20021011001901.A16277@wotan.suse.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.22.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 566 Lines: 14 > We plan to register a "__this_module.can_unload()" that > should prevent plugin modules from unloading during > discovery. Ok in this case. But how about when you search that list later after discovery for some reason and drop the lock. Then you could race with someone else removing the plugin inbetween, no ? -Andi - 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/