osdev icon indicating copy to clipboard operation
osdev copied to clipboard

Malloc question

Open makerimages opened this issue 10 years ago • 2 comments

Implemented your memory management in my OS. DO I understand corrently that pmalloc allocates virtual memory? and malloc physical? If not, what does it do?

makerimages avatar Dec 15 '15 15:12 makerimages

pmalloc allocates memory page aligned. should be obvious

cjhannah avatar Dec 12 '16 20:12 cjhannah

Implemented your memory management in my OS. DO I understand corrently that pmalloc allocates virtual memory? and malloc physical? If not, what does it do?

I know this is old, but how the f*** do you blindly implement someone's memory managers and have absolutely no idea what they do? Also, no, malloc() and family should disk up virtual memory, etc.

ghost avatar May 15 '24 05:05 ghost