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

Skip to content
Commit b2dca069 authored by Anna Perel's avatar Anna Perel Committed by Stephen Boyd
Browse files

usb: gadget: mbim: Release lock while copying from userspace



Reduce time spent in critical section by performing
memory allocation and copy operations before
the spin_lock is taken. This improves MBIM performance
by increasing overall throughput from 100 KB/s to 3 MB/s.

Change-Id: I16933633c0d2794d4cdad1a78e693f630a2e26f5
Signed-off-by: default avatarAnna Perel <aperel@codeaurora.org>
parent 4d49de28
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