Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3406157pxa; Sat, 8 Aug 2020 22:08:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1jN5XMO7jGPqRVQwiB8jMO8hsuwA/UjGD09lv9VGk+sEBvSMeJ0fBUnOw06kQOX7MK4nK X-Received: by 2002:aa7:c697:: with SMTP id n23mr15251419edq.50.1596949688202; Sat, 08 Aug 2020 22:08:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596949688; cv=none; d=google.com; s=arc-20160816; b=c4na85kLwjw3a+J9dFsIAiS+NVJ+FUSeU2avOGdl/q6CopS6oGnerdi66DRX99wGIi NYH48MOjBY3D/kr8PxWMZJpMswH3qFDxkfaWeWEyhJNPR4OwnxIzAdPh41Nn+xCAfx7i 8Ao7w3gbBTOGpGndIAHgy61IcsHMSVNcekOwUT11AMVuYqmRDKN9+r0R8mukN2nO5wHz R+12xYccZ70lyLsyoM4RhYq5Q5BzkaLwZJTweJDL4xez+n8LZeskBubELrd4OGZZ30YW 2BpwZj0mdstahN9YH1OOxZI3JYrN37hGWkWE99xCuwgJga6pMD2tc+J8ZSZ7K5EekZCP 1JXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=KFpMew5MWdx4OVueRAZxSP2lNfAyRK8h36VA6KMljLY=; b=wfmjz9pe1r6rKBfi4qBaSZc2HBXBxo4KsTby/T9yIEhxYxGnsUzLgn8iNb8L89Dvpp hspGevgSRLCIOlUcWprv+H5qJlqw3VyXgoh1fN/05vXlAkwxdAefnN35GfZpWQwC89YU h/+uGfuC0KQoUeem5/MO8nidOLZuPVcN6F7UFBjk1dvlePjTWcR0Fi4ssCmPXg/e5PnU Fxz6umhuQhNyVdHtuqco0sP7iA5Mhj2RgqGuOIs4bRWZwPn8saLwGzYbka19QlKGY8Dn ATdE0ZHGebsqUvTFQJLsEh8c/hKEO3xnMaynGfUNSXcCos7MUArJ4y8pyxyOfACW39hT D5sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=KOP7sa4N; 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 t28si8631963edt.38.2020.08.08.22.07.42; Sat, 08 Aug 2020 22:08:08 -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; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=KOP7sa4N; 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 S1726250AbgHIFGK (ORCPT + 99 others); Sun, 9 Aug 2020 01:06:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725790AbgHIFGK (ORCPT ); Sun, 9 Aug 2020 01:06:10 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DD6FC061756 for ; Sat, 8 Aug 2020 22:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=KFpMew5MWdx4OVueRAZxSP2lNfAyRK8h36VA6KMljLY=; b=KOP7sa4NFIfTImV6xf9GxdSg7E T+CkJvw548uZCmDd+a0LRpprZj8CeU2eEguGKNEEjZMKMJaOpfwIHzaetwxojgsVoPSCIX1k35wI9 hSL8S4XIWIcHJuqMD4x5aMSP+OtPC4+pr3vdzWk7/FQQwiOvXjPSSUDwd2ouITUZCIzPj9MWBgGl/ jOyP1t9XmW4Oq4h84K4x4eVfR89qRBIqcLH9wu6QS6Q2uE4PT1dKwPfLeQZSlICJ5wqck/oaCYyNy ltXbtTQ9y3RnDIDj3tMFrc/zkA5gPqhSwW5YaAFIwXMz1lD3722hn3I5Gf0dNXOlp9yqI8LjU6IpO oZmHf95g==; Received: from [2601:1c0:6280:3f0:897c:6038:c71d:ecac] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k4dWw-0002ST-Em; Sun, 09 Aug 2020 05:05:59 +0000 Subject: Re: [PATCH 3/7] dyndbg: select ZPOOL in Kconfig.debug To: Jim Cromie , jbaron@akamai.com, linux-kernel@vger.kernel.org Cc: Andrew Morton , Changbin Du , Masahiro Yamada , Shuah Khan , Krzysztof Kozlowski References: <20200807200957.1269454-1-jim.cromie@gmail.com> <20200807200957.1269454-4-jim.cromie@gmail.com> From: Randy Dunlap Message-ID: <7e5c90bf-eb04-4b63-2990-7be18e22664f@infradead.org> Date: Sat, 8 Aug 2020 22:05:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200807200957.1269454-4-jim.cromie@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/7/20 1:09 PM, Jim Cromie wrote: > dyndbg will next need zs_malloc and friends, so add config reqs now, > to avoid touching make-deps late in a patch-set. > > I used select in order not to hide dyndbg inadvertently. > I want to say recommends, since it could be an optional feature. > Whats the best way ? Hi Jim, Can you elaborate on what/why/when it could be an optional feature? > > Signed-off-by: Jim Cromie > --- > lib/Kconfig.debug | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index 9ad9210d70a1..a7973063baf0 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -100,6 +100,7 @@ config DYNAMIC_DEBUG > depends on PRINTK > depends on (DEBUG_FS || PROC_FS) > select DYNAMIC_DEBUG_CORE > + select ZPOOL > help > > Compiles debug level messages into the kernel, which would not > -- ~Randy