Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2003 17:47:41 +0200
From:      Pawel Jakub Dawidek <nick@garage.freebsd.pl>
To:        earthman <earthman@inbox.ru>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: user malloc from kernel
Message-ID:  <20030929154741.GB520@garage.freebsd.pl>
In-Reply-To: <811112091.20030929172247@inbox.ru>
References:  <16244.53594.942762.784390@canoe.dclg.ca> <20030927115306.R34638@woozle.rinet.ru> <3F759589.9070700@mindspring.com> <811112091.20030929172247@inbox.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--rS8CxjVDS/+yyDmU
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Sep 29, 2003 at 05:22:47PM +0300, earthman wrote:
+> how to allocate some memory chunk
+> in user space memory from kernel code?
+> how to do it correctly?

Here you got sample kernel module which do this:

	http://garage.freebsd.pl/usmalloc.tgz
	http://garage.freebsd.pl/usmalloc.README

--=20
Pawel Jakub Dawidek                       pawel@dawidek.net
UNIX Systems Programmer/Administrator     http://garage.freebsd.pl
Am I Evil? Yes, I Am!                     http://cerber.sourceforge.net

--rS8CxjVDS/+yyDmU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iQCVAwUBP3hUHT/PhmMH/Mf1AQEMUwP+NSkHrY3TWcGnuk42xxuP2bocLevr299T
WV9xtz6J0hPHSRt7eqxCcJTM4zfkjjdMABTZaSe7qkUhVRsgUB5uUk9jru0UT1jj
qzGkAvuUr47Ule8DfcGvEapw7kdD70c6WdXKLT5KUG4IJoKbA4b6EGKxBE8AOmEA
VPReQeM39pI=
=PufO
-----END PGP SIGNATURE-----

--rS8CxjVDS/+yyDmU--



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