Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Malloc question #1

Open
makerimages opened this issue Dec 15, 2015 · 2 comments
Open

Malloc question #1

makerimages opened this issue Dec 15, 2015 · 2 comments

Comments

@makerimages
Copy link

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
Copy link

pmalloc allocates memory page aligned. should be obvious

@ThunderStud613
Copy link

ThunderStud613 commented May 15, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants