lkml.org 
[lkml]   [2023]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 03/13] scatterlist: Add sg_set_folio()
From

在 2023/7/30 19:18, Matthew Wilcox 写道:
> On Sun, Jul 30, 2023 at 07:01:26PM +0800, Zhu Yanjun wrote:
>> Does the following function have folio version?
>>
>> "
>> int sg_alloc_append_table_from_pages(struct sg_append_table *sgt_append,
>> struct page **pages, unsigned int n_pages, unsigned int offset,
>> unsigned long size, unsigned int max_segment,
>> unsigned int left_pages, gfp_t gfp_mask)
>> "
> No -- I haven't needed to convert anything that uses
> sg_alloc_append_table_from_pages() yet. It doesn't look like it should
> be _too_ hard to add a folio version.

In many places, this function is used. So this function needs the folio
version.

Another problem, after folio is used, I want to know the performance
after folio is implemented.

How to make tests to get the performance?

Thanks a lot.

Zhu Yanjun

\
 
 \ /
  Last update: 2023-07-30 16:06    [W:0.131 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site