From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7B5FC433EF for ; Sun, 29 May 2022 08:52:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229761AbiE2Iui (ORCPT ); Sun, 29 May 2022 04:50:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbiE2Iuf (ORCPT ); Sun, 29 May 2022 04:50:35 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7E0F814A0 for ; Sun, 29 May 2022 01:50:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1653814234; x=1685350234; h=from:to:cc:subject:date:message-id; bh=TVvfrb426JQRLdfpmF2aegH10RqSqA1HLV5cXGROE2A=; b=IXtUxGuk3EMg2Libs0EgQg96qj+o1eCUIJ+huMVq1w1lxSUtzeqTXzLu e4UL7by6XTTrpwZ1HQbEUIXo7uBlA4MK0YrBE+yT7CT/Zf6zX2S6DvlcI dBH3/GBDCR6utLbCnJm+ktqEpgpT2VkrkQJbYNBKvVbNUD/kfq7Dro+C+ Q=; Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 29 May 2022 01:50:34 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 29 May 2022 01:50:33 -0700 X-QCInternal: smtphost Received: from hu-rbankapu-blr.qualcomm.com (HELO hu-ub18template-blr.qualcomm.com) ([10.131.39.233]) by ironmsg02-blr.qualcomm.com with ESMTP; 29 May 2022 14:20:22 +0530 Received: by hu-ub18template-blr.qualcomm.com (Postfix, from userid 4079802) id 40055800995; Sun, 29 May 2022 14:20:21 +0530 (+0530) From: Raghu Bankapur To: Jaroslav Kysela , Takashi Iwai , Liam Girdwood , Mark Brown , Raghu Bankapur , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Cc: Krishna Jha Subject: [PATCH V0 0/1] asoc: msm: use hashtable to check kcontrol Date: Sun, 29 May 2022 14:20:08 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org use hashtabe instead of linear list to check kcontrol before adding them for improving early audio KPI. With this changes we see 600ms improvement in start of audio Raghu Bankapur (1): asoc: msm: use hashtable to check kcontrol include/sound/control.h | 4 ++ include/sound/core.h | 12 +++++- sound/core/control.c | 92 +++++++++++++++++++++++++++++++++-------- sound/core/init.c | 3 ++ sound/soc/Kconfig | 9 ++++ 5 files changed, 101 insertions(+), 19 deletions(-) -- 2.17.1