From patchwork Mon Mar 1 13:29:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesper Dangaard Brouer X-Patchwork-Id: 12109705 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=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 6229EC433DB for ; Mon, 1 Mar 2021 13:30:26 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id EDCAC64DFB for ; Mon, 1 Mar 2021 13:30:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EDCAC64DFB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 917ED8D006F; Mon, 1 Mar 2021 08:30:25 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 8EF488D0063; Mon, 1 Mar 2021 08:30:25 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7DED18D006F; Mon, 1 Mar 2021 08:30:25 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0164.hostedemail.com [216.40.44.164]) by kanga.kvack.org (Postfix) with ESMTP id 61B948D0063 for ; Mon, 1 Mar 2021 08:30:25 -0500 (EST) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 3271E6D6F for ; Mon, 1 Mar 2021 13:30:25 +0000 (UTC) X-FDA: 77871389610.11.AFAE29D Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf26.hostedemail.com (Postfix) with ESMTP id 19D8C407F8D0 for ; Mon, 1 Mar 2021 13:30:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614605423; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CrGiDuiEl2Ly6tBW0cAMgxIDaJs1D1fkCgNkCNLSH9U=; b=aMLKAnDXOqnOgsdNN0PfUu0i3WEJLjAL6sd2p88JVTF+dVu27ZrsSX8UkOFKqbW0kwE1Qx ytdo27zrPe4UjKez5FQbBo5uFTmwSsmeURFCCXRyTMVJRDoz5Q5bvHtXfmqbohMzJgipnh If7VWrDGZh07RN2akdisAa42+L5FjGE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-42-DukgsvghNdWornkJcpJfMA-1; Mon, 01 Mar 2021 08:30:18 -0500 X-MC-Unique: DukgsvghNdWornkJcpJfMA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 45440905416; Mon, 1 Mar 2021 13:29:58 +0000 (UTC) Received: from firesoul.localdomain (unknown [10.40.208.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id DCCAE60C94; Mon, 1 Mar 2021 13:29:43 +0000 (UTC) Received: from [192.168.42.3] (localhost [IPv6:::1]) by firesoul.localdomain (Postfix) with ESMTP id B270E30736C73; Mon, 1 Mar 2021 14:29:42 +0100 (CET) Subject: [PATCH RFC V2 net-next 0/2] Use bulk order-0 page allocator API for page_pool From: Jesper Dangaard Brouer To: Mel Gorman , linux-mm@kvack.org Cc: Jesper Dangaard Brouer , chuck.lever@oracle.com, netdev@vger.kernel.org, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 01 Mar 2021 14:29:42 +0100 Message-ID: <161460522573.3031322.15721946341157092594.stgit@firesoul> In-Reply-To: <20210224102603.19524-1-mgorman@techsingularity.net> References: <20210224102603.19524-1-mgorman@techsingularity.net> User-Agent: StGit/0.19 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Stat-Signature: iecyr1wjx4f5x7i5qsxwf76rumcnuouz X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 19D8C407F8D0 Received-SPF: none (redhat.com>: No applicable sender policy available) receiver=imf26; identity=mailfrom; envelope-from=""; helo=us-smtp-delivery-124.mimecast.com; client-ip=170.10.133.124 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1614605417-45506 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 a followup to Mel Gorman's patchset: - Message-Id: <20210224102603.19524-1-mgorman@techsingularity.net> - https://lore.kernel.org/netdev/20210224102603.19524-1-mgorman@techsingularity.net/ Showing page_pool usage of the API for alloc_pages_bulk(). Maybe Mel Gorman will/can carry these patches? (to keep it together with the alloc_pages_bulk API) --- Jesper Dangaard Brouer (2): net: page_pool: refactor dma_map into own function page_pool_dma_map net: page_pool: use alloc_pages_bulk in refill code path net/core/page_pool.c | 102 +++++++++++++++++++++++++++++++------------------- 1 file changed, 63 insertions(+), 39 deletions(-) --