Re: [PATCH v8 1/8] xarray: add xas_try_split() to split a multi-index entry

2025-02-26 Thread Zi Yan
On 26 Feb 2025, at 10:07, Baolin Wang wrote: > On 2025/2/26 23:00, Zi Yan wrote: >> On 26 Feb 2025, at 2:11, Baolin Wang wrote: >> >>> Hi Zi, >>> >>> On 2025/2/19 07:50, Zi Yan wrote: A preparation patch for non-uniform folio split, which always split a folio into half iteratively, and m

Re: [PATCH v8 1/8] xarray: add xas_try_split() to split a multi-index entry

2025-02-26 Thread Baolin Wang
On 2025/2/26 23:00, Zi Yan wrote: On 26 Feb 2025, at 2:11, Baolin Wang wrote: Hi Zi, On 2025/2/19 07:50, Zi Yan wrote: A preparation patch for non-uniform folio split, which always split a folio into half iteratively, and minimal xarray entry split. Currently, xas_split_alloc() and xas_sp

Re: [PATCH v8 1/8] xarray: add xas_try_split() to split a multi-index entry

2025-02-26 Thread Zi Yan
On 26 Feb 2025, at 2:11, Baolin Wang wrote: > Hi Zi, > > On 2025/2/19 07:50, Zi Yan wrote: >> A preparation patch for non-uniform folio split, which always split a >> folio into half iteratively, and minimal xarray entry split. >> >> Currently, xas_split_alloc() and xas_split() always split all sl

Re: [PATCH v8 1/8] xarray: add xas_try_split() to split a multi-index entry

2025-02-25 Thread Baolin Wang
Hi Zi, On 2025/2/19 07:50, Zi Yan wrote: A preparation patch for non-uniform folio split, which always split a folio into half iteratively, and minimal xarray entry split. Currently, xas_split_alloc() and xas_split() always split all slots from a multi-index entry. They cost the same number of

[PATCH v8 1/8] xarray: add xas_try_split() to split a multi-index entry

2025-02-18 Thread Zi Yan
A preparation patch for non-uniform folio split, which always split a folio into half iteratively, and minimal xarray entry split. Currently, xas_split_alloc() and xas_split() always split all slots from a multi-index entry. They cost the same number of xa_node as the to-be-split slots. For exam