Skip to content
Commit 2d70db49 authored by Julian Liu's avatar Julian Liu Committed by Your Name
Browse files

qcacld-3.0: Free a bunch of pkts at once



It is too bad to do a tight loop every adding pkt. When the hotspot is turned on, I notice that the
htt_htc_misc_pkt_list_trim() function consumes at least 5% of CPU time. By caching the head of pkt
queue and freeing multiple pkts at once to reduce CPU consumption.

Signed-off-by: default avatarJulian Liu <wlootlxt123@gmail.com>
Signed-off-by: default avatarmcdachpappe <noreference@web.de>
parent 08cada1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment