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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 1EA9AC55178 for ; Tue, 27 Oct 2020 15:34:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C1D8822284 for ; Tue, 27 Oct 2020 15:34:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603812859; bh=+cwNwv6qjsb5YJODqEPijhAolfDeP6rDsLXPpxdyTWo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=AlMslpty9TUBDXAcRuE/eT3pg5CaY9W37bZo+zezD1xgd2uynxSpp5TFYSgeL0WsK EU+3OfIkKlXttkxgWtw2rA8NR8VzFEQllPXNl+dVSO2XzxqirRNr2svbxhHZplswYy N9x4Ne4j0Pj/j4hSwkg5FBbxbF5PgQ8yNqOfoyYg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1799947AbgJ0PeR (ORCPT ); Tue, 27 Oct 2020 11:34:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:43960 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1798444AbgJ0P2A (ORCPT ); Tue, 27 Oct 2020 11:28:00 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CAA91206E9; Tue, 27 Oct 2020 15:27:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603812480; bh=+cwNwv6qjsb5YJODqEPijhAolfDeP6rDsLXPpxdyTWo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PEOSRMr3Uy8Go+/uYWlG4aFPGtcD6z4IBdOtJ13GLNKGTMiEwZoPMxnZk/Qwa7Ssz Zf6q5t3aJjo6M2xtpmYZ2Cxuy/AoN7wO3tTwlFeBhjbWzu1ySyDgMQjxPM40+wgf1t n2r0U0JhcQ/lX7CFb32l8hA6A3+sBwsh+k+mLMJg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Anatoly Pugachev , Jiri Kosina , Shuah Khan , Jiri Kosina , Sasha Levin Subject: [PATCH 5.9 225/757] selftests: vm: add fragment CONFIG_GUP_BENCHMARK Date: Tue, 27 Oct 2020 14:47:55 +0100 Message-Id: <20201027135501.165835678@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135450.497324313@linuxfoundation.org> References: <20201027135450.497324313@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anatoly Pugachev [ Upstream commit cae1d5a2c5a491141faa747e9944ba40ab4ab786 ] When running gup_benchmark test the following output states that the config options is missing. $ sudo ./gup_benchmark open: No such file or directory $ sudo strace -e trace=file ./gup_benchmark 2>&1 | tail -3 openat(AT_FDCWD, "/sys/kernel/debug/gup_benchmark", O_RDWR) = -1 ENOENT (No such file or directory) open: No such file or directory +++ exited with 1 +++ Fix it by adding config option fragment. Fixes: 64c349f4ae78 ("mm: add infrastructure for get_user_pages_fast() benchmarking") Signed-off-by: Anatoly Pugachev CC: Jiri Kosina CC: Shuah Khan Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- tools/testing/selftests/vm/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/vm/config b/tools/testing/selftests/vm/config index 3ba674b64fa9f..69dd0d1aa30b2 100644 --- a/tools/testing/selftests/vm/config +++ b/tools/testing/selftests/vm/config @@ -3,3 +3,4 @@ CONFIG_USERFAULTFD=y CONFIG_TEST_VMALLOC=m CONFIG_DEVICE_PRIVATE=y CONFIG_TEST_HMM=m +CONFIG_GUP_BENCHMARK=y -- 2.25.1