Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2018 06:56:18 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@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: r335431 - stable/11/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201806200656.w5K6uIVD031871@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Wed Jun 20 06:56:18 2018
New Revision: 335431
URL: https://svnweb.freebsd.org/changeset/base/335431

Log:
  MFC r334778:
  Define ARCH_KMALLOC_MINALIGN in the LinuxKPI.
  
  Submitted by:	Johannes Lundberg <johalun0@gmail.com>
  Sponsored by:	Mellanox Technologies
  Sponsored by:	Limelight Networks

Modified:
  stable/11/sys/compat/linuxkpi/common/include/linux/slab.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/compat/linuxkpi/common/include/linux/slab.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/slab.h	Wed Jun 20 06:54:38 2018	(r335430)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/slab.h	Wed Jun 20 06:56:18 2018	(r335431)
@@ -85,6 +85,9 @@ struct linux_kmem_cache {
 #define	SLAB_DESTROY_BY_RCU \
 	SLAB_TYPESAFE_BY_RCU
 
+#define	ARCH_KMALLOC_MINALIGN \
+	__alignof(unsigned long long)
+
 static inline gfp_t
 linux_check_m_flags(gfp_t flags)
 {



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