Re: [PATCH v2 00/10] evacuate struct page from the block layer, introduce __pfn_t

From: Linus Torvalds
Date: Fri May 08 2015 - 21:14:59 EST


On Fri, May 8, 2015 at 9:59 AM, Rik van Riel <riel@xxxxxxxxxx> wrote:
>
> However, for persistent memory, all of the files will be "in memory".

Yes. However, I doubt you will find a very sane rw filesystem that
then also makes them contiguous and aligns them at 2MB boundaries.

Anything is possible, I guess, but things like that are *hard*. The
fragmentation issues etc cause it to a really challenging thing.

And if they aren't aligned big contiguous allocations, then they
aren't relevant from any largepage cases. You'll still have to map
them 4k at a time etc.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/