Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2369620pxb; Sat, 7 Nov 2020 20:58:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOYnUUn2mHIQs8UJQ2pFZtToWyUXEGYIR47zz6uaDblfzd0ULw/HshJO/Ie2QDmmqaiXcy X-Received: by 2002:a17:906:1253:: with SMTP id u19mr9149900eja.288.1604811498979; Sat, 07 Nov 2020 20:58:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604811498; cv=none; d=google.com; s=arc-20160816; b=lSoBTlBwqcr1Zu5jjT+kXUEViAjNTvJxkbLCINyjDZSO3pkvowJMw47dhn1yy3vbJD CE2GL3tsvaohx/Gw9bB6DKu1nAXDq4OjolLLnEX6fX2F0PmeOLwKEQz3KTAcyqs0M2Yd TcVQwvdn4ZC/haoIbuWP4u6xhqXN6EQJK/knijKaxBNBuJUC0gM9zFkwfyshNxMTJn5D K+ITuLMqiWeLhEhHOaQVfbmTMesIgy1uFDqlL85iISr0kmx0KrnU4TGaay6FihabwR9M q3Fe5lxW5G33cfd2yQOHw3B4jaKtA7V6pFGqXmNpSaQ488bdtScY7M2nbBMlivlzfpzj Mgeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=n7JohPxe47NLq/s+5NVOBn2IMVPA0oA7c5Ar0Cznu4w=; b=cN3sivM6xIrmW5nZ3y+8pdVyFJPHjyJQi5VVuqe2pJG3QNzMB7FNyFtHw9SzgwChJi Ee8LeW9bayirZbKRlj6qCqTrGibdjMGnJHmIfb6F51OXaT6AUghUZPI++km0NJV41QF+ OYU4dPAPFNbhUgRiOa2EUzLfH7QILmDTlKPbLZ/Ca7ZBC1Bl79mO4PSQ5FlenQ7Xlgcw Kl0OcYILCCBSaZXBPoSVOEG/3IfijZ4gxEj6mQRC+hc0nXhaX+f0teJLzQOUGlJ9Y5YG V7XZSVwWKq8z0QjbrWRSs0IRyctrviwgm3tHssRCHP0wFh+FE2u+TOJ0dtV/KgdwUha4 UC0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=enZ9dg3P; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s11si4676634edj.7.2020.11.07.20.57.55; Sat, 07 Nov 2020 20:58:18 -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=@nvidia.com header.s=n1 header.b=enZ9dg3P; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727683AbgKHE4D (ORCPT + 99 others); Sat, 7 Nov 2020 23:56:03 -0500 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:10701 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726062AbgKHE4D (ORCPT ); Sat, 7 Nov 2020 23:56:03 -0500 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Sat, 07 Nov 2020 20:56:07 -0800 Received: from [10.2.62.222] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 8 Nov 2020 04:56:00 +0000 Subject: Re: [PATCH] mm/gup_benchmark: GUP_BENCHMARK depends on DEBUG_FS To: Randy Dunlap , "Song Bao Hua (Barry Song)" , "akpm@linux-foundation.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" CC: Linuxarm , Ralph Campbell , John Garry References: <20201104100552.20156-1-song.bao.hua@hisilicon.com> <9286e2d0e17a47a1874dc4a96d83a38f@hisilicon.com> <2c968615-587c-b978-7961-8391c70382b2@nvidia.com> <869059977c224a3aa31bfb42a4a8148d@hisilicon.com> <8eaa47c0-a62d-46da-4fd6-93f2b5b2910d@nvidia.com> From: John Hubbard Message-ID: <28eb72a6-37de-6e60-9127-d1678aac5f5c@nvidia.com> Date: Sat, 7 Nov 2020 20:55:59 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1604811367; bh=n7JohPxe47NLq/s+5NVOBn2IMVPA0oA7c5Ar0Cznu4w=; h=Subject:To:CC:References:From:Message-ID:Date:User-Agent: MIME-Version:In-Reply-To:Content-Type:Content-Language: Content-Transfer-Encoding:X-Originating-IP:X-ClientProxiedBy; b=enZ9dg3PPDfsIiVrzre9R206Hh5/rbXMJUuhYxcqjfzSY2cu8qyTKo6RVLJwH0Gmm KVCMvUoEPmYxJtTTeQTS8bQox6JWGVJbj72Pwl5YJ/o75FJvs0GOXMulX3rAYUIQuh M35ntpU3XMpbU58ZbHTSDxo1a/7ba1qgwcFiJOiQEbArpaT20HAZl2yDQv0jyqmRri hh9ql7ErfUrQ6L5PFvVPiPJLPKTal1qWWQ1risEwnp41sn0xNMc6dkDYaVW2ALTHee nKpDcxnnpyDo3l5LTbn+Qn9uWNysclhLkC82Grr34PgWRzXwiLUAVULf4QNpOL6Ltx DlgNcCOUH2qww== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/7/20 8:11 PM, Randy Dunlap wrote: ... > Look at kconfig-language.rst instead. aha, yes. > > One thing that could be done (and is done in a few places for other reasons) is to add > a Kconfig comment if DEBUG_FS is not enabled: > > comment "GUP_TEST needs to have DEBUG_FS enabled" > depends on !GUP_TEST && !DEBUG_FS > Sweet--I just applied that here, and it does exactly what I wanted: puts a nice clear message on the "make menuconfig" screen. No more hidden item. Brilliant! Let's go with that, shall we? thanks, -- John Hubbard NVIDIA