Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1913849pxb; Mon, 18 Jan 2021 03:23:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwf5lMLHpycv8WEepv0uRHJVs2wYn5ZvPjtTOSrJhXyH8io2eBiPG4vISP1UhzDogqZlODT X-Received: by 2002:a05:6402:424a:: with SMTP id g10mr18662430edb.236.1610969014424; Mon, 18 Jan 2021 03:23:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610969014; cv=none; d=google.com; s=arc-20160816; b=Zs3w8iNhEvz4bGshETeMLtnAzy4Yj6ircKrCz3E4dLiXVyiSoq2mCW32jOFmh8OFs4 KOaVpVpk81GX9baAwCS4Lu15HXggYEyTs4dCKp+lmDHVeT/55QfjHRoqL5S2tT4XMSw1 6ivXGyExws9strE4212a0dmnkBz5T8nV86sdv1/bsCv/AEpp+1FLTsjZ8vb5qUJ5VBFY sbPXpomgMNNSGTG8f3hG3gty5ZHMg/p5DaxxXxXDjKjPRpU/kYnFy/bipDst7+l977S9 v6GNjFxk1qg0mH1OR/y81VMZNwW0nL9BmFPnyC9TthaCYsNbLmCzF1ruOITYAGzRx9mH 5FJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dmarc-filter:sender:dkim-signature; bh=n/+AKCp0WfoXeqcSPUsaiGc887j6r3CbEnS8X7fCkRM=; b=mPSD+tvcMqrSt6WOJoH6AlEcCUWf86u2oG2GrMzTXOkU8e1JEyA/GTFf21cin7HKfF 0nASF3uoT2WG1gubs9XZA9IBmkp7RzAOamXzApztP8VpABqpbgmo3rUi8nBUsDScili7 7VUF2OfIsF16L6FfzU+esHuQ3zExHveRmiSikQ1k+nssd5aQrxhcdaiHR+UYmF2urIsc Nu1RA+FovsNEk/VuosCShtbxR3TO9Op+45QdtfxkjJ0JaRvGsYUBK6H8zf0TgZtVImii Rm85XBz9p0Ygw8EX/fWDYTX3kj3mQIeFGm6QrCalOhZ02q4uVdc/km4SpoOov/2L7obQ Ifhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=e3NvLOtm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e6si7201039edv.84.2021.01.18.03.23.11; Mon, 18 Jan 2021 03:23:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=e3NvLOtm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390147AbhARLUp (ORCPT + 99 others); Mon, 18 Jan 2021 06:20:45 -0500 Received: from so254-31.mailgun.net ([198.61.254.31]:63284 "EHLO so254-31.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389994AbhARLP1 (ORCPT ); Mon, 18 Jan 2021 06:15:27 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1610968505; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=n/+AKCp0WfoXeqcSPUsaiGc887j6r3CbEnS8X7fCkRM=; b=e3NvLOtmqFKbsjuosRAeQ0FfPsBHPOnoJ5IHuYcWhdKKd86ge/dmBFBw8mDs4fUROtKznm/c ElabaS90PQYNWTlWXCdpqpT4XGxSJRRPsoGxd67WLr0b6tjzNn7T6XCIplHFFQH3byJvRNNX JTEaoFRnDO3qM3TE7xpKJ1Ehin4= X-Mailgun-Sending-Ip: 198.61.254.31 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-west-2.postgun.com with SMTP id 60056d9b7086580d329031a6 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 18 Jan 2021 11:14:35 GMT Sender: vjitta=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id BAB23C433ED; Mon, 18 Jan 2021 11:14:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.0.106] (unknown [182.18.191.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vjitta) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1CA46C433CA; Mon, 18 Jan 2021 11:14:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1CA46C433CA Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=vjitta@codeaurora.org Subject: Re: [PATCH v4 1/2] lib: stackdepot: Add support to configure STACK_HASH_SIZE To: Alexander Potapenko Cc: Minchan Kim , dan.j.williams@intel.com, broonie@kernel.org, Masami Hiramatsu , LKML , Andrew Morton , ylal@codeaurora.org, vinmenon@codeaurora.org References: <1609332331-2456-1-git-send-email-vjitta@codeaurora.org> From: Vijayanand Jitta Message-ID: Date: Mon, 18 Jan 2021 16:44:22 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/7/2021 3:14 PM, Alexander Potapenko wrote: > On Wed, Dec 30, 2020 at 1:46 PM wrote: >> >> From: Yogesh Lal >> >> Use STACK_HASH_ORDER_SHIFT to configure STACK_HASH_SIZE. > I think "ORDER_SHIFT" is somewhat redundant, as "SMTH_ORDER" already > means this is a power of two we'll be using for shifting. > Leaving this up to you. > > Alex > Right, updated this to STACK_HASH_ORDER in v5. https://lkml.org/lkml/2021/1/18/255 Thanks, Vijay -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation