Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 1997 08:39:55 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
Cc:        freebsd-current@FreeBSD.ORG (FreeBSD-current users)
Subject:   Re: lockmgr panic 
Message-ID:  <1631.876811195@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 13 Oct 1997 23:08:18 %2B0200." <19971013230818.ZB55478@uriah.heep.sax.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <19971013230818.ZB55478@uriah.heep.sax.de>, J Wunsch writes:
>As Poul-Henning Kamp wrote:
>
>> I hacked this little "genuine ram disk driver" up a couple of days ago,
>> if should do everything you would want to have done if this is for release
>> building:
>
>Well, i think this requires quite a number of changes in the release
>Makefile... so i'm a little reluctant to bring it in before 2.2.5
>ships.  But i get the point.
>
>> #ifndef RD0_SIZE
>> #define RD0_SIZE (80*2*18*512)
>> #endif
>
>That's ugly.  My suggestion: provide two minor numbers per
>pseudo-device.  The first is the actual rd driver, the second is the
>control device.  For the control device, define an ioctl command that
>gets down the desired size, and allocates a (optionally pageable)
>buffer for it.

Joerg, I spent all of 30 minutes on this ting, and I just hacked it
together for a particular experiment, OK ?   :-)

I offered it here as a bandaid if release building was in trouble,
not as a solution for world poverty... :-)

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."



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