Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3029287pxb; Sun, 8 Nov 2020 23:56:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwNT37p74kGr225GO521NuoWiebTZ7OEKIknvP/FJSjO6TI1gPL7Sl0V/3z0tRcBLcR5kle X-Received: by 2002:aa7:dc09:: with SMTP id b9mr14379588edu.285.1604908610526; Sun, 08 Nov 2020 23:56:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604908610; cv=none; d=google.com; s=arc-20160816; b=naTwYfgFtyPp9wdPeDtaaDQOOb/xmKTn1WLFdPUxJmvK/5ev8sklS/42SbcRkqyvfK aSsReAAn/Id8e27YYnx21kSs8ageG8ZtPLzV9cVzMSrlaNrHd4wdjMrkgQSkOwZ34JsK QoaKBUsogBzkkAin7Lj5pdgbkZB0ScgC3zQYSaYJUTghi0ay+58l1Lk3H3w/pLN8vn4w nMSecmhE2LpTUec8py15VQPrsm2Zm8JHoofHz5Ruu+HypiBh1PsIE7BJf+sQS/on5xUq Ck6B/ft62xbHzwDn/Otx2cXNIAcX91dT+KY7I96Gn0lHatKjncR0qbc566eWPAmCdKNr ZbwA== 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:dkim-signature; bh=DQp7Z8atBHTyupqZQXsiHfDtdq00mAq/dg+gPrxsabM=; b=xLn9IzNdFJjZAHVmOrM4tDX781XsESUTXCWG5332GEdhcfpHIsdGwoC6HUd8r5UJJj 0lZSjYxJFujOs1D0WcOv74ppQBpPtbeVA67JxH7qJyEQzfyE9dKE2TQAHFOsvixggAuB LqsAW5MphKSYtf+JfbZoUbeiqp8bORk1J9RvL/DPfYpX949NXK7p/45n1ZQ+549F7n36 yakvPxh+POuoVJw6J6ddg9wKJ97wd8p68x8L6RihplfalH/v6QgLUsehcEAcVYp5QjO2 aIhCJ9VHHp2kb5bKUPRxlm2VH0C7vpK0q44GCGO3qccEFDFn+yw3bo16SsmOqsAhZ/Ri f30w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=C5Ly9d20; 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 t9si6508616ejx.145.2020.11.08.23.56.27; Sun, 08 Nov 2020 23:56:50 -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=@infradead.org header.s=casper.20170209 header.b=C5Ly9d20; 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 S1729673AbgKIHw3 (ORCPT + 99 others); Mon, 9 Nov 2020 02:52:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728038AbgKIHw2 (ORCPT ); Mon, 9 Nov 2020 02:52:28 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91F93C0613CF for ; Sun, 8 Nov 2020 23:52:28 -0800 (PST) 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=DQp7Z8atBHTyupqZQXsiHfDtdq00mAq/dg+gPrxsabM=; b=C5Ly9d20rUqQLMssiKEQpyR9IJ fXb8BUn6LRAxyvNBhc9DyVlZ6MsgkNhp6GAshCYRt8EvKY0wIdtu1Y3q1+X3xaobvizCcmlc935Pq TvMCrhqPi9dIR1/p2A5fU/dDn/iCqGD1YVyV3ZFKoR1Co0QNIKrjrVCA13IsIZva4KJPmPPrr51x0 nMECXM46ForuD6xUcH5eZmWadnureyK9AQ6kwzfe3JlJqUoZ7hakKBWympNYpLm1tN4fC7WsIqRvW 66WWkv3SwHVh0/wgbCLHWM2LSbLfp2luvqb/FiUkQ61G7iPys0bDDlBXm9UZQ+/uk046rmg2BK7dH o6LcYBJw==; Received: from [2601:1c0:6280:3f0::a1cb] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kc1yL-00015P-BO; Mon, 09 Nov 2020 07:52:17 +0000 Subject: Re: [PATCH v2] mm/gup_test: GUP_TEST depends on DEBUG_FS To: John Hubbard , Barry Song , akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: linuxarm@huawei.com, Ralph Campbell , John Garry References: <20201108083732.15336-1-song.bao.hua@hisilicon.com> From: Randy Dunlap Message-ID: <071150d8-9159-91c4-118d-b19c2bd785ea@infradead.org> Date: Sun, 8 Nov 2020 23:52:14 -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 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/8/20 11:45 PM, John Hubbard wrote: > On 11/8/20 12:37 AM, Barry Song wrote: >> Without DEBUG_FS, all the code in gup_test becomes meaningless. For sure >> kernel provides debugfs stub while DEBUG_FS is disabled, but the point >> here is that GUP_TEST can do nothing without DEBUG_FS. >> >> Cc: John Hubbard >> Cc: Ralph Campbell >> Cc: Randy Dunlap >> Suggested-by: John Garry >> Signed-off-by: Barry Song >> --- >>   -v2: >>   add comment as a prompt to users as commented by John and Randy, thanks! >> >>   mm/Kconfig | 4 ++++ >>   1 file changed, 4 insertions(+) > > Thanks for suffering through a lot of discussion about this! > > Reviewed-by: John Hubbard > > > thanks, Acked-by: Randy Dunlap thanks. -- ~Randy