levex / osdev

Fourth rewrite of LevOS, aiming for POSIX compliance.
220 stars 30 forks source link

Malloc question #1

Open makerimages opened 8 years ago

makerimages commented 8 years ago

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?

cjhannah commented 7 years ago

pmalloc allocates memory page aligned. should be obvious

ghost commented 3 months ago

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.