Originally posted by agd5f
View Post
Adding support for 2M pages allows each TLB to cover a 512x larger address range, which more or less eliminates TLB thrashing as a performance problem. I believe we mix 4K and 2M pages as needed (big allocations get 2M pages) rather than just forcing everything to 2M and wasting memory but I haven't looked at that part of the final code (I will).
Comment