Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99967
b: refs/heads/master
c: 8207c25
h: refs/heads/master
i:
  99965: 4f73e7a
  99963: df33425
  99959: 948b104
  99951: cbf508e
  99935: 83f400e
  99903: 579f16e
  99839: 68d3e05
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Jul 8, 2008
1 parent aa6f618 commit 760aeb1
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 9f9d489a3e78b49d897734eaaf9dea568dbea66e
refs/heads/master: 8207c2570af6f819b61be9ef3fb298d0a8c0e18c
5 changes: 5 additions & 0 deletions trunk/arch/x86/mm/init_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,11 @@ static void __init find_early_table_space(unsigned long end)
pmds = (end + PMD_SIZE - 1) >> PMD_SHIFT;
tables += PAGE_ALIGN(pmds * sizeof(pmd_t));

if (!cpu_has_pse) {
int ptes = (end + PAGE_SIZE - 1) >> PAGE_SHIFT;
tables += PAGE_ALIGN(ptes * sizeof(pte_t));
}

/*
* RED-PEN putting page tables only on node 0 could
* cause a hotspot and fill up ZONE_DMA. The page tables
Expand Down

0 comments on commit 760aeb1

Please sign in to comment.