Re: [PATCH v6 8/9] dax/hmem, cxl: Defer and resolve ownership of Soft Reserved memory ranges
From: Dan Williams
Date: Mon Mar 16 2026 - 22:42:46 EST
Koralahalli Channabasappa, Smita wrote:
[..]
> Just want to make sure I'm not misreading this — are we dropping the
> all or nothing ownership approach? In v6, if any SR range wasn't fully
> covered by CXL, all CXL-intersecting ranges fell back to HMEM. With the
> single-pass hmem_register_cxl_device() that skips individually covered
> ranges, we would be doing per range decisions..
Right, I was thinking that the simplification of not destroying regions
also includes the simplification of not having the kernel enforce a
policy of unassembled regions.
Just give a chance for CXL to grab the regions, and if that fails let
the system come up and not try to take any other pre-emptive action. We
can always go more complicated later with the evidence that the simple
approach ended up being *too* simple.