Guard Page Size: Balancing Overflow Defense and Memory Overhead

While larger guard pages (e.g., 1MB) offer stronger protection against complex stack overflows by creating a larger buffer, they introduce trade-offs. Increased guard page size can lead to higher memory consumption and potentially reduce Translation Lookaside Buffer (TLB) efficiency, impacting overall system performance due to more TLB misses.

Sources

Open the full topic