Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2003 00:26:45 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        vinodrk@hotmail.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: freeing data segment
Message-ID:  <20031030.002645.16965423.imp@bsdimp.com>
In-Reply-To: <BAY2-F168Sc6pT0giSf0001cfb4@hotmail.com>
References:  <BAY2-F168Sc6pT0giSf0001cfb4@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <BAY2-F168Sc6pT0giSf0001cfb4@hotmail.com>
            "Vinod R. Kashyap" <vinodrk@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031030.002645.16965423.imp>