Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82894
b: refs/heads/master
c: 34508f6
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Feb 4, 2008
1 parent e8743e3 commit 4a22034
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 65e074dffa198978ab0c9976a19b954fbe1183e2
refs/heads/master: 34508f66b69ff1708192654f631eb8f1d4c52005
11 changes: 11 additions & 0 deletions trunk/arch/x86/mm/pageattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,17 @@ static int try_preserve_large_page(pte_t *kpte, unsigned long address,
pgprot_t old_prot, new_prot;
int level, res = CPA_SPLIT;

/*
* An Athlon 64 X2 showed hard hangs if we tried to preserve
* largepages and changed the PSE entry from RW to RO.
*
* As AMD CPUs have a long series of erratas in this area,
* (and none of the known ones seem to explain this hang),
* disable this code until the hang can be debugged:
*/
if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD)
return res;

spin_lock_irqsave(&pgd_lock, flags);
/*
* Check for races, another CPU might have split this page
Expand Down

0 comments on commit 4a22034

Please sign in to comment.