Date: Tue, 31 Mar 2015 00:15:28 +0000 (UTC) From: Randall Stewart <rrs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r280871 - head/sys/sys Message-ID: <201503310015.t2V0FSX3014665@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rrs Date: Tue Mar 31 00:15:27 2015 New Revision: 280871 URL: https://svnweb.freebsd.org/changeset/base/280871 Log: 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. Modified: head/sys/sys/_callout.h Modified: head/sys/sys/_callout.h ============================================================================== --- head/sys/sys/_callout.h Tue Mar 31 00:00:47 2015 (r280870) +++ head/sys/sys/_callout.h Tue Mar 31 00:15:27 2015 (r280871) @@ -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 */ };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503310015.t2V0FSX3014665>