diff options
author | 2009-12-15 16:48:11 -0800 | |
---|---|---|
committer | 2009-12-16 07:20:15 -0800 | |
commit | 67bf04a5c2574e9495f660f418f6df776821d578 (patch) | |
tree | ff28ab4983b007136da88786c8966ea1598841a0 /lib/dma-debug.c | |
parent | gru: check for valid vma (diff) | |
download | linux-dev-67bf04a5c2574e9495f660f418f6df776821d578.tar.xz linux-dev-67bf04a5c2574e9495f660f418f6df776821d578.zip |
gru: fix prefetch and speculation bugs
Fix several bugs related to prefetch, ordering & speculation:
- GRU cch_allocate() instruction causes cacheable memory
to be created. Add a barriers to prevent speculation
from prefetching data before it exists.
- Add memory barriers before cache-flush instructions to ensure
that previously stored data is included in the line flushed to memory.
Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions