MCPcopy Create free account
hub / github.com/F-Stack/f-stack / check_numa

Function check_numa

dpdk/lib/eal/linux/eal_memalloc.c:144–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142
143#ifdef RTE_EAL_NUMA_AWARE_HUGEPAGES
144static bool
145check_numa(void)
146{
147 bool ret = true;
148 /* Check if kernel supports NUMA. */
149 if (numa_available() != 0) {
150 RTE_LOG(DEBUG, EAL, "NUMA is not supported.\n");
151 ret = false;
152 }
153 return ret;
154}
155
156static void
157prepare_numa(int *oldpolicy, struct bitmask *oldmask, int socket_id)

Callers 2

alloc_segFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected