Documentation/driver-api/cxl/linux/early-boot.rst

Source file repositories/reference/linux-study-clean/Documentation/driver-api/cxl/linux/early-boot.rst

File Facts

System
Linux kernel
Corpus path
Documentation/driver-api/cxl/linux/early-boot.rst
Extension
.rst
Size
5584 bytes
Lines
138
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

void __init hugetlb_cma_reserve(void) {
    if (!node_online(nid))
      /* do not allow reservations */
  }

This means if users intend to defer management of CXL memory to the driver, CMA
cannot be used to guarantee huge page allocations.  If enabling CXL memory as
SystemRAM in `ZONE_NORMAL` during early boot, CMA reservations per-node can be
made with the :code:`cma_pernuma` or :code:`numa_cma` kernel command line
parameters.

Annotation

Implementation Notes