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=-6.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no 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 0CA9EC55179 for ; Thu, 5 Nov 2020 17:27:01 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 77BD6206B6 for ; Thu, 5 Nov 2020 17:27:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="N47O2tue" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 77BD6206B6 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 0821D6B015B; Thu, 5 Nov 2020 12:27:00 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 036D46B015C; Thu, 5 Nov 2020 12:26:59 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E8B2F6B015D; Thu, 5 Nov 2020 12:26:59 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0024.hostedemail.com [216.40.44.24]) by kanga.kvack.org (Postfix) with ESMTP id AC0A96B015B for ; Thu, 5 Nov 2020 12:26:59 -0500 (EST) Received: from smtpin05.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 55AD0181AC9BF for ; Thu, 5 Nov 2020 17:26:59 +0000 (UTC) X-FDA: 77451044958.05.kitty70_3f11c18272cb Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin05.hostedemail.com (Postfix) with ESMTP id 3446218017512 for ; Thu, 5 Nov 2020 17:26:59 +0000 (UTC) X-HE-Tag: kitty70_3f11c18272cb X-Filterd-Recvd-Size: 2262 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf13.hostedemail.com (Postfix) with ESMTP for ; Thu, 5 Nov 2020 17:26:58 +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=K2uqtJDP75fnruo7GCdb3a6eyhEUckBIW0MM3cz+4sM=; b=N47O2tueGSSp78GhLeNedRZTxw JtLSecPznStOgtsDGtJOcWgGzI/GjCc2wUlpopWxPkXmuo4gekI5q8AdeTrx9HYw7VkSPYktzaBfw /DwGbi4zalxCQD+E7G6YgV8uqEbE5gVAeknhhG1C7xNmrshnDjoNzk+ZQQ+8cRO9fQzF3ErQwmADq bIsmYDDBH03JZuNm7n8zG27fg16qb+B2Vm6rtpzhBYw8uc+yN6u+u4XwYIlF51PFvKEOO2Ytt8ZF5 XLT07QaXBH7W2OpK/nTVJK2+hwh50QimxKs0OPOLGdvwvdqXjn7Zo0VOK5QN1AQEOBVWYuIhV8Eon gE2qNveA==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaj2C-0000eO-CN; Thu, 05 Nov 2020 17:26:52 +0000 From: "Matthew Wilcox (Oracle)" To: linux-mm@kvack.org Cc: "Matthew Wilcox (Oracle)" , Tim Chen , Jan Kara Subject: [PATCH 0/2] Increase the size of LRU pagevecs Date: Thu, 5 Nov 2020 17:26:49 +0000 Message-Id: <20201105172651.2455-1-willy@infradead.org> X-Mailer: git-send-email 2.21.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 attempts to address some of the criticisms of Tim's original patch back in June: https://lore.kernel.org/linux-mm/d1cc9f12a8ad6c2a52cb600d93b06b064f2bbc57= .1593205965.git.tim.c.chen@linux.intel.com/ I don't love how messy this is. Better suggestions (dynamic allocation o= f pagevecs?) welcome. It'd be even better if we could measure contention and resize the LRUvecs on demand. I do intend to add pagevec_alloc() and pagevec_free(), but that's to solve a different problem. Matthew Wilcox (Oracle) (2): pagevec: Allow pagevecs to be different sizes pagevec: Increase the size of LRU pagevecs include/linux/pagevec.h | 25 +++++++++++++++++++++---- mm/swap.c | 23 +++++++++++++++++------ 2 files changed, 38 insertions(+), 10 deletions(-) --=20 2.28.0