Return to the archive index

Re: Memory allocation questions

To: dg@EMARKT.COM
Cc: 
From: "Joel N. Weber II" <devnull@gnu.ai.mit.edu>
Date: 	Sun, 13 Jul 1997 02:55:14 -0400
Newsgroups: linux.dev.8086

   Date: 	Thu, 10 Jul 1997 23:08:07 BST
   From: dg@emarkt.com

   No, it doesn't. The kernel doesn't use malloc() for a number of reasons,
   the most important probably being that it doesn't *have* malloc() (the
   kernel's got a very limited subset of the standard C library). Data is
   usually stored on the stack rather than the heap, AFAIK. In fact, I
   can't recall ever seeing a kernel-space memory allocation routine...
   I've use mmalloc(), but that allocates the ELKS equivalent of user-
   space memory instead. There's got to be one --- can someone enlighten
   me?

biglinux has kmalloc IIRC.

From Unofficial Linux-8086 Mailing List Archive (ULMLA)
Maintained by Robert
Robert's Mailing List Archive Page

Archive created with babymail