Clean-up: merge JFJOCH_USE_NUMA_H and JFJOCH_USE_NUMA, remove two unnecessary helper programs
This commit is contained in:
@@ -6,14 +6,11 @@
|
||||
#include "IBReceiver.h"
|
||||
|
||||
#include <sys/mman.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
#ifdef JFJOCH_USE_NUMA
|
||||
#include <numaif.h>
|
||||
#endif
|
||||
|
||||
#ifdef JFJOCH_USE_NUMA_H
|
||||
#include <numa.h>
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
#include "../common/JFJochException.h"
|
||||
@@ -95,7 +92,7 @@ IBReceiver::IBReceiver(IBContext &context,
|
||||
}
|
||||
|
||||
void IBReceiver::Run(uint8_t numa_node) {
|
||||
#ifdef JFJOCH_USE_NUMA_H
|
||||
#ifdef JFJOCH_USE_NUMA
|
||||
if (numa_available() != -1)
|
||||
numa_run_on_node(numa_node);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user