Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp44722pxf; Wed, 24 Mar 2021 20:27:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiA8yncMiF3rs6NLMTy+ZyAPL7tedJFJ62gdevmogOQnRjnM9BdklbsNcfZ3gPTc98fWjC X-Received: by 2002:a17:907:94c3:: with SMTP id dn3mr7169054ejc.280.1616642839255; Wed, 24 Mar 2021 20:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616642839; cv=none; d=google.com; s=arc-20160816; b=tVS4OdYFCM7KNdLZcn4RFAHKxD4p9YmdHq+rmcKOoNGJH2DFe+56IWDPBJ/3v3eKNH JXHzrOi3PLxue0vhSNiP1T9vPEHax+H5uw8Dg06wX9pqPb9Ycs6tIoR/PKv8g30diIrF XRkjwUysCfPF6SSnEMoJ5VkC7RJk24Ujw4WHSjd5Lnx7W+N2cqJQhUJre3qMT3b6Myh7 R3j1k0MTYk7vUFIZmggyekLen6KBcjFnHHXe5IgcOuYAX95nRQBURV6ZvyyCP54ACnPd 3+3Fx+0z5kHK4asCX3tTpBLyG9WC1zMjqpkBP9F6fLLIccfSAchtRfV0ZZ4ESEaiBe6z LQrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:date:cc:to:from:subject:dkim-signature; bh=VMcJL0oGgKCDOvoRw9WcoSULP+k/Om/qzonQD9lQGaM=; b=oAFKc1kl/4IybtqIUEWc2F13oP17/gxCaD8YrUq6xrWruu1Qi53qyCtY/bZM2DW1xY FT3HNHidgo16x99ZEBAXB8NfXaBIg9/Pq+Pk+jGUviCUASmrdP8K+gAiM0Dhyks009Fs nnkSaG7xr25ltB8afEcTrlFQsC4PnjQeCZ1Z3QC/nx1G+Ear5MWr8B7wWMymfSzjG/81 SOboirw2ilkgUIjCcG1Xoc4MxXJPDuEj7c+JUj59aFSzhN7RT7XyRkljOXuHUYratHd1 Qey4V/9Fi4yvzWrYeUsHh8sf6v7wf2zUwPX3QlIteSgZVdKTeF3uJOAWbVzhE9E37tHd CQbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Rz+FdDJD; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z21si2951883eji.701.2021.03.24.20.26.55; Wed, 24 Mar 2021 20:27:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Rz+FdDJD; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233998AbhCXVfY (ORCPT + 99 others); Wed, 24 Mar 2021 17:35:24 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:30555 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233801AbhCXVez (ORCPT ); Wed, 24 Mar 2021 17:34:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616621693; 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; bh=VMcJL0oGgKCDOvoRw9WcoSULP+k/Om/qzonQD9lQGaM=; b=Rz+FdDJDvXaHhsxjOf0x+J4/cnGkxnkDO6D3smpZMw8J+28eQbNSdIMpI43k6rCD2BYjNc 92nsfeX4A1L/C2DMvSiNTDqhv+u/+0Lj36Pb7o5giHN0XblYol6TEsQtXKbmWTqUZqAp/c WGWk1zxS+sajhVveYJxsCvfXyf7HfYk= 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-418-y8newqq5Otia-uXv6uJcgw-1; Wed, 24 Mar 2021 17:34:49 -0400 X-MC-Unique: y8newqq5Otia-uXv6uJcgw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 43D368030B5; Wed, 24 Mar 2021 21:34:48 +0000 (UTC) Received: from firesoul.localdomain (unknown [10.40.208.69]) by smtp.corp.redhat.com (Postfix) with ESMTP id 34A2D614FF; Wed, 24 Mar 2021 21:34:45 +0000 (UTC) Received: from [10.1.1.1] (localhost [IPv6:::1]) by firesoul.localdomain (Postfix) with ESMTP id 1BBFE300A2A79; Wed, 24 Mar 2021 22:34:44 +0100 (CET) Subject: [PATCH mel-git 0/3] page_pool using alloc_pages_bulk API From: Jesper Dangaard Brouer To: Mel Gorman , linux-mm@kvack.org Cc: Jesper Dangaard Brouer , chuck.lever@oracle.com, Alexander Duyck , netdev@vger.kernel.org, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 24 Mar 2021 22:34:44 +0100 Message-ID: <161662166301.940814.9765023867613542235.stgit@firesoul> User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org This patchset is against Mel's tree: - git://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git - Branch: mm-bulk-rebase-v6r5 - https://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git/log/?h=mm-bulk-rebase-v6r5 The benchmarks are here: - https://github.com/xdp-project/xdp-project/blob/master/areas/mem/page_pool06_alloc_pages_bulk.org#test-on-mel-git-tree-mm-bulk-rebase-v6r5 The compiler choose a strange code layout see here: - https://github.com/xdp-project/xdp-project/blob/master/areas/mem/page_pool06_alloc_pages_bulk.org#strange-code-layout - Used: gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2) Intent is for Mel to pickup these patches. --- Jesper Dangaard Brouer (3): 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: page_pool: convert to use alloc_pages_bulk_array variant include/net/page_pool.h | 2 - net/core/page_pool.c | 111 +++++++++++++++++++++++++++++++---------------- 2 files changed, 75 insertions(+), 38 deletions(-) --