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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 57D04C4743C for ; Wed, 16 Dec 2020 00:00:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 36CE922D0A for ; Wed, 16 Dec 2020 00:00:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726758AbgLOX77 (ORCPT ); Tue, 15 Dec 2020 18:59:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:34566 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726638AbgLOX0k (ORCPT ); Tue, 15 Dec 2020 18:26:40 -0500 Date: Tue, 15 Dec 2020 15:17:28 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1608074248; bh=YcHSizQdnXjnifP0vzimBnXaKTakoYLqln98++pShl0=; h=From:To:Subject:From; b=nYTRaWzuyFN3A97ZncQv3I8iqc3oHiOlUuDpgjz9jR9t2cPpuOAoLvN2Xi5B93isF /RBe5CZU3qaMut0qSlkZyQFaGNua03dCJbdibbSMj98qqhs2qWTnp24Zhc2BdAUkMA jTrWj0zAwRUzcPQpyhpRPEd4HkJFiy486qI0dl6g= From: akpm@linux-foundation.org To: jhubbard@nvidia.com, john.garry@huawei.com, mm-commits@vger.kernel.org, rcampbell@nvidia.com, rdunlap@infradead.org, song.bao.hua@hisilicon.com Subject: [merged] mm-gup_benchmark-gup_benchmark-depends-on-debug_fs.patch removed from -mm tree Message-ID: <20201215231728.FbEW9QLBz%akpm@linux-foundation.org> User-Agent: s-nail v14.8.16 Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The patch titled Subject: mm/gup_test: GUP_TEST depends on DEBUG_FS has been removed from the -mm tree. Its filename was mm-gup_benchmark-gup_benchmark-depends-on-debug_fs.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Barry Song Subject: mm/gup_test: GUP_TEST depends on DEBUG_FS Without DEBUG_FS, all the code in gup_benchmark 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. [song.bao.hua@hisilicon.com: add comment as a prompt to users as commented by John and Randy] Link: https://lkml.kernel.org/r/20201108083732.15336-1-song.bao.hua@hisilicon.com Link: https://lkml.kernel.org/r/20201104100552.20156-1-song.bao.hua@hisilicon.com Signed-off-by: Barry Song Suggested-by: John Garry Reviewed-by: John Hubbard Acked-by: Randy Dunlap Cc: Ralph Campbell Signed-off-by: Andrew Morton --- mm/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) --- a/mm/Kconfig~mm-gup_benchmark-gup_benchmark-depends-on-debug_fs +++ a/mm/Kconfig @@ -823,6 +823,7 @@ config PERCPU_STATS config GUP_TEST bool "Enable infrastructure for get_user_pages()-related unit tests" + depends on DEBUG_FS help Provides /sys/kernel/debug/gup_test, which in turn provides a way to make ioctl calls that can launch kernel-based unit tests for @@ -840,6 +841,9 @@ config GUP_TEST See tools/testing/selftests/vm/gup_test.c +comment "GUP_TEST needs to have DEBUG_FS enabled" + depends on !GUP_TEST && !DEBUG_FS + config GUP_GET_PTE_LOW_HIGH bool _ Patches currently in -mm which might be from song.bao.hua@hisilicon.com are