From owner-freebsd-questions@FreeBSD.ORG Mon Aug 8 16:27:28 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84FFC16A41F for ; Mon, 8 Aug 2005 16:27:28 +0000 (GMT) (envelope-from munjal_kapadia@yahoo.com) Received: from web54708.mail.yahoo.com (web54708.mail.yahoo.com [206.190.49.198]) by mx1.FreeBSD.org (Postfix) with SMTP id F26C343D46 for ; Mon, 8 Aug 2005 16:27:27 +0000 (GMT) (envelope-from munjal_kapadia@yahoo.com) Received: (qmail 83180 invoked by uid 60001); 8 Aug 2005 16:27:27 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IsOuksGW2+IuVny2/MJknaM1i2S83rVa7E+hwN/g3XcYkT+Q5dF+4rhcsLD4AksDpPPlJIigiauZsPWphgfNHYly/ZiZBdw+ub/vp4MDhyS/WeE6GTU+gbLRBH5V7aEKTwzhOpAo5KzxCfKG/f4iyxYNAQV6pfYYaFxgFuAJMs4= ; Message-ID: <20050808162727.83178.qmail@web54708.mail.yahoo.com> Received: from [216.240.27.23] by web54708.mail.yahoo.com via HTTP; Mon, 08 Aug 2005 09:27:27 PDT Date: Mon, 8 Aug 2005 09:27:27 -0700 (PDT) From: Munjal Kapadia To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: creation and deletion of ramdisk does not free up kernel address space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 16:27:28 -0000 Hi all, I do the following: 1. I create a ramdisk the following way: mdconfig -a -t malloc -o reserve -s 128M 2. then I delete the ramdisk: mdconfig -d -u md3 3. next, I load a kmod. But I notice that the address the kmod gets loaded is off by 0x8000000 (= 128M) as compared to the address that the kmod gets loaded when i do not create and delete the ramdisk. Thus, without the creation and deletion of ramdisk, if kmod loads at 0x822e7000, then with the creation and deletion of ramdisk, the kmod loads at 0x8a2e7000 Can someone please tell me why? Thanks Munjal ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs