Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1324273
| From | Marc Zyngier <marc.zyngier@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3] irqchip: gicv3-its: Fix memory leak in its_free_tables() |
| Date | 2016-02-02 17:50 +0100 |
| Message-ID | <qXMjo-5NR-27@gated-at.bofh.it> (permalink) |
| References | <qXyT7-3SA-5@gated-at.bofh.it> |
| Organization | ARM Ltd |
On 02/02/16 02:19, Shanker Donthineni wrote: > 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 <shankerd@codeaurora.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> M. -- Jazz is not dead. It just smells funny...
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3] irqchip: gicv3-its: Fix memory leak in its_free_tables() Shanker Donthineni <shankerd@codeaurora.org> - 2016-02-02 03:30 +0100 Re: [PATCH v3] irqchip: gicv3-its: Fix memory leak in its_free_tables() Marc Zyngier <marc.zyngier@arm.com> - 2016-02-02 17:50 +0100 [tip:irq/urgent] irqchip/gicv3-its: Fix memory leak in its_free_tables() tip-bot for Shanker Donthineni <tipbot@zytor.com> - 2016-02-04 15:20 +0100
csiph-web