From 903165f2ef2db0f2884ecbb9b4842ebe77c3f613 Mon Sep 17 00:00:00 2001 From: Govind Singh Date: Mon, 24 Apr 2017 17:38:46 +0530 Subject: [PATCH] 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 --- hif/src/ce/ce_service.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hif/src/ce/ce_service.c b/hif/src/ce/ce_service.c index e511af49681b..2bce4cd67890 100644 --- a/hif/src/ce/ce_service.c +++ b/hif/src/ce/ce_service.c @@ -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