Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 1997 10:31:25 -0400 (EDT)
From:      Peter Dufault <dufault@hda.com>
To:        julian@whistle.com (Julian Elischer)
Cc:        hackers@freebsd.org
Subject:   Re: special malloc needs...
Message-ID:  <199708261431.KAA00906@hda.hda.com>
In-Reply-To: <Pine.BSF.3.95.970825221211.8912E-100000@current1.whistle.com> from Julian Elischer at "Aug 25, 97 10:13:35 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> There is only one way I can think of doing what is requested..
> 
> write a silly little pseudo device that allocates a couple of meg
> of physical contig ram at startup
> 
> mmap it into your address space..

Exactly.  And it isn't a stupid question - you may want
to play around with some hardware from user space.  May as well
have a common mmap against "/dev/contig".  You're still a lot better
off in a user space sandbox than an LKM.

The problem is the abuse this could engender from people
foolishly fragmenting memory, etc.

-- 
Peter Dufault (dufault@hda.com)   Realtime development, Machine control,
HD Associates, Inc.               Safety critical systems, Agency approval



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