* Chris Ptacek <[EMAIL PROTECTED]> [011115 15:22] wrote:
> Hey all, I have a couple questions about kernel mallocs.
>
> I am trying to malloc a large amount of memory for a KLD during load and the
> malloc keeps failing. I am trying to malloc 64-128MB for a memory pool for
> a project I am working on. My system has 196MB of memory and the KLD is
> loaded at startup so I am relativly sure that I have enough memory to
> satisfy the request.
You're probably incorrect. I know malloc looks easy, but what you
want to use is the underlying mechanisms that malloc uses, vm_alloc
or whatnot.
--
-Alfred Perlstein [[EMAIL PROTECTED]]
'Instead of asking why a piece of software is using "1970s technology,"
start asking why software is ignoring 30 years of accumulated wisdom.'
http://www.morons.org/rants/gpl-harmful.php3
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message