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=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 9ACD4C433E0 for ; Wed, 10 Feb 2021 08:42:06 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DCC3B64E08 for ; Wed, 10 Feb 2021 08:42:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DCC3B64E08 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=techsingularity.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 487176B0006; Wed, 10 Feb 2021 03:42:03 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 437786B006C; Wed, 10 Feb 2021 03:42:03 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 34CE06B006E; Wed, 10 Feb 2021 03:42:03 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0151.hostedemail.com [216.40.44.151]) by kanga.kvack.org (Postfix) with ESMTP id 1F30B6B0006 for ; Wed, 10 Feb 2021 03:42:03 -0500 (EST) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id D81C1F004 for ; Wed, 10 Feb 2021 08:42:02 +0000 (UTC) X-FDA: 77801715684.28.1A9620D Received: from outbound-smtp34.blacknight.com (outbound-smtp34.blacknight.com [46.22.139.253]) by imf24.hostedemail.com (Postfix) with ESMTP id D4775A0000F8 for ; Wed, 10 Feb 2021 08:42:01 +0000 (UTC) Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp34.blacknight.com (Postfix) with ESMTPS id 681E915C5 for ; Wed, 10 Feb 2021 08:42:00 +0000 (GMT) Received: (qmail 21703 invoked from network); 10 Feb 2021 08:42:00 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.22.4]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 10 Feb 2021 08:42:00 -0000 Date: Wed, 10 Feb 2021 08:41:55 +0000 From: Mel Gorman To: Jesper Dangaard Brouer Cc: Chuck Lever , "mgorman@suse.de" , Linux NFS Mailing List , "linux-mm@kvack.org" Subject: Re: alloc_pages_bulk() Message-ID: <20210210084155.GA3697@techsingularity.net> References: <2A0C36E7-8CB0-486F-A8DB-463CA28C5C5D@oracle.com> <20210209113108.1ca16cfa@carbon> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20210209113108.1ca16cfa@carbon> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: D4775A0000F8 X-Stat-Signature: 1i5f4wo4ntqhpprehpxmfzhshetgk7n1 Received-SPF: none (techsingularity.net>: No applicable sender policy available) receiver=imf24; identity=mailfrom; envelope-from=""; helo=outbound-smtp34.blacknight.com; client-ip=46.22.139.253 X-HE-DKIM-Result: none/none X-HE-Tag: 1612946521-896537 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: On Tue, Feb 09, 2021 at 11:31:08AM +0100, Jesper Dangaard Brouer wrote: > > > Neil Brown pointed me to this old thread: > > > > > > https://lore.kernel.org/lkml/20170109163518.6001-1-mgorman@techsingularity.net/ > > > > > > We see that many of the prerequisites are in v5.11-rc, but > > > alloc_page_bulk() is not. I tried forward-porting 4/4 in that > > > series, but enough internal APIs have changed since 2017 that > > > the patch does not come close to applying and compiling. > > I forgot that this was never merged. It is sad as Mel showed huge > improvement with his work. > > > > I'm wondering: > > > > > > a) is there a newer version of that work? > > > > > Mel, why was this work never merged upstream? > Lack of realistic consumers to drive it forward, finalise the API and confirm it was working as expected. It eventually died as a result. If it was reintroduced, it would need to be forward ported and then implement at least one user on top. -- Mel Gorman SUSE Labs