Re: [PATCH v2] staging: tidspbridge: protect dmm_map properly

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ohad Ben-Cohen
Date: Tuesday, December 28, 2010 - 5:37 am

On Tue, Dec 28, 2010 at 2:24 PM, Felipe Contreras
<felipe.contreras@gmail.com> wrote:

So you'll have to be more specific about the scenario you are describing.

If there's a user thread that is still running the proc_*_dma()
function, and we agree that this thread keeps running until completion
and then returns to user space, what's the problem ?

If that user thread will crash, drv_remove_all_resources() will clean
up all map_obj's.


I wouldn't worry about that.. In the worst case, "Cc:
stable@kernel.org" will push the fix into 2.6.37.x..
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2] staging: tidspbridge: protect dmm_map properly, Felipe Contreras, (Mon Dec 20, 11:43 am)
Re: [PATCH v2] staging: tidspbridge: protect dmm_map properly, Felipe Contreras, (Tue Dec 21, 9:44 am)
Re: [PATCH v2] staging: tidspbridge: protect dmm_map properly, Felipe Contreras, (Mon Dec 27, 6:55 am)
Re: [PATCH v2] staging: tidspbridge: protect dmm_map properly, Felipe Contreras, (Tue Dec 28, 3:36 am)
Re: [PATCH v2] staging: tidspbridge: protect dmm_map properly, Felipe Contreras, (Tue Dec 28, 5:12 am)
Re: [PATCH v2] staging: tidspbridge: protect dmm_map properly, Felipe Contreras, (Tue Dec 28, 5:24 am)
Re: [PATCH v2] staging: tidspbridge: protect dmm_map properly, Ohad Ben-Cohen, (Tue Dec 28, 5:37 am)
Re: [PATCH v2] staging: tidspbridge: protect dmm_map properly, Felipe Contreras, (Wed Dec 29, 2:39 am)
Re: [PATCH v2] staging: tidspbridge: protect dmm_map properly, Felipe Contreras, (Wed Dec 29, 2:42 am)
Re: [PATCH v2] staging: tidspbridge: protect dmm_map properly, Felipe Contreras, (Wed Dec 29, 3:06 am)