I need to map most of the computer memory as uswc to take advantage of non-caching movntdqa. Is there any easy way to do this under windows or linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Under Linux, this is easy – although you’ll have to be careful that you don’t map kernel memory to W/C – that could get ugly. Assuming you know how to reserve a physical range of memory from userspace, you can then use “/proc/mtrr” to change the memory type.
One example page describing the interface is here