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

Kernel space size in virtual memory size #59

Open
krzyzanowskim opened this issue Jan 29, 2024 · 0 comments
Open

Kernel space size in virtual memory size #59

krzyzanowskim opened this issue Jan 29, 2024 · 0 comments

Comments

@krzyzanowskim
Copy link

Linux's solution is to always allocate the top half of the virtual memory space to the kernel

https://github.com/hackclub/putting-the-you-in-cpu/blame/7550bc67f911795f356c36502bdaa645a0f1400a/src/content/chapters/5-the-translator-in-your-computer.mdx#L63

the wording suggest linux allocate half of the address space for kernel, but to my understanding it allocate in the higher half, not necessary the whole half. more like ¼

image https://elinux.org/images/b/b0/Introduction_to_Memory_Management_in_Linux.pdf

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

1 participant