diff options
| author | Becky Bruce <beckyb@kernel.crashing.org> | 2011-10-10 14:50:42 +0400 |
|---|---|---|
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-12-07 09:26:22 +0400 |
| commit | d1b9b12811ef079c37fe464f51953746d8b78e2a (patch) | |
| tree | 4440a5420206d0dddd5770d5fefbaf6df8becefe /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 27609a42ee5486b8d132ece24dde6f7524d67df3 (diff) | |
| download | linux-d1b9b12811ef079c37fe464f51953746d8b78e2a.tar.xz | |
powerpc: Add hugepage support to 64-bit tablewalk code for FSL_BOOK3E
Before hugetlb, at each level of the table, we test for
!0 to determine if we have a valid table entry. With hugetlb, this
compare becomes:
< 0 is a normal entry
0 is an invalid entry
> 0 is huge
This works because the hugepage code pulls the top bit off the entry
(which for non-huge entries always has the top bit set) as an
indicator that we have a hugepage.
Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
