commit | 9770065b5ad81b6e433432d0eb3c50ea725fb180 | [log] [tgz] |
---|---|---|
author | Deva Ramasubramanian <dramasub@codeaurora.org> | Tue Mar 04 12:44:28 2014 -0800 |
committer | Deva Ramasubramanian <dramasub@codeaurora.org> | Fri Mar 14 17:04:49 2014 -0700 |
tree | e19da40f2dcbe8943390d613f3c6e8d90f425107 | |
parent | 01801b7954b64f2893a96acc30b9d60e089b9bf6 [diff] |
Revert "[media] videobuf2-core: Use current->mm_active when locking USERPTR" Reverting commit 705d2156b85febeb47509e9d955052790b9025e0 because using mm_active seems too unreliable. When current is a kthread, there's no guarantee that there will not be a context switch between down_read and up_read, which causes panic due to mismatched up/down_reads. CRs-Fixed: 623719 Change-Id: Ibfb1ad81fbe30be88ccc5f38482578fee09dd83a Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>