Change the c_iflags and c_flags fields to short rather then int. This
allows us to keep the KPI the same. Discussed and brain-stormed with imp (thanks for the help Warner!) Sponsored by: Netflix Inc.
This commit is contained in:
parent
eb828e1bb5
commit
90b887e0a4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=280871
@ -57,8 +57,8 @@ struct callout {
|
||||
void *c_arg; /* function argument */
|
||||
void (*c_func)(void *); /* function to call */
|
||||
struct lock_object *c_lock; /* lock to handle */
|
||||
int c_flags; /* User State */
|
||||
int c_iflags; /* Internal State */
|
||||
short c_flags; /* User State */
|
||||
short c_iflags; /* Internal State */
|
||||
volatile int c_cpu; /* CPU we're scheduled on */
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user