Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63878
b: refs/heads/master
c: d3f3c93
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Aug 11, 2007
1 parent 4f6a56c commit 0593a69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f3f7b74a7749c3a669ca146270c07568b548665
refs/heads/master: d3f3c9346979bfa074c64eac5fc3ed5bba4f40ed
2 changes: 1 addition & 1 deletion trunk/arch/i386/mm/pageattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static void flush_kernel_map(void *arg)
struct page *p;

/* High level code is not ready for clflush yet */
if (cpu_has_clflush) {
if (0 && cpu_has_clflush) {
list_for_each_entry (p, lh, lru)
cache_flush_page(p);
} else if (boot_cpu_data.x86_model >= 4)
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/x86_64/mm/pageattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ static void flush_kernel_map(void *arg)

/* When clflush is available always use it because it is
much cheaper than WBINVD. */
if (!cpu_has_clflush)
/* clflush is still broken. Disable for now. */
if (1 || !cpu_has_clflush)
asm volatile("wbinvd" ::: "memory");
else list_for_each_entry(pg, l, lru) {
void *adr = page_address(pg);
Expand Down

0 comments on commit 0593a69

Please sign in to comment.