mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 00:52:01 +00:00
5912100372
Make the timer frequency selectable. The timer interrupt may cause bus and memory contention in large NUMA systems since the interrupt occurs on each processor HZ times per second. Signed-off-by: Christoph Lameter <christoph@lameter.com> Signed-off-by: Shai Fultheim <shai@scalex86.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
25 lines
487 B
C
25 lines
487 B
C
#include <linux/config.h>
|
|
|
|
#ifndef _ASMx86_64_PARAM_H
|
|
#define _ASMx86_64_PARAM_H
|
|
|
|
#ifdef __KERNEL__
|
|
# define HZ CONFIG_HZ /* Internal kernel timer frequency */
|
|
# define USER_HZ 100 /* .. some user interfaces are in "ticks */
|
|
#define CLOCKS_PER_SEC (USER_HZ) /* like times() */
|
|
#endif
|
|
|
|
#ifndef HZ
|
|
#define HZ 100
|
|
#endif
|
|
|
|
#define EXEC_PAGESIZE 4096
|
|
|
|
#ifndef NOGROUP
|
|
#define NOGROUP (-1)
|
|
#endif
|
|
|
|
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
|
|
#endif
|