You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if( FD_UNLIKELY( max_page_sz!=FD_SHMEM_HUGE_PAGE_SZ&&max_page_sz!=FD_SHMEM_GIGANTIC_PAGE_SZ ) ) FD_LOG_ERR(( "[hugetlbfs.max_page_size] must be \"huge\" or \"gigantic\"" ));
Copy file name to clipboardExpand all lines: src/disco/topo/fd_topo.h
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -30,16 +30,17 @@
30
30
sits on top of 1 or more memory mapped gigantic or huge pages mounted
31
31
to the hugetlbfs. */
32
32
typedefstruct {
33
-
ulongid; /* The ID of this workspace. Indexed from [0, wksp_cnt). When placed in a topology, the ID must be the index of the workspace in the workspaces list. */
34
-
charname[ 13UL ]; /* The name of this workspace, like "pack". There can be at most one of each workspace name in a topology. */
33
+
ulongid; /* The ID of this workspace. Indexed from [0, wksp_cnt). When placed in a topology, the ID must be the index of the workspace in the workspaces list. */
34
+
charname[ 13UL ]; /* The name of this workspace, like "pack". There can be at most one of each workspace name in a topology. */
35
35
36
-
ulongnuma_idx; /* The index of the NUMA node on the system that this workspace should be allocated from. */
36
+
ulongnuma_idx; /* The index of the NUMA node on the system that this workspace should be allocated from. */
37
37
38
38
/* Computed fields. These are not supplied as configuration but calculated as needed. */
39
39
struct {
40
-
ulongpage_sz; /* The size of the pages that this workspace is backed by. One of FD_PAGE_SIZE_*. */
41
-
ulongpage_cnt; /* The number of pages that must be mapped to this workspace to store all the data needed by consumers. */
42
-
ulongpart_max; /* The maximum number of partitions in the underlying workspace. There can only be this many allocations made at any one time. */
40
+
ulongpage_sz; /* The size of the pages that this workspace is backed by. One of FD_PAGE_SIZE_*. */
41
+
ulongpage_cnt; /* The number of pages that must be mapped to this workspace to store all the data needed by consumers. */
42
+
intis_locked; /* If the workspace should use pages locked and pinned to a specific numa node. */
43
+
ulongpart_max; /* The maximum number of partitions in the underlying workspace. There can only be this many allocations made at any one time. */
43
44
44
45
fd_wksp_t*wksp; /* The workspace memory in the local process. */
45
46
ulongknown_footprint; /* Total size in bytes of all data in Firedancer that will be stored in this workspace at startup. */
0 commit comments