[PATCH 0/2] optimization of dma-buf system_heap allocation
Posted by
zhaoyang.huang
2 months ago
From: Zhaoyang Huang <zhaoyang.huang@unisoc.com>
This series of patches would like to introduce alloc_pages_bulk_list in
dma-buf which need to call back the API for page allocation.
Zhaoyang Huang (2):
mm: call back alloc_pages_bulk_list since it is useful
driver: dma-buf: use alloc_pages_bulk_list for order-0 allocation
drivers/dma-buf/heaps/system_heap.c | 33 +++++++++++++++---------
include/linux/gfp.h | 9 +++++--
mm/mempolicy.c | 14 +++++------
mm/page_alloc.c | 39 ++++++++++++++++++++---------
4 files changed, 62 insertions(+), 33 deletions(-)
--
2.25.1
Re: [PATCH 0/2] optimization of dma-buf system_heap allocation
Posted by
Matthew Wilcox
2 months ago
On Tue, Oct 14, 2025 at 04:32:28PM +0800, zhaoyang.huang wrote:
> From: Zhaoyang Huang <zhaoyang.huang@unisoc.com>
>
> This series of patches would like to introduce alloc_pages_bulk_list in
> dma-buf which need to call back the API for page allocation.
Start with the problem you're trying to solve.