Page 1 of 1

kernel heap

Posted: Sat Jan 29, 2011 4:44 am
by digo_rp
Hi, guys, it´s nice to be here again :-D

I have one question, please in case of looking a stupid question, forgive-me please.

What is kernel heap? I read in so much pages at google, but as my english is so poor, I cannot understand at all.

could anyone helps me please.

Re: kernel heap

Posted: Sat Jan 29, 2011 7:36 am
by gravaera
Yo,

The kernel provides page-level memory management. Userspace provides arbitrarily-sized allocation granularity by taking the kernel's page-granular allocator and breaking down large the large chunks returned by it into small blocks. The name of the abstraction that breaks down page-size allocations from the kernel into small blocks is the "heap".

Some people also provide a heap for kernel space. Heap functions are things like C's malloc()/free(), C++'s new()/delete(), pascal's new()/dispose(), etc. They return memory of the size you indicated.

--All the best,
gravaera

Re: kernel heap

Posted: Sat Jan 29, 2011 6:30 pm
by digo_rp
tnx a lot man, as my english is so poor, some stuf I cannot understand well, then I try some translator,

but is nothing like really understand ....

:-D