From patchwork Mon Mar 22 20:11:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 12156037 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=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 74D9FC433C1 for ; Mon, 22 Mar 2021 20:12:41 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7A37061972 for ; Mon, 22 Mar 2021 20:12:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7A37061972 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 04D0A6B00F3; Mon, 22 Mar 2021 16:12:40 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id F3F806B00F6; Mon, 22 Mar 2021 16:12:39 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E2EC66B00F9; Mon, 22 Mar 2021 16:12:39 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0158.hostedemail.com [216.40.44.158]) by kanga.kvack.org (Postfix) with ESMTP id CBECC6B00F3 for ; Mon, 22 Mar 2021 16:12:39 -0400 (EDT) Received: from smtpin40.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 7FE77180ACF84 for ; Mon, 22 Mar 2021 20:12:39 +0000 (UTC) X-FDA: 77948608038.40.0309D8C Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf11.hostedemail.com (Postfix) with ESMTP id 6C0302000248 for ; Mon, 22 Mar 2021 20:12:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=pvdl0fQigdJQzgul7NJfz/7CX2Gzsnj7Ei3OlOQc3U8=; b=GPD8id5kXBiIxXT+I8nOzq1hal oS6wxpYcEa6Y3j1Unq1DcUww87zJpD2cYj8NOAh+9BNsWh9e7Q/PlviTxDRTQM5fnhkAEFq7TPGaV f74QUpxqd1WSAtMM+LCDiweskNv74IisnR4L/Piob5pilBxPFAh43FgOKpIWPcwkMRAGXCKRPACn+ 2gUmxvZ8f0BwAwcZWjmJjxxki4qg9s/HyLUQvU0Cp1jrtOqH+s8Fu2tZETuXoi6cQLi8t+DWGz2Av zpsCxps/dRQm5UK8kt2aGgBXWlIgGPKB/NdCjY1MRTqC/AD6p0BnAs3OC3JqsmxUAFX62mPl+5RpO qbVKkTGw==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lOQtU-0091BB-7T; Mon, 22 Mar 2021 20:11:27 +0000 From: "Matthew Wilcox (Oracle)" To: Jan Kara Cc: "Matthew Wilcox (Oracle)" , linux-mm@kvack.org, Johannes Weiner Subject: [PATCH 0/3] Allow for multiple pages in a single writeback event Date: Mon, 22 Mar 2021 20:11:13 +0000 Message-Id: <20210322201116.2149432-1-willy@infradead.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Stat-Signature: iuowm4m1pnjbq5s8dgeoxsxuxkwn4qca X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 6C0302000248 Received-SPF: none (infradead.org>: No applicable sender policy available) receiver=imf11; identity=mailfrom; envelope-from=""; helo=casper.infradead.org; client-ip=90.155.50.34 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1616443957-750429 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: This is prep work for THP or Folios or whatever we end up doing -- we are going to end up somehow batching page writeback completions. Nothing here makes that happen; we simply pass '1' from all our current callers, but eventually we'll pass a number greater than 1. Matthew Wilcox (Oracle) (3): mm/writeback: Rename __add_wb_stat to wb_stat_mod flex_proportions: Allow N events instead of 1 mm/writeback: Change __wb_writeout_inc to __wb_writeout_add include/linux/backing-dev.h | 6 +++--- include/linux/flex_proportions.h | 9 +++++---- lib/flex_proportions.c | 15 ++++++++------- mm/page-writeback.c | 24 ++++++++++++------------ 4 files changed, 28 insertions(+), 26 deletions(-)