aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-08-07 11:00:45 -0400
committerChris Metcalf <cmetcalf@tilera.com>2013-08-13 16:25:52 -0400
commita0bd12d718b6f9a19f95bf892021cff9438044c4 (patch)
tree08a280b13c2871e3e2edac5db1c71324d6cf9725 /tools/perf/scripts/python
parenttile: add some tile drivers to MAINTAINERS (diff)
downloadlinux-a0bd12d718b6f9a19f95bf892021cff9438044c4.tar.gz
linux-a0bd12d718b6f9a19f95bf892021cff9438044c4.zip
tile: fix some issues in hugepage support
First, in huge_pte_offset(), we were erroneously checking pgd_present(), which is always true, rather than pud_present(), which is the thing that tells us if there is a top-level (L0) PTE. Fixing this means we properly look up huge page entries only when the Present bit is actually set in the PTE. Second, use the standard pte_alloc_map() instead of the hand-rolled pte_alloc_hugetlb() routine that basically was written to avoid worrying about CONFIG_HIGHPTE. However, we no longer plan to support HIGHPTE, so a separate routine was just unnecessary code duplication. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions