Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4899685rdb; Fri, 15 Sep 2023 16:22:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGFeWG5IuNv5f4hxwirL5ihsvNkrfAbgBcLnbDBlR6YhidFw3kl/sJw18ZGpu5SK2DrXBsg X-Received: by 2002:a05:6358:27a8:b0:141:51d:4d48 with SMTP id l40-20020a05635827a800b00141051d4d48mr3436369rwb.17.1694820170984; Fri, 15 Sep 2023 16:22:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694820170; cv=none; d=google.com; s=arc-20160816; b=VkSWHzsb1bSSM4G4mqa5iUJ+zzsxvvY2xkE6y6PuRsOnM4vWYPxpBp7o+OQf2sfKwE JVbkAnmgccBC9DCnjo6C8ACFVoYV/65RGaC0DrI9KRqW0mv7vHMd2aEswpuhqUlW8BwY qc9Z35ODEvG8istK+jAKhMDnz0iwjskar0FN1CwiTvOGQm+IRtA4o4V8tzu42lKLkJAI HAuSTCcvuvGH5lbYCtQuQ5tIdnpqbkyxogkibDme2doa6gGYkW2a+6EnJBBmN2jJpzA3 Oxzi2xi87LlX9TKIcrkjUZEiAgOjptwmuGDilDie6hoc+kWC2vdfqvZUjdpU09dCNYWb 1N7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=YSRPmYTgQYAS8/W7DnTR2CfDhO5J0xkkJUsesS4GK9E=; fh=eLBvtPgIPGXrKWkSllAgQrmoJJNmy3KaT4bQ94uM2hU=; b=IGclDOBLEVxbis58RwycAzEKCaVz7rleeyjXmmoWtBEEXZrat1svrZ0Z/aH33/1wN6 rzGg6MTYxhkjZmybCI6m4+YntVbM6YWeStst/qjh4jiUYRbH79jTjBt7nRYKRY+9IvEo nTeSWa2wKJ8k5oLFNMgZFIwoX7qa2Y6uLCMfaUqZPNhR7gaA9Ji00SHm5ciEJngr9OJS +O9pVFzDdqLXCpzTNHf1Xz9UYpQovxJjddFiea/wSF1wBRI7x5HRhJ+A4wZtX96U4EwU 9ETFrd2uHAc0tSe+sRkJKAQodrV0NDR5rBch1HY4ccF8BPDhbiA3pxMztho7ckLcPypY VupA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Vit4AOoM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id t64-20020a638143000000b00553a99dd783si3789589pgd.778.2023.09.15.16.22.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 16:22:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Vit4AOoM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 9D91882976B9; Fri, 15 Sep 2023 09:47:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234775AbjIOQqu (ORCPT + 99 others); Fri, 15 Sep 2023 12:46:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235522AbjIOQqo (ORCPT ); Fri, 15 Sep 2023 12:46:44 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A4462126 for ; Fri, 15 Sep 2023 09:46:38 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-273ca7ab3f5so2046776a91.2 for ; Fri, 15 Sep 2023 09:46:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694796398; x=1695401198; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=YSRPmYTgQYAS8/W7DnTR2CfDhO5J0xkkJUsesS4GK9E=; b=Vit4AOoM1pfZLosrGDWXMErQi6wxAhNKlZRB0TXIxYZp5/VrMrSaTyR1+qJlc4omKX Ehi/wbxkxzNhsC487xdQduvAAitCFH4lAFtEHpQ9ZdH3Q4fdj3WOD5NPagzelvJi63Xy ZQAwrr/2qx8KvEEarx14MSWMj8N5TOqRzIgDbFu/t4oUjUsZzoK6q55cld0c8Ou79OOz XAyp9zpZeCnFTT/B16UnjdoPkpjqI8jVzTBmhiDbqoSfbQ97q1FcEyQ1DkrNYamDUGOM G9+w7cIaSJSiIvGLEKNeQ2VRyrez7l7qc0wGZDS1UH5dXJ/GgLKTQmUoxsyeBRuALmfy f9lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694796398; x=1695401198; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YSRPmYTgQYAS8/W7DnTR2CfDhO5J0xkkJUsesS4GK9E=; b=J5pXFKWESAImPIK71tv/TaEoBJhj58b59t/ZGxcMOgECXJg1OAp8F9znBtO5Q/BwlH 35pP5aLuZu/5g7M0WJbmniU6G0wjgMles20iZCh+Ohrk5zslxqUjgwwhpCTJHRA+bz42 qCQukQGdENx5Upg8hAFRwqrCL/xg52fASR20ppXAr96nhBp44+q3CDcIa7bJJ5cwZeYa LH9PrS3w3HXUePKGunOjlBGbDEnaFXcrSQEn1Yu6k/FhFnL+4sI6S2SrK7Wv1HSWxMC1 RV/7+xg1G6Nj6hubrNZw3mfR1cgpauGn7mFgWOCbiVuDrjYTbkXvJ5hgiYi2mQi+wKaf RZyw== X-Gm-Message-State: AOJu0Yy5rppCFj4PqYIypcISKv2nsr0ZKU4SUkwKXsMfCMODUmEJrR+L LvDF7RgWCTL+qJgtrQAfkYHF3WcDkmlGBe9lhi+JIkv4 X-Received: by 2002:a17:90a:300e:b0:274:922d:4b35 with SMTP id g14-20020a17090a300e00b00274922d4b35mr2051394pjb.1.1694796397759; Fri, 15 Sep 2023 09:46:37 -0700 (PDT) MIME-Version: 1.0 References: <658f5f34d4f94721844ad8ba41452d54b4f8ace5.1694625260.git.andreyknvl@google.com> In-Reply-To: From: Andrey Konovalov Date: Fri, 15 Sep 2023 18:46:26 +0200 Message-ID: Subject: Re: [PATCH v2 05/19] lib/stackdepot: use fixed-sized slots for stack records To: Marco Elver Cc: andrey.konovalov@linux.dev, Alexander Potapenko , Dmitry Vyukov , Vlastimil Babka , kasan-dev@googlegroups.com, Evgenii Stepanov , Oscar Salvador , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 15 Sep 2023 09:47:21 -0700 (PDT) On Fri, Sep 15, 2023 at 10:56=E2=80=AFAM Marco Elver wro= te: > > --- a/lib/Kconfig > > +++ b/lib/Kconfig > > @@ -708,13 +708,19 @@ config ARCH_STACKWALK > > bool > > > > config STACKDEPOT > > - bool > > + bool "Stack depot: stack trace storage that avoids duplication" > > select STACKTRACE > > > > config STACKDEPOT_ALWAYS_INIT > > - bool > > + bool "Always initialize stack depot during early boot" > > select STACKDEPOT > > This makes both STACKDEPOT and STACKDEPOT_ALWAYS_INIT configurable by > users: https://www.kernel.org/doc/html/next/kbuild/kconfig-language.html#= menu-attributes > > Usually the way to add documentation for non-user-configurable options > is to add text in the "help" section of the config. > > I think the change here is not what was intended. Ah, didn't know about that. Will fix in v3. Thanks!