From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ameya Palande Subject: [PATCH 0/2] DSPBRIDGE: Improved reserved memory cleanup Date: Mon, 15 Feb 2010 17:35:06 +0200 Message-ID: Return-path: Received: from smtp.nokia.com ([192.100.122.233]:60586 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755740Ab0BOPgG (ORCPT ); Mon, 15 Feb 2010 10:36:06 -0500 Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: omar.ramirez@ti.com Cc: nm@ti.com, deepak.chitriki@ti.com, linux-omap@vger.kernel.org, felipe.contreras@nokia.com, x0095840@ti.com This patch series splits DMM_RES_OBJECT into DMM_MAP_OBJECT and DMM_RSV_OBJECT which are used independently for mapped and reserved memory resources accounting. This will help in cleanup of reserved memory resources which was not handled properly before. With these patches resource cleanup mechanism will work perfectly in a use case where a big chunk of memory is reserved and then lot of mappings are created inside it. Ameya Palande (2): DSPBRIDGE: Rename DMM_RES_OBJECT to DMM_MAP_OBJECT DSPBRIDGE: New reserved memory accounting framework arch/arm/plat-omap/include/dspbridge/drv.h | 25 ++++++-- arch/arm/plat-omap/include/dspbridge/proc.h | 5 +- drivers/dsp/bridge/pmgr/dmm.c | 3 +- drivers/dsp/bridge/pmgr/wcd.c | 7 +- drivers/dsp/bridge/rmgr/drv.c | 84 ++++++++++++++++----------- drivers/dsp/bridge/rmgr/drv_interface.c | 7 ++- drivers/dsp/bridge/rmgr/node.c | 5 +- drivers/dsp/bridge/rmgr/proc.c | 44 ++++++++++++-- 8 files changed, 124 insertions(+), 56 deletions(-)