Re: Discontiguous folios/pagesets

From: Andreas Dilger
Date: Sat Aug 28 2021 - 15:36:59 EST


On Aug 28, 2021, at 1:04 PM, Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
>
> The current folio work is focused on permitting the VM to use
> physically contiguous chunks of memory. Both Darrick and Johannes
> have pointed out the advantages of supporting logically-contiguous,
> physically-discontiguous chunks of memory. Johannes wants to be able to
> use order-0 allocations to allocate larger folios, getting the benefit
> of managing the memory in larger chunks without requiring the memory
> allocator to be able to find contiguous chunks. Darrick wants to support
> non-power-of-two block sizes.

What is the use case for non-power-of-two block sizes? The main question
is whether that use case is important enough to add the complexity and
overhead in order to support it?

Cheers, Andreas





Attachment: signature.asc
Description: Message signed with OpenPGP