File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
Documentation/driver-api/cxl Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ .. SPDX-License-Identifier: GPL-2.0
2
+
3
+ ==========
4
+ Huge Pages
5
+ ==========
6
+
7
+ Contiguous Memory Allocator
8
+ ===========================
9
+ CXL Memory onlined as SystemRAM during early boot is eligible for use by CMA,
10
+ as the NUMA node hosting that capacity will be `Online ` at the time CMA
11
+ carves out contiguous capacity.
12
+
13
+ CXL Memory deferred to the CXL Driver for configuration cannot have its
14
+ capacity allocated by CMA - as the NUMA node hosting the capacity is `Offline `
15
+ at :code: `__init ` time - when CMA carves out contiguous capacity.
16
+
17
+ HugeTLB
18
+ =======
19
+ Different huge page sizes allow different memory configurations.
20
+
21
+ 2MB Huge Pages
22
+ --------------
23
+ All CXL capacity regardless of configuration time or memory zone is eligible
24
+ for use as 2MB huge pages.
25
+
26
+ 1GB Huge Pages
27
+ --------------
28
+ CXL capacity onlined in :code: `ZONE_NORMAL ` is eligible for 1GB Gigantic Page
29
+ allocation.
30
+
31
+ CXL capacity onlined in :code: `ZONE_MOVABLE ` is not eligible for 1GB Gigantic
32
+ Page allocation.
Original file line number Diff line number Diff line change @@ -47,5 +47,6 @@ that have impacts on each other. The docs here break up configurations steps.
47
47
allocation/dax
48
48
allocation/page-allocator
49
49
allocation/reclaim
50
+ allocation/hugepages.rst
50
51
51
52
.. only :: subproject and html
You can’t perform that action at this time.
0 commit comments