mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacmn: Reduce CE msg flush count for SLUB build
With SLUB build in Low memory condition rx processing is taking more time, reduce CE msg flush count for fastpath in SLUB build. Change-Id: I8901bd770ca01997299f882394bbe99871d2400e CRs-Fixed: 2043999
This commit is contained in:
parent
81d9571879
commit
903165f2ef
1 changed files with 4 additions and 0 deletions
|
|
@ -1745,7 +1745,11 @@ static void ce_fastpath_rx_handle(struct CE_state *ce_state,
|
|||
dest_ring->write_index = write_index;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SLUB_DEBUG_ON
|
||||
#define MSG_FLUSH_NUM 16
|
||||
#else /* PERF build */
|
||||
#define MSG_FLUSH_NUM 32
|
||||
#endif /* SLUB_DEBUG_ON */
|
||||
/**
|
||||
* ce_per_engine_service_fast() - CE handler routine to service fastpath msgs
|
||||
* @scn: hif_context
|
||||
|
|
|
|||
Loading…
Reference in a new issue