freeing data segment

M. Warner Losh imp at bsdimp.com
Wed Oct 29 23:26:49 PST 2003


In message: <BAY2-F168Sc6pT0giSf0001cfb4 at hotmail.com>
            "Vinod R. Kashyap" <vinodrk at hotmail.com> writes:
: 
: Hi,
: 
: I have this huge data structure in the data segment of my scsi driver.  This
: data structure is initialized at driver build time, and is used only during 
: driver
: initialization.  I am trying to find out if I can free-up the memory it 
: occupies,
: once I am done with the driver initialization.  Does anyone know how to do 
: this?

Put it in a module, and unload the module.  Alternatively, load it
from userland.

Warner


More information about the freebsd-hackers mailing list