diff options
| author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-11-29 14:07:09 +0000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-12-04 19:45:01 +1100 |
| commit | 32bff4b9053193303b4dd4c5498a1ffc6b23bb2f (patch) | |
| tree | 2aff70e3823e4cd896668a3c30ad173ee458ff99 /tools/perf/scripts/python/bin/export-to-postgresql-record | |
| parent | powerpc/mm: fix a warning when a cache is common to PGD and hugepages (diff) | |
| download | linux-32bff4b9053193303b4dd4c5498a1ffc6b23bb2f.tar.gz linux-32bff4b9053193303b4dd4c5498a1ffc6b23bb2f.zip | |
powerpc/mm: remove unnecessary test in pgtable_cache_init()
pgtable_cache_add() gracefully handles the case when a cache that
size already exists by returning early with the following test:
if (PGT_CACHE(shift))
return; /* Already have a cache of this size */
It is then not needed to test the existence of the cache before.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions
