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

Commit 6411c1c5 authored by Sharvil Nanavati's avatar Sharvil Nanavati
Browse files

Reduce CPU utilization from ~60% to ~10% on busy HCI reads.

This patch improves RFCOMM throughput and reduces CPU utilization.
Instead of using a counting semaphore to measure bytes and reading
one at a time from the eager reader's buffer, read in bulk based
on the incoming read request size.

Change-Id: I17046bfbc3ca49576a9c82b38911aeb84234881a
parent f6d281ab
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