Re: Process virtual address space
Thanks Shantonu, That’s a great insight ! -Prokash On Oct 28, 2015, at 8:34 PM, Shantonu Sen <ssen@apple.com> wrote:
Yes, it's shared unless you set the -no_shared_cr3 boot arg
32-bit Mach-O doesn't change that. The kernel maintains page tables for processes regardless of whether they are 32-bit or 64-bit, but 32-bit processes only use 0-4GB of the address space.
Shantonu
On Oct 28, 2015, at 6:40 PM, Prokash Sinha <prokash@garlic.com> wrote:
Folks,
I just saw in osx internal book ( by Levin), that in 64bit indeed the kernel space is shared mapped, like Windows and Linux.
So that was the confusion.
Correct me if I’m wrong, please.
What would happen if the process is 32 Mach-O ? Would there be some thunk layer, that would make it as if the process virtual address space is shared.
Thanks, Prokash _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/ssen%40apple.com
This email sent to ssen@apple.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Prokash Sinha