Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4604806pxb; Tue, 31 Aug 2021 08:59:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfxPjlqGFT1Q10RKCkShGp13TgzuF1e7Zp9qK75wgVTWdjCLt9v14XgR9oZJs/noalLOa4 X-Received: by 2002:a17:906:a012:: with SMTP id p18mr31286743ejy.331.1630425560244; Tue, 31 Aug 2021 08:59:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630425560; cv=none; d=google.com; s=arc-20160816; b=XGP8PwjBfoxQS9w3mac5EZec8ALPSFYZuF6P340HwhVSSh38vLmWqDTy9HlSrpYYww cK7Im5ZhjQcIml0nAhy2Ygy4PiN2w9lRY0aZNvL7oSSN4l0SxRaVS9h1dDd6X3LLmhF6 H4JP14Qm+5QlpwbAZS1gxnMid+cjDK+kSHzZqvntcSyNzim0+07e5jA6y99dkamItejl EB0CGLLVD0WontJO+zuKeGvqwj5jy9SnLiKcUdtTepHdZM2Hq3ghsTL+MDBjkY90GROE gJrKORTcDrkA3mUfxaRl5FzA1IocyqTij+Z+GUtVDBTsj7HJ8ZrZIyfxlYJ9Z33zkPD6 TtoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=rXAig6svknWENNxhE5MWFDZ85DSokchu1E/IR78sJuc=; b=LQYSS+gQiOML7SaINpe78VRFlR4h8pJhP1aHgfM9TSL/6gg2PvtpEBbDd/itd8OIIj RmroReg6O7frvbsblGhLmdLkDYzZ/XXe4vSTjboKU3+QR/kKItIne8tlLHGX6UNk10Il WB/siuyqeMLdiFAGQxDcRtg7jV7uoM/yLAyzDngsNbph+TGKjDAzM3U8WQxanaapQ93s +T0DI+GIa2EUpQk68sKyi3RAViXr96gw3nEK+nXfqmU/ZqIf/8HBCLIaUlMBdU+SSNwH lr+XZbZI3YjwcKQqU+T1oZ9S5Dt9HJJASxx/40dwbeOStA+aYy6olvZTCxH34GoXPC+F zrTA== ARC-Authentication-Results: i=1; mx.google.com; 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 gn3si10283826ejc.2.2021.08.31.08.58.55; Tue, 31 Aug 2021 08:59:20 -0700 (PDT) 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; 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 S239350AbhHaP4C (ORCPT + 99 others); Tue, 31 Aug 2021 11:56:02 -0400 Received: from mail-vs1-f49.google.com ([209.85.217.49]:43756 "EHLO mail-vs1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238994AbhHaP4B (ORCPT ); Tue, 31 Aug 2021 11:56:01 -0400 Received: by mail-vs1-f49.google.com with SMTP id m19so13648863vsj.10 for ; Tue, 31 Aug 2021 08:55:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rXAig6svknWENNxhE5MWFDZ85DSokchu1E/IR78sJuc=; b=gBPL4dgySVCLJIvh2wTzQzJga4T3HNlaBo5OWe9oyrVTgUMFqakrgw+yVpeotfo7Y0 eT+Z9WDCiFxsD/4PSqkqkRm0V5GO9gEuqOxpIFb4HDqMphnVQ+5SL+ehCaxzDH2N2LVZ 5zvkzTMeJGyn99GinfX8XDHZQd+zMcoRBJwtaWLvcfPynsbvxFa8XiBykOr0eW2YJ526 m/S/N04ZQZUvRWjytyrv+lEakUHHkIk6i6rCc7kS8j04CcC4h3rZRg+7toLWdEYxTE40 wVeaHoPjM9cimhe0LKrcxw1vC96CkNCB1FoXzd+ppS3CvkY+8AjVXr98O4272TrhFJOe SOWA== X-Gm-Message-State: AOAM531OFXSZQmWyn+4HskCjBBKYIpgatCFQSd4kSx5JLQlM6RO+yRBT 3YqC2XovQCCOA227ifZQ+YJfAjo7PxJjD7xOqMc6zpgd X-Received: by 2002:a67:3349:: with SMTP id z70mr18508950vsz.7.1630425305956; Tue, 31 Aug 2021 08:55:05 -0700 (PDT) MIME-Version: 1.0 References: <20210831062539.898293-1-imran.f.khan@oracle.com> <20210831062539.898293-2-imran.f.khan@oracle.com> In-Reply-To: <20210831062539.898293-2-imran.f.khan@oracle.com> From: Geert Uytterhoeven Date: Tue, 31 Aug 2021 17:54:54 +0200 Message-ID: Subject: Re: [RFC PATCH 1/2] lib, stackdepot: Add input prompt for STACKDEPOT option. To: Imran Khan Cc: Christoph Lameter , Andrew Morton , Linux MM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Imran, On Tue, Aug 31, 2021 at 8:28 AM Imran Khan wrote: > So far CONFIG_STACKDEPOT option was being selected by > features that need STACKDEPOT support for their operations, > for example KASAN. > Since next patch makes use of STACKDEPOT to store user tracking > information for slub debugger and since user tracking info may > or may not store stack trace for allocating and freeing contexts, > make STACKDEPOT explicitly configurable. > > Signed-off-by: Imran Khan Thanks for your patch! > --- > lib/Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/lib/Kconfig b/lib/Kconfig > index 6a6ae5312fa0..7e4b54f48af7 100644 > --- a/lib/Kconfig > +++ b/lib/Kconfig > @@ -665,8 +665,9 @@ config ARCH_STACKWALK > bool > > config STACKDEPOT > - bool > + def_bool n Why this change? "n" is the default anyway. > select STACKTRACE > + prompt "Enable stackdepot support" > > config STACK_HASH_ORDER > int "stack depot hash size (12 => 4KB, 20 => 1024KB)" Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds