diff options
| author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2018-06-29 14:06:29 +0530 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-24 22:03:17 +1000 |
| commit | 1531cff44b5bb30c899404c044805ec60b2f3620 (patch) | |
| tree | e8a6080121f8265944405aa446677af64c7b54c1 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | powerpc/mm: Increase MAX_PHYSMEM_BITS to 128TB with SPARSEMEM_VMEMMAP config (diff) | |
| download | linux-1531cff44b5bb30c899404c044805ec60b2f3620.tar.gz linux-1531cff44b5bb30c899404c044805ec60b2f3620.zip | |
powerpc/mm/hash: Remove the superfluous bitwise operation when find hpte group
When computing the starting slot number for a hash page table group we used
to do this
hpte_group = ((hash & htab_hash_mask) * HPTES_PER_GROUP) & ~0x7UL;
Multiplying with 8 (HPTES_PER_GROUP) imply the last three bits are 0. Hence we
really don't need to clear then separately.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
