32 位和 64 位版本的 windows 操作系统的页面大小是多少? [英] What is the page size for 32 and 64 bit versions of windows Os?

查看:425
本文介绍了32 位和 64 位版本的 windows 操作系统的页面大小是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道 32 位和 64 位版本的 Windows 操作系统中虚拟内存的默认页面大小.例如:Linux (x86) 的页面大小为 4 Kb.

I want to know the default page size for virtual memory in windows Os for both 32 and 64 bit versions. For ex: the page size of Linux (x86) is 4 Kb.

推荐答案

调用 GetSystemInfo 或更好 GetNativeSystemInfo 并寻找 SYSTEM_INFO 结构.但是现在在 x86 和 x64 页面大小的窗口下都是 0x10004Kb

call GetSystemInfo or better GetNativeSystemInfo and look for dwPageSize member of SYSTEM_INFO structure. however now under windows in both x86 and x64 page size is 0x1000 or 4Kb

这篇关于32 位和 64 位版本的 windows 操作系统的页面大小是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆