svn commit: r367499 - head/sys/sys

Mateusz Guzik mjg at FreeBSD.org
Mon Nov 9 00:04:59 UTC 2020


Author: mjg
Date: Mon Nov  9 00:04:58 2020
New Revision: 367499
URL: https://svnweb.freebsd.org/changeset/base/367499

Log:
  bufcache: convert bo_numoutput from long to int
  
  int is wide enough and it plugs a hole in struct vnode, taking it down
  from 496 to 488 bytes.

Modified:
  head/sys/sys/bufobj.h

Modified: head/sys/sys/bufobj.h
==============================================================================
--- head/sys/sys/bufobj.h	Mon Nov  9 00:04:35 2020	(r367498)
+++ head/sys/sys/bufobj.h	Mon Nov  9 00:04:58 2020	(r367499)
@@ -104,7 +104,7 @@ struct bufobj {
 	void		*bo_private;	/* private pointer */
 	struct bufv	bo_clean;	/* i Clean buffers */
 	struct bufv	bo_dirty;	/* i Dirty buffers */
-	long		bo_numoutput;	/* i Writes in progress */
+	int		bo_numoutput;	/* i Writes in progress */
 	u_int		bo_flag;	/* i Flags */
 	int		bo_domain;	/* - Clean queue affinity */
 	int		bo_bsize;	/* - Block size for i/o */


More information about the svn-src-head mailing list