public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv3 0/2] DSPBRIDGE: Improved reserved memory cleanup
@ 2010-02-17 14:18 Ameya Palande
  2010-02-17 14:18 ` [PATCHv3 1/2] DSPBRIDGE: Rename DMM_RES_OBJECT to DMM_MAP_OBJECT Ameya Palande
  2010-02-17 14:18 ` [PATCHv3 2/2] DSPBRIDGE: New reserved memory accounting framework Ameya Palande
  0 siblings, 2 replies; 3+ messages in thread
From: Ameya Palande @ 2010-02-17 14:18 UTC (permalink / raw)
  To: linux-omap; +Cc: felipe.contreras, x0095840, nm, deepak.chitriki

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.

Changes since v2:
1. Removed locking from DRV_RemoveAllDMMResElements()
2. Removed cleanup variable from PROC_UnReserveMemory()
   http://marc.info/?l=linux-omap&m=126637211831587&w=2
3. Rebased patchset on top of following commit:
   DSPBRIDGE: Remove conditional check from the InputMsg function

Changed since v1:
1. Reduced indentation
   http://marc.info/?l=linux-omap&m=126624982331523&w=2

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  |   24 +++++--
 arch/arm/plat-omap/include/dspbridge/proc.h |    4 +-
 drivers/dsp/bridge/pmgr/wcd.c               |    7 +-
 drivers/dsp/bridge/rmgr/drv.c               |   87 ++++++++++++++-------------
 drivers/dsp/bridge/rmgr/drv_interface.c     |    4 +-
 drivers/dsp/bridge/rmgr/node.c              |    5 +-
 drivers/dsp/bridge/rmgr/proc.c              |   52 +++++++++++++----
 7 files changed, 116 insertions(+), 67 deletions(-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-17 14:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-17 14:18 [PATCHv3 0/2] DSPBRIDGE: Improved reserved memory cleanup Ameya Palande
2010-02-17 14:18 ` [PATCHv3 1/2] DSPBRIDGE: Rename DMM_RES_OBJECT to DMM_MAP_OBJECT Ameya Palande
2010-02-17 14:18 ` [PATCHv3 2/2] DSPBRIDGE: New reserved memory accounting framework Ameya Palande

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox