Allocate proper ammount of memory for interrupt names on sparc64 and
sun4v, same as done on other architectures. This removes garbage from `vmstat -ia` output. Reviewed by: marius@
This commit is contained in:
parent
345648161c
commit
6a650899c5
@ -33,7 +33,6 @@
|
||||
|
||||
#define PIL_MAX (1 << 4)
|
||||
#define IV_MAX (1 << 11)
|
||||
#define IV_NAMLEN 1024
|
||||
|
||||
#define IR_FREE (PIL_MAX * 2)
|
||||
|
||||
|
@ -365,7 +365,7 @@ ENTRY(rsf_fatal)
|
||||
sir
|
||||
END(rsf_fatal)
|
||||
|
||||
.comm intrnames, IV_NAMLEN
|
||||
.comm intrnames, IV_MAX * (MAXCOMLEN + 1)
|
||||
.comm eintrnames, 0
|
||||
|
||||
.comm intrcnt, IV_MAX * 8
|
||||
|
@ -160,6 +160,7 @@ ASSYM(HASH_ENTRY_SHIFT, HASH_ENTRY_SHIFT);
|
||||
|
||||
ASSYM(V_INTR, offsetof(struct vmmeter, v_intr));
|
||||
|
||||
ASSYM(MAXCOMLEN, MAXCOMLEN);
|
||||
ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread));
|
||||
ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb));
|
||||
ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid));
|
||||
|
@ -33,7 +33,6 @@
|
||||
|
||||
#define PIL_MAX (1 << 4)
|
||||
#define IV_MAX (1 << 11)
|
||||
#define IV_NAMLEN 1024
|
||||
|
||||
#define IR_FREE (PIL_MAX * 2)
|
||||
|
||||
|
@ -1948,7 +1948,7 @@ END(fork_trampoline)
|
||||
|
||||
|
||||
|
||||
.comm intrnames, IV_NAMLEN
|
||||
.comm intrnames, IV_MAX * (MAXCOMLEN + 1)
|
||||
.comm eintrnames, 0
|
||||
|
||||
.comm intrcnt, IV_MAX * 8
|
||||
|
Loading…
x
Reference in New Issue
Block a user