On Tue, 18 Oct 2011, Jukka Ruohonen wrote:

On Tue, Oct 18, 2011 at 12:07:45AM +0000, Jared D. McNeill wrote:
Module Name:    src
Committed By:   jmcneill
Date:           Tue Oct 18 00:07:45 UTC 2011

Modified Files:
        src/sys/arch/x86/x86: vmt.c

Log Message:
don't allow module autounload

I wonder should autounloading be prohibited for all driver-class modules?

Why? Doesn't it make more sense to have a driver keep track of whether or not it has attached any instances, and prohibit the unload if the count is non-zero? If a device appears later, the driver can always be re-loaded...


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------

Reply via email to