From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753083AbbIQA3Z (ORCPT ); Wed, 16 Sep 2015 20:29:25 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:53412 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752596AbbIQA3Y (ORCPT ); Wed, 16 Sep 2015 20:29:24 -0400 From: Suman Anna To: Ohad Ben-Cohen , "Michael S. Tsirkin" CC: , , Suman Anna Subject: [PATCH 0/2] Fix memory leaks in virtio & remoteproc cores Date: Wed, 16 Sep 2015 19:29:16 -0500 Message-ID: <1442449758-14594-1-git-send-email-s-anna@ti.com> X-Mailer: git-send-email 2.5.0 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, The following patches fix couple of memory leaks in the virtio and remoteproc cores when using these as modules, and going through a cycle of insmod and rmmod with at least a device registered with the corresponding cores in between. I ran into this on our downstream product kernels on both 3.14 and 4.1 based kernels, and should apply to the latest kernel as well. Patches can be picked up independently through the respective trees. regards Suman Suman Anna (2): virtio: fix memory leak of virtio ida cache layers remoteproc: fix memory leak of remoteproc ida cache layers drivers/remoteproc/remoteproc_core.c | 2 ++ drivers/virtio/virtio.c | 1 + 2 files changed, 3 insertions(+) -- 2.5.0