diff options
| author | Andi Kleen <[email protected]> | 2008-01-30 13:33:52 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2008-01-30 13:33:52 +0100 |
| commit | 895bdc29956e5c9e9e101b2b1c2f0ed34130f945 (patch) | |
| tree | e95aed8be8660bfac8ca73037cd1e0f0c7e2cdad /tools/perf/scripts/python | |
| parent | 3c868823413d76bdd80c643603be8ab09dcb4d65 (diff) | |
x86: c_p_a() make it more robust against use of PAT bits
Use the page table level instead of the PSE bit to check if the PTE
is for a 4K page or not. This makes the code more robust when the PAT
bit is changed because the PAT bit on 4K pages is in the same position
as the PSE bit.
Signed-off-by: Andi Kleen <[email protected]>
Acked-by: Jan Beulich <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions