From patchwork Mon Feb 22 15:23:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever III X-Patchwork-Id: 12098923 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.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 6D517C433DB for ; Mon, 22 Feb 2021 15:23:07 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id BC9D564EC3 for ; Mon, 22 Feb 2021 15:23:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BC9D564EC3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oracle.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E1C806B0072; Mon, 22 Feb 2021 10:23:05 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id DCABA6B0073; Mon, 22 Feb 2021 10:23:05 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CB98B6B0074; Mon, 22 Feb 2021 10:23:05 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0238.hostedemail.com [216.40.44.238]) by kanga.kvack.org (Postfix) with ESMTP id B71A56B0072 for ; Mon, 22 Feb 2021 10:23:05 -0500 (EST) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 84A66180AD830 for ; Mon, 22 Feb 2021 15:23:05 +0000 (UTC) X-FDA: 77846271930.18.BC23B57 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf27.hostedemail.com (Postfix) with ESMTP id 3C155801A02B for ; Mon, 22 Feb 2021 15:22:58 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 0307364E57; Mon, 22 Feb 2021 15:23:01 +0000 (UTC) Subject: [PATCH v2 0/4] Reduce page allocator traffic caused by NFSD From: Chuck Lever To: mgorman@techsingularity.net Cc: linux-nfs@vger.kernel.org, linux-mm@kvack.org, kuba@kernel.org Date: Mon, 22 Feb 2021 10:23:00 -0500 Message-ID: <161400722731.195066.9584156841718557193.stgit@klimt.1015granger.net> User-Agent: StGit/1.0-5-g755c MIME-Version: 1.0 X-Stat-Signature: ifw8z1egw3z79u1bhenqwhk7qdwx1453 X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 3C155801A02B Received-SPF: none (kernel.org>: No applicable sender policy available) receiver=imf27; identity=mailfrom; envelope-from=""; helo=mail.kernel.org; client-ip=198.145.29.99 X-HE-DKIM-Result: none/none X-HE-Tag: 1614007378-696592 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: Hi Mel- I've been testing these four, which include a working version of your bulk allocator patch. In "Refresh rq_pages" I've replaced the cond_resched() call with schedule_timeout(), as you requested. As always, review comments and test results are welcome. --- Chuck Lever (3): SUNRPC: Set rq_page_end differently SUNRPC: Refresh rq_pages using a bulk page allocator SUNRPC: Cache pages that were replaced during a read splice Mel Gorman (1): mm: alloc_pages_bulk() fs/nfsd/vfs.c | 4 +- include/linux/gfp.h | 24 +++++++ include/linux/sunrpc/svc.h | 1 + include/linux/sunrpc/svc_xprt.h | 28 ++++++++ mm/page_alloc.c | 110 +++++++++++++++++++++++++++++++- net/sunrpc/svc.c | 7 ++ net/sunrpc/svc_xprt.c | 55 ++++++++++++---- 7 files changed, 214 insertions(+), 15 deletions(-) -- Chuck Lever