Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1741112pxa; Thu, 20 Aug 2020 20:37:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJya0xVUEx9ZUimPIJlfnHDm7nN0XG11lzQg4HF+gCIpFFn/Vzumkml8yYhvKpDa1nzlKuhf X-Received: by 2002:a05:6402:1a46:: with SMTP id bf6mr918525edb.284.1597981020447; Thu, 20 Aug 2020 20:37:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597981020; cv=none; d=google.com; s=arc-20160816; b=ZOadILe9YSnTA2lS+iRlyXEcB2aaQtzEzRAU9OfaoRzYYtIftf/VX1KYm2ErayeVQv BjQ/DLxSnN9pQiJIVM2URYeXk09zbZxr1a3qUBWjHGoY0U6D/zeLpTIeBdIWMXgU/YaC ISA7ZD1e+KdRSiSOT/Wd94GmCVyyaBpKEQhvHfZRgdXB5jLCIdFUrkiHgsSN1NTSioji tpGTkrDgMEY3JK+kzkdrfRPvEJbeLTbDA/l1/NHU7CFeSrDcsu52miLBUGgBtdD1rWPO YPX0RmI0K8JYl49kFSAtwhKdnhE226zI/SybbIMWtPI6ZLy3KAai++IBhFICI5e41u1D sKkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=xnM9L/JcD+pRAjEzsCqNFe7cURFvJqrzbCnPz1RjtqY=; b=aCZi0xGt5ycrYZh9SYU9q/tQ6yfScVJRJrDG55Gsv87K4ww/tbHiKjU4fId54U/aBc Rl68kuLIb/B5kRI9K27Viwisuf1H71jD2Vhcn3c1xidN942qnL7zufqudbg7pcBYOIAW Acahcd2LbPEkkC5bvv1eFH5BB41jqHhwBZijGgZSeIe0U72MfvB3WFmCIH/AxSC6fGlL XHmzNv5BgHdq3NYsP7UF6SQNlhzpGLI3CVfZ9ZHb32K+rFlM2NA64CeAklzXC2t4gcwl 9LZzTTCm09oaAt95xu+fIYRqM2VXaFOnA6FBRtcf8QSZSD1nDbkAEb96Xy7QdqXJWgJp uhxw== ARC-Authentication-Results: i=1; mx.google.com; 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 n17si390590edt.242.2020.08.20.20.36.33; Thu, 20 Aug 2020 20:37:00 -0700 (PDT) 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; 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 S1727090AbgHUDey (ORCPT + 99 others); Thu, 20 Aug 2020 23:34:54 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:45678 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726975AbgHUDex (ORCPT ); Thu, 20 Aug 2020 23:34:53 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 8061D558E3DE7BEE5F2A; Fri, 21 Aug 2020 11:28:36 +0800 (CST) Received: from SWX921481.china.huawei.com (10.126.202.191) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.487.0; Fri, 21 Aug 2020 11:28:25 +0800 From: Barry Song To: , , CC: , , Barry Song , John Hubbard , Keith Busch , Ira Weiny , "Kirill A . Shutemov" Subject: [PATCH] mm/gup_benchmark: update the documentation in Kconfig Date: Fri, 21 Aug 2020 15:25:46 +1200 Message-ID: <20200821032546.19992-1-song.bao.hua@hisilicon.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.126.202.191] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the beginning, mm/gup_benchmark.c supported get_user_pages_fast() only, but right now, it supports the benchmarking of a couple of get_user_pages() related calls like: * get_user_pages_fast() * get_user_pages() * pin_user_pages_fast() * pin_user_pages() The documentation is confusing and needs update. Cc: John Hubbard Cc: Keith Busch Cc: Ira Weiny Cc: Kirill A. Shutemov Signed-off-by: Barry Song --- mm/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/Kconfig b/mm/Kconfig index 6c974888f86f..f7c9374da7b3 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -831,10 +831,10 @@ config PERCPU_STATS be used to help understand percpu memory usage. config GUP_BENCHMARK - bool "Enable infrastructure for get_user_pages_fast() benchmarking" + bool "Enable infrastructure for get_user_pages() and related calls benchmarking" help Provides /sys/kernel/debug/gup_benchmark that helps with testing - performance of get_user_pages_fast(). + performance of get_user_pages() and related calls. See tools/testing/selftests/vm/gup_benchmark.c -- 2.27.0