mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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. Change-Id: I0d4b9a266b8def08a85fb41805f9368dd49649eb Signed-off-by: Julian Liu <wlootlxt123@gmail.com> Signed-off-by: Alex Winkowski <dereference23@outlook.com> Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>