Re: Write-Combine memory
- From: "Leo" <nospam@xxxxxxxxxx>
- Date: Fri, 29 Sep 2006 11:11:35 +0200
"Bob Gonder" <notbg@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:s4toh2192tu1ktiefh4stdbt0brbav0dpl@xxxxxxxxxx
Leo wrote:
Please don't cross-post.
It is against Borland's guidlines.
I wasn't aware of that.
Is it possible to mark an array as a Write-Combine memory? That is:
No.
But you should be able to mark a page of memory as such.
Allocate one or more pages of memory, marked as Write-Combine, and use
that memory for your array.
Why doesn't VirtualProtect work?
1) Write combining is enabled.
2) Cache is not updated on cache misses.
No.
Write-Combine is a cache strategy.
You can not have Write-Combine without cache turned on.
According to AMD x86-64 Architecture Programmer's Manual Volume 2:
"Write-Combining (WC)-Reads from, and writes to, WC memory are not
cacheable."
This is written several times and this can also explain the difference
between mov and maskmovq I am getting.
.
- Follow-Ups:
- Re: Write-Combine memory
- From: Bob Gonder
- Re: Write-Combine memory
- References:
- Re: Write-Combine memory
- From: Bob Gonder
- Re: Write-Combine memory
- Prev by Date: Re: Write-Combine memory
- Next by Date: Re: Write-Combine memory
- Previous by thread: Re: Write-Combine memory
- Next by thread: Re: Write-Combine memory
- Index(es):
Relevant Pages
|
|