diff options
| author | Govind Singh <govinds@codeaurora.org> | 2017-04-24 17:38:46 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-15 06:01:07 -0700 |
| commit | 9dd42065172b453b5017f8cdaff6425648898be2 (patch) | |
| tree | 9ed324abfe1e15d0e3152c5ab2a24f0804339030 | |
| parent | fdfb25c291782fd5c3978b6fd710f46fc788dd44 (diff) | |
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
| -rw-r--r-- | hif/src/ce/ce_service.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hif/src/ce/ce_service.c b/hif/src/ce/ce_service.c index 1c3da6605d22..213f2fb898db 100644 --- a/hif/src/ce/ce_service.c +++ b/hif/src/ce/ce_service.c @@ -1640,7 +1640,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 |
