I have disabled swapping altogether on my OS X 10.8.2 (which runs x86 LP64 kernel) box for experimental reasons, I know this is a bad idea.
When I do a system call from any app what does the address space layout look like ? I.e. Now as entire address space is wired down ( no swapping ) can I deterministically access any valid user address from kernel and assume that page containing that address is resident in memory ?
My understanding is yes but I am a bit confused after reading that no matter whether user space is 64 bit or 32 bit OS X kernel always runs in 32 bit mode and entire process adress space get switched out and entire 4G is taken by kernel. Is this applicable for 10.8.2 ? If this is the case then I will not be able to access any valid user space address from kernel space, right?