aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorShanker Donthineni <[email protected]>2016-02-01 20:19:44 -0600
committerThomas Gleixner <[email protected]>2016-02-04 15:14:50 +0100
commit1a485f4d2e28efd77075b2952926683d6c245633 (patch)
tree3088dd5ab2953ebba071e45caece4e901da470bd /tools/perf/scripts/python/bin/export-to-postgresql-report
parent6235f0ecc4ed799169b80f7317c7f974f7415320 (diff)
irqchip/gicv3-its: Fix memory leak in its_free_tables()
The current ITS driver has a memory leak in its_free_tables(). It happens on tear down path of the driver when its_probe() call fails. its_free_tables() should free the exact number of pages that have been allocated, not just a single page as current code does. This patch records the memory size for each ITS_BASERn at the time of page allocation and uses the same size information when freeing pages to fix the issue. Signed-off-by: Shanker Donthineni <[email protected]> Acked-by: Marc Zyngier <[email protected]> Cc: Jason Cooper <[email protected]> Cc: Vikram Sethi <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions