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

Function huge_wrap_sigsetjmp

dpdk/lib/eal/linux/eal_memory.c:243–246  ·  view source on GitHub ↗

Put setjmp into a wrap method to avoid compiling error. Any non-volatile, * non-static local variable in the stack frame calling sigsetjmp might be * clobbered by a call to longjmp. */

Source from the content-addressed store, hash-verified

241 * clobbered by a call to longjmp.
242 */
243static int huge_wrap_sigsetjmp(void)
244{
245 return sigsetjmp(huge_jmpenv, 1);
246}
247
248#ifdef RTE_EAL_NUMA_AWARE_HUGEPAGES
249/* Callback for numa library. */

Callers 1

map_all_hugepagesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected