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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 5494FC433DB for ; Mon, 22 Feb 2021 15:25:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F40B660295 for ; Mon, 22 Feb 2021 15:25:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231605AbhBVPZ0 (ORCPT ); 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