aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristophe Jaillet <[email protected]>2015-07-13 11:32:43 +0200
committerHelge Deller <[email protected]>2015-07-19 08:56:14 +0200
commit4c4ac9a48ac512c6b5a6cca06cfad2ad96e8caaa (patch)
tree7e721e9391aafea6b902fb25d65ce967d910c35e /tools/perf/scripts/python
parent9d37e6679dfddbb5fa605fb2d7ff448f7cd6d038 (diff)
parisc: mm: Fix a memory leak related to pmd not attached to the pgd
Commit 0e0da48dee8d ("parisc: mm: don't count preallocated pmds") introduced a memory leak. After this commit, the 'return' statement in pmd_free is executed in all cases. Even for pmd that are not attached to the pgd. So 'free_pages' can never be called anymore, leading to a memory leak. Signed-off-by: Christophe JAILLET <[email protected]> Acked-by: Kirill A. Shutemov <[email protected]> Acked-by: Mikulas Patocka <[email protected]> Acked-by: Helge Deller <[email protected]> Cc: [email protected] # v4.0+ Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions