Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3d1c79f1 authored by Deva Ramasubramanian's avatar Deva Ramasubramanian
Browse files

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 a panic due to mismatched up/down_reads.

Change-Id: Ibfb1ad81fbe30be88ccc5f38482578fee09dd83a
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
parent 773c2fbd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment