Add the 'witness_spin_check' per-CPU variable.
This commit is contained in:
parent
651c378316
commit
4b2c46fab1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68784
@ -61,6 +61,7 @@ struct globaldata {
|
||||
|
||||
u_int gd_astpending;
|
||||
SLIST_ENTRY(globaldata) gd_allcpu;
|
||||
int gd_witness_spin_check;
|
||||
#ifdef KTR_PERCPU
|
||||
volatile int gd_ktr_idx; /* Index into trace table */
|
||||
char *gd_ktr_buf;
|
||||
|
@ -58,6 +58,7 @@ register struct globaldata *globalp __asm__("$8");
|
||||
#define switchtime PCPU_GET(switchtime)
|
||||
#define switchticks PCPU_GET(switchticks)
|
||||
#define cpuid PCPU_GET(cpuno)
|
||||
#define witness_spin_check PCPU_GET(witness_spin_check)
|
||||
|
||||
#endif /* _KERNEL */
|
||||
|
||||
|
@ -61,6 +61,7 @@ struct globaldata {
|
||||
|
||||
u_int gd_astpending;
|
||||
SLIST_ENTRY(globaldata) gd_allcpu;
|
||||
int gd_witness_spin_check;
|
||||
#ifdef KTR_PERCPU
|
||||
volatile int gd_ktr_idx; /* Index into trace table */
|
||||
char *gd_ktr_buf;
|
||||
|
@ -61,6 +61,7 @@ struct globaldata {
|
||||
|
||||
u_int gd_astpending;
|
||||
SLIST_ENTRY(globaldata) gd_allcpu;
|
||||
int gd_witness_spin_check;
|
||||
#ifdef KTR_PERCPU
|
||||
volatile int gd_ktr_idx; /* Index into trace table */
|
||||
char *gd_ktr_buf;
|
||||
|
@ -58,6 +58,7 @@ register struct globaldata *globalp __asm__("$8");
|
||||
#define switchtime PCPU_GET(switchtime)
|
||||
#define switchticks PCPU_GET(switchticks)
|
||||
#define cpuid PCPU_GET(cpuno)
|
||||
#define witness_spin_check PCPU_GET(witness_spin_check)
|
||||
|
||||
#endif /* _KERNEL */
|
||||
|
||||
|
@ -61,6 +61,7 @@ struct globaldata {
|
||||
|
||||
u_int gd_astpending;
|
||||
SLIST_ENTRY(globaldata) gd_allcpu;
|
||||
int gd_witness_spin_check;
|
||||
#ifdef KTR_PERCPU
|
||||
volatile int gd_ktr_idx; /* Index into trace table */
|
||||
char *gd_ktr_buf;
|
||||
|
Loading…
Reference in New Issue
Block a user