Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2018 03:55:14 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r332543 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys
Message-ID:  <201804160355.w3G3tEvN021064@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Mon Apr 16 03:55:14 2018
New Revision: 332543
URL: https://svnweb.freebsd.org/changeset/base/332543

Log:
  MFC r331414: Reduce struct aggsum_bucket padding to fit into one cache line.

Modified:
  stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/aggsum.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/aggsum.h
==============================================================================
--- stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/aggsum.h	Mon Apr 16 03:54:35 2018	(r332542)
+++ stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/aggsum.h	Mon Apr 16 03:55:14 2018	(r332543)
@@ -29,7 +29,7 @@ typedef struct aggsum_bucket {
 	kmutex_t asc_lock;
 	int64_t asc_delta;
 	uint64_t asc_borrowed;
-	uint64_t asc_pad[4]; /* pad out to cache line (64 bytes) */
+	uint64_t asc_pad[2]; /* pad out to cache line (64 bytes) */
 } aggsum_bucket_t __aligned(CACHE_LINE_SIZE);
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804160355.w3G3tEvN021064>