Remove some unused constant macros in constants.h

As the code history changes, some constant macros are not used, so
remove the unused macros in constants.h.

Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com>
This commit is contained in:
Yunfeng Ye 2020-11-21 16:35:19 +08:00
parent c995237885
commit 004c7abcdb
1 changed files with 0 additions and 24 deletions

View File

@ -6,28 +6,4 @@
#define NSEC_PER_SEC 1e9
/* NUMA topology refresh intervals, in units of SLEEP_INTERVAL */
#define NUMA_REFRESH_INTERVAL 32
/* NIC interrupt refresh interval, in units of SLEEP_INTERVAL */
#define NIC_REFRESH_INTERVAL 32
/* minimum number of interrupts since boot for an interrupt to matter */
#define MIN_IRQ_COUNT 20
/* balancing tunings */
#define CROSS_PACKAGE_PENALTY 3000
#define NUMA_PENALTY 500
#define POWER_MODE_PACKAGE_THRESHOLD 20000
#define CLASS_VIOLATION_PENTALTY 6000
#define MSI_CACHE_PENALTY 10000
#define CORE_SPECIFIC_THRESHOLD 5000
/* power mode */
#define POWER_MODE_SOFTIRQ_THRESHOLD 20
#define POWER_MODE_HYSTERESIS 3
#endif