RE: [PATCH 8/9] dspbridge: add map support for big buffers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Guzman Lugo, Fernando
Date: Thursday, August 26, 2010 - 6:00 am

>________________________________________

I think you are talking about the issue when there are a lot of reservations and
unreservations of big buffer and the memory is getting fragmented and it is not
possible to allocate more big buffers.

if so, I don't think it is a bug. The thing is because of the algorithm used for 
reserve memory is optimized to satisfy the memory requested as soon as possible,
so this algorithm is good where there are too much reservation of memory and
for small buffers, because the algorithm get rid of big free chucks of memory
soon.

so that issue, can be fixed just chaning the algorithm without changing the array implementation
in dmm.c.


with iommu migration patches, hopefully next week.


Regards,
Fernando.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 3/9] dspbridge: rename bridge_brd_mem_map/unmap to ..., Fernando Guzman Lugo, (Wed Jun 30, 5:20 pm)
[PATCH 4/9] dspbridge: remove custom mmu code from tiomap3 ..., Fernando Guzman Lugo, (Wed Jun 30, 5:20 pm)
[PATCH 5/9] dspbridge: add mmufault support, Fernando Guzman Lugo, (Wed Jun 30, 5:20 pm)
[PATCH 6/9] dspbridge: remove hw directory, Fernando Guzman Lugo, (Wed Jun 30, 5:20 pm)
[PATCH 7/9] dspbridge: move all iommu related code to a ne ..., Fernando Guzman Lugo, (Wed Jun 30, 5:20 pm)
[PATCH 8/9] dspbridge: add map support for big buffers, Fernando Guzman Lugo, (Wed Jun 30, 5:20 pm)
[PATCH 9/9] dspbridge: cleanup bridge_dev_context and cfg_ ..., Fernando Guzman Lugo, (Wed Jun 30, 5:21 pm)
Re: [PATCH 5/9] dspbridge: add mmufault support, Hiroshi DOYU, (Thu Jul 1, 11:27 pm)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Fri Jul 2, 9:27 am)
RE: [PATCH 5/9] dspbridge: add mmufault support, Guzman Lugo, Fernando, (Fri Jul 2, 9:37 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Kanigeri, Hari, (Fri Jul 2, 10:02 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Fri Jul 2, 11:39 am)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Tue Aug 24, 3:09 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Tue Aug 24, 9:31 am)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Tue Aug 24, 10:46 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Tue Aug 24, 11:44 am)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Tue Aug 24, 11:55 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Tue Aug 24, 12:05 pm)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Tue Aug 24, 12:13 pm)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Tue Aug 24, 12:30 pm)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Tue Aug 24, 2:17 pm)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Tue Aug 24, 2:55 pm)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Tue Aug 24, 11:05 pm)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Wed Aug 25, 9:00 am)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Wed Aug 25, 12:18 pm)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Wed Aug 25, 12:42 pm)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, FUJITA Tomonori, (Wed Aug 25, 11:55 pm)
Re: [PATCH 8/9] dspbridge: add map support for big buffers, Felipe Contreras, (Thu Aug 26, 3:04 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Thu Aug 26, 5:38 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, FUJITA Tomonori, (Thu Aug 26, 5:56 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Thu Aug 26, 6:00 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Thu Aug 26, 6:16 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, FUJITA Tomonori, (Thu Aug 26, 7:03 am)
RE: [PATCH 8/9] dspbridge: add map support for big buffers, Guzman Lugo, Fernando, (Thu Aug 26, 7:13 am)