Date: Sat, 31 Oct 2009 10:35:41 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/sys conf.h Message-ID: <200910311035.n9VAZt89043743@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-10-31 10:35:41 UTC FreeBSD src repository Modified files: sys/sys conf.h Log: SVN rev 198706 on 2009-10-31 10:35:41Z by ed Turn unused structure fields of cdevsw into spares. d_uid, d_gid and d_mode are unused, because permissions are stored in cdevpriv nowadays. d_kind doesn't seem to be used at all. We no longer keep a list of cdevsw's, so d_list is also unused. uid_t and gid_t are 32 bits, but mode_t is 16 bits, Because of alignment constraints of d_kind, we can safely turn it into three 32-bit integers. d_kind and d_list is equal in size to three pointers. Discussed with: kib Revision Changes Path 1.253 +4 -6 src/sys/sys/conf.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910311035.n9VAZt89043743>