Skip to content
Commit dce3b073 authored by Julian Liu's avatar Julian Liu Committed by improbir
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 avatarAlex Winkowski <dereference23@outlook.com>
Signed-off-by: default avatarForenche <prahul2003@gmail.com>
Signed-off-by: default avatarimprobir <ghosh_probir@yahoo.com>
parent 5d337f82
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