All of lore.kernel.org
 help / color / mirror / Atom feed
* How does malloc tell the kernel to allocate more memory?
@ 2002-12-08 18:46 Joseph D. Wagner
  2002-12-08 19:29 ` Boris Bezlaj
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Joseph D. Wagner @ 2002-12-08 18:46 UTC (permalink / raw)
  To: Linux C Programming, Linux Newbie

I'm trying to write a tracer on memory allocation, and I'm having a little
trouble figuring this out.

At some point, malloc has to call the kernel to tell it to allocate more
memory for this user process, right?  I can't figure out which function
malloc calls, or where in the code (line number) it's called.

I'm looking at glib-2.3.1 to try and find my answers.  After all, that's
where malloc is defined, right?

TIA.

Joseph Wagner


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-12-09  6:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-08 18:46 How does malloc tell the kernel to allocate more memory? Joseph D. Wagner
2002-12-08 19:29 ` Boris Bezlaj
2002-12-08 19:42   ` Ibraheem Umaru-Mohammed
2002-12-08 21:20 ` Glynn Clements
2002-12-09  0:34   ` How does malloc tell the kernel to allocate more memory? -- CORRECTION Joseph D. Wagner
2002-12-09  6:55 ` How does malloc tell the kernel to allocate more memory? Heinrich du Toit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.