summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2018-11-27 17:06:34 +0100
committerVinod Koul <vkoul@kernel.org>2018-11-29 19:49:41 +0530
commit98f5f932254b88ce828bc8e4d1642d14e5854caa (patch)
treea2eea3540da857c8403d299f263d732ed89543b3 /tools/perf/scripts/python/bin/stackcollapse-record
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
downloadkernel-98f5f932254b88ce828bc8e4d1642d14e5854caa.tar.gz
dmaengine: at_hdmac: fix memory leak in at_dma_xlate()
The leak was found when opening/closing a serial port a great number of time, increasing kmalloc-32 in slabinfo. Each time the port was opened, dma_request_slave_channel() was called. Then, in at_dma_xlate(), atslave was allocated with devm_kzalloc() and never freed. (Well, it was free at module unload, but that's not what we want). So, here, kzalloc is more suited for the job since it has to be freed in atc_free_chan_resources(). Cc: stable@vger.kernel.org Fixes: bbe89c8e3d59 ("at_hdmac: move to generic DMA binding") Reported-by: Mario Forner <m.forner@be4energy.com> Suggested-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
'>KVM: PPC: e500mc supportScott Wood 2011-09-25KVM: PPC: Assemble book3s{,_hv}_rmhandlers.S separatelyPaul Mackerras 2011-09-25KVM: PPC: Add PAPR hypercall code for PR modeAlexander Graf 2011-07-12KVM: PPC: Allocate RMAs (Real Mode Areas) at boot for use by guestsPaul Mackerras 2011-07-12KVM: PPC: Accelerate H_PUT_TCE by implementing it in real modeDavid Gibson 2011-07-12KVM: PPC: Handle some PAPR hcalls in the kernelPaul Mackerras 2011-07-12KVM: PPC: Add support for Book3S processors in hypervisor modePaul Mackerras 2011-07-12KVM: PPC: Split out code from book3s.c into book3s_pr.cPaul Mackerras 2010-10-13powerpc/Makefiles: Change to new flag variablesmatt mooney 2010-08-01KVM: PPC: Make use of hash based Shadow MMUAlexander Graf 2010-05-17KVM: PPC: Enable Book3S_32 KVM buildingAlexander Graf 2010-05-17KVM: PPC: Use KVM_BOOK3S_HANDLERAlexander Graf 2010-05-17KVM: PPC: Name generic 64-bit code genericAlexander Graf 2010-04-25KVM: PPC: Implement Paired Single emulationAlexander Graf 2010-04-25KVM: PPC: Add helpers to call FPU instructionsAlexander Graf 2009-11-05Include Book3s_64 target in buildsystemAlexander Graf 2009-09-10KVM: remove old KVMTRACE support codeMarcelo Tosatti 2009-09-10KVM: powerpc: convert marker probes to event traceMarcelo Tosatti 2009-06-16powerpc: Add configurable -Werror for arch/powerpcMichael Ellerman 2009-03-24KVM: ppc: E500 core-specific codeHollis Blanchard 2009-03-24KVM: ppc: split out common Book E instruction emulationHollis Blanchard 2008-12-31KVM: ppc: Implement in-kernel exit timing statisticsHollis Blanchard 2008-12-31KVM: ppc: refactor instruction emulation into generic and core-specific piecesHollis Blanchard 2008-12-31KVM: ppc: Refactor powerpc.c to relocate 440-specific codeHollis Blanchard 2008-12-31KVM: ppc: combine booke_guest.c and booke_host.cHollis Blanchard 2008-10-15KVM: ppc: enable KVM_TRACE building for powerpcJerone Young 2008-07-20KVM: Add coalesced MMIO support (powerpc part)Laurent Vivier 2008-04-27KVM: ppc: PowerPC 440 KVM implementationHollis Blanchard