aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVladimir Davydov <[email protected]>2015-11-05 18:49:27 -0800
committerLinus Torvalds <[email protected]>2015-11-05 19:34:48 -0800
commit706874e9096e9d468eed9c2b03c8374e806535f3 (patch)
treefaafbd597b50f57df9c4e001e84ac2d13e2eae12 /tools/perf/scripts/python/export-to-postgresql.py
parent5d3875a01eeafef7ef0b73a99462cb9bd55e8485 (diff)
mm: do not inc NR_PAGETABLE if ptlock_init failed
If ALLOC_SPLIT_PTLOCKS is defined, ptlock_init may fail, in which case we shouldn't increment NR_PAGETABLE. Since small allocations, such as ptlock, normally do not fail (currently they can fail if kmemcg is used though), this patch does not really fix anything and should be considered as a code cleanup. Signed-off-by: Vladimir Davydov <[email protected]> Acked-by: Kirill A. Shutemov <[email protected]> Acked-by: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions