Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2018 15:44:17 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334618 - head/sys/vm
Message-ID:  <201806041544.w54FiHUY087689@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Mon Jun  4 15:44:17 2018
New Revision: 334618
URL: https://svnweb.freebsd.org/changeset/base/334618

Log:
  Align UMA data to 128 byte cacheline size
  
  Suggested by:	mjg

Modified:
  head/sys/vm/uma_int.h

Modified: head/sys/vm/uma_int.h
==============================================================================
--- head/sys/vm/uma_int.h	Mon Jun  4 15:17:24 2018	(r334617)
+++ head/sys/vm/uma_int.h	Mon Jun  4 15:44:17 2018	(r334618)
@@ -176,7 +176,7 @@ struct uma_hash {
 /*
  * align field or structure to cache line
  */
-#if defined(__amd64__)
+#if defined(__amd64__) || defined(__powerpc64__)
 #define UMA_ALIGN	__aligned(128)
 #else
 #define UMA_ALIGN



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