Received: by oss.sgi.com id ; Tue, 20 Jun 2000 22:17:53 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:63867 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 20 Jun 2000 22:17:44 -0700 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id WAA05979 for ; Tue, 20 Jun 2000 22:12:46 -0700 (PDT) mail_from (kaos@kao2.melbourne.sgi.com) Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id PAA03088; Wed, 21 Jun 2000 15:16:24 +1000 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: Andrew Morton cc: "netdev@oss.sgi.com" Subject: Re: modular net drivers, take 2 In-reply-to: Your message of "Wed, 21 Jun 2000 04:45:19 GMT." <3950485F.AD6F58C6@uow.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 Jun 2000 15:16:24 +1000 Message-ID: <13465.961564584@kao2.melbourne.sgi.com> Sender: owner-netdev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;netdev-outgoing On Wed, 21 Jun 2000 04:45:19 +0000, Andrew Morton wrote: >Plan M: > >sys_delete_module() doesn't do the vfree(). It schedules it for 5 >seconds in the future. Or provides a mechanism for userland to do this. Does not fix the problem where module open() code is running at the same time as module_exit() code which tears down the kernel structures that open needs. Freeing the code pages while they are in use is only one of the possible failure modes for this race.