| 1 | #ifndef AWS_COMMON_PRIVATE_DLLOADS_H |
| 2 | #define AWS_COMMON_PRIVATE_DLLOADS_H |
| 3 | /** |
| 4 | * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| 5 | * SPDX-License-Identifier: Apache-2.0. |
| 6 | */ |
| 7 | |
| 8 | /* |
| 9 | * definition is here: https://linux.die.net/man/2/set_mempolicy |
| 10 | */ |
| 11 | #define AWS_MPOL_PREFERRED_ALIAS 1 |
| 12 | |
| 13 | struct bitmask; |
| 14 | |
| 15 | extern long (*g_set_mempolicy_ptr)(int, const unsigned long *, unsigned long); |
| 16 | extern int (*g_numa_available_ptr)(void); |
| 17 | extern int (*g_numa_num_configured_nodes_ptr)(void); |
| 18 | extern int (*g_numa_num_possible_cpus_ptr)(void); |
| 19 | extern int (*g_numa_node_of_cpu_ptr)(int cpu); |
| 20 | extern void *g_libnuma_handle; |
| 21 | |
| 22 | #endif /* AWS_COMMON_PRIVATE_DLLOADS_H */ |