Date: Sun, 18 Aug 2013 09:45:53 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r254479 - head/sys/sys Message-ID: <201308180945.r7I9jrbb016259@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pjd Date: Sun Aug 18 09:45:52 2013 New Revision: 254479 URL: http://svnweb.freebsd.org/changeset/base/254479 Log: Better organize the filecaps structure, which reduces its size from 32 bytes to 24 bytes on 64bit archs. Modified: head/sys/sys/filedesc.h Modified: head/sys/sys/filedesc.h ============================================================================== --- head/sys/sys/filedesc.h Sun Aug 18 08:24:58 2013 (r254478) +++ head/sys/sys/filedesc.h Sun Aug 18 09:45:52 2013 (r254479) @@ -43,9 +43,9 @@ struct filecaps { cap_rights_t fc_rights; /* per-descriptor capability rights */ - uint32_t fc_fcntls; /* per-descriptor allowed fcntls */ u_long *fc_ioctls; /* per-descriptor allowed ioctls */ int16_t fc_nioctls; /* fc_ioctls array size */ + uint32_t fc_fcntls; /* per-descriptor allowed fcntls */ }; struct filedescent {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308180945.r7I9jrbb016259>