Re: [PATCH v3 14/17] cxl: docs/allocation/page-allocator

Gregory Price
2025-05-12T16:38:50Z

On Mon, May 12, 2025 at 05:34:56PM +0100, Matthew Wilcox wrote:
> On Mon, May 12, 2025 at 12:21:31PM -0400, Gregory Price wrote:
> > Document some interesting interactions that occur when exposing CXL
> > memory capacity to page allocator.
>
> We should not do this. Asking the page allocator for memory (eg for
> slab) should never return memory on CXL. There need to be special
> interfaces for clients that know they can tolerate the added latency.
>
> NAK this concept, and NAK this specific document. I have no comment on
> the previous documents.

This describes what presently exists, so i'm not sure of what value a
NAK here is.

Feel free to submit patches that deletes the existing code if you want
it removed from the documentation.

~Gregory