Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2001 10:17:20 +0100 (BST)
From:      =?iso-8859-1?q?vishwanath=20pargaonkar?= <vishubp@yahoo.com>
To:        freebsd-hackers@freebsd.org
Subject:   kernel malloc 
Message-ID:  <20010720091720.28756.qmail@web5301.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi,

can any one please help me with this. i want allocate
a memory in the kernel -a buffer of size 2k to 5k.
can i do it using malloc with second parameter as
M_TEMP and third as M_WAITOK.

can anybody tell me what M_TEMP means .what is maximum
malloc i can do with M_TEMP?
will the OS allow me to malloc 4k buffer in side
kernel??shd i give M_WAITOK or M_DONTWAIT???

please tell me.
thanx in advance.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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