Re: [PATCH 4/4] DSPBRIDGE: Improved mapped memory cleanup

Omar Ramirez Luna
2010-02-23T16:23:59Z

On 2/18/2010 8:40 AM, Ameya Palande wrote:
> This patch improves current mapped memory cleanup mechanism by using linux
> native list implementation. As a side effect we also get following benefits:
>
> 1. Unnecessary data members in DMM_MAP_OBJECT are removed which results in
> memory saving.
>
> 2. Following functions are removed as they are not needed anymore:
> DRV_ProcFreeDMMRes()
> DRV_UpdateDMMResElement()
> DRV_InsertDMMResElement()
> DRV_GetDMMResElement()
> DRV_RemoveDMMResElement()
>
> Signed-off-by: Ameya Palande<ameya.palande@nokia.com>
> ---
> arch/arm/plat-omap/include/dspbridge/drv.h | 30 +---
> .../plat-omap/include/dspbridge/resourcecleanup.h | 11 --
> drivers/dsp/bridge/rmgr/drv.c | 161 ++------------------
> drivers/dsp/bridge/rmgr/drv_interface.c | 3 +-
> drivers/dsp/bridge/rmgr/proc.c | 43 ++++--
> 5 files changed, 54 insertions(+), 194 deletions(-)
>

Pushed to dspbridge

- omar