From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB565C2D0A3 for ; Mon, 9 Nov 2020 07:52:33 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7774121534 for ; Mon, 9 Nov 2020 07:52:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="C5Ly9d20" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7774121534 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 86D066B0036; Mon, 9 Nov 2020 02:52:31 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7F6396B005D; Mon, 9 Nov 2020 02:52:31 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6BD496B0068; Mon, 9 Nov 2020 02:52:31 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0140.hostedemail.com [216.40.44.140]) by kanga.kvack.org (Postfix) with ESMTP id 3B5306B0036 for ; Mon, 9 Nov 2020 02:52:31 -0500 (EST) Received: from smtpin03.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id DA129181AEF10 for ; Mon, 9 Nov 2020 07:52:30 +0000 (UTC) X-FDA: 77464112460.03.touch71_4a0ba86272ea Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin03.hostedemail.com (Postfix) with ESMTP id B28D928A4E9 for ; Mon, 9 Nov 2020 07:52:30 +0000 (UTC) X-HE-Tag: touch71_4a0ba86272ea X-Filterd-Recvd-Size: 2846 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf01.hostedemail.com (Postfix) with ESMTP for ; Mon, 9 Nov 2020 07:52:30 +0000 (UTC) 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: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 su= re >> 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 >> --- >> =C2=A0 -v2: >> =C2=A0 add comment as a prompt to users as commented by John and Randy= , thanks! >> >> =C2=A0 mm/Kconfig | 4 ++++ >> =C2=A0 1 file changed, 4 insertions(+) >=20 > Thanks for suffering through a lot of discussion about this! >=20 > Reviewed-by: John Hubbard >=20 >=20 > thanks, Acked-by: Randy Dunlap thanks. --=20 ~Randy