Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1647575pxb; Mon, 22 Feb 2021 07:26:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJycGvAk8aYilYIZhnu6ficoTo/LVVV1QxtkeLzYmCzT7V56ChXXr9fWs3W1tf0WC6R/MXtY X-Received: by 2002:a17:906:e0cb:: with SMTP id gl11mr9636274ejb.87.1614007577297; Mon, 22 Feb 2021 07:26:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614007577; cv=none; d=google.com; s=arc-20160816; b=mCoH+tNsfT89bN5RviwhUpLTlsKwRV4ze4ZjtMFGejO8jWK7S28IDnACopnyrTs1FU ztk84SCbx92tkz4Qhoy4bJZBILq49hZ+Z8zIrvqiLI49RmmhhpkkWcooGJ4JOGOEYL1u iEaDWgWdmsfq3fp7RVXsmdTkiSlKIZEyBaqcBlF/i1hiSY1vUsLc07GoASpgk4s5x9PK ppsaoru800S4KK5onvGpBDgHKNuY7nB76MCjjQtrxYz07THxwXMSyM/mbn9EyScgwXqT nwpMRDfgThEtLwePHRWC2tY2j3h8JRZizC2kp398zsa0oeLbQNwLsBbsLgzaykRjErNB /JAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:date:cc:to:from:subject; bh=7Hr1+u58vEdeLC18gGe9W+dUJb/ccbGJmshDqH79aRM=; b=wh5a+TQGHWyD+jEQ5if+YjG5godl31ZuITjWDM1cdilHFRePU+RPYAoDtWqfw0g5Ax 7+01++++yUFh6R3d8OPW5owyi+Xpm+xi+gt3pr64k3nlQ6HJ/uW1o1XUk+oTyHwAh3GA gCj4GJEDat0sNtBJrINzN4+vv8GJSLP+fMUlcbA5xYNNvRBG14eAZ3OYV9ZbdblpwCjc Sgh9qGI5bz4yJd5pfm81p16IwqYR6ZhIfBmlsZVl0LioVdqv3YrqKgYXtIDuZAXtqJw1 Nghsq8UhkVzXak2wQb1qK+6sX8t+j1AHaAoe7mmMsSEon8EvTQsm91RDqJ0yAwAProyt 6a2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j10si14558872edj.128.2021.02.22.07.25.52; Mon, 22 Feb 2021 07:26:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-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-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231605AbhBVPZ0 (ORCPT + 99 others); Mon, 22 Feb 2021 10:25:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:56624 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231200AbhBVPXo (ORCPT ); Mon, 22 Feb 2021 10:23:44 -0500 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org 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