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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
  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

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux