svn commit: r335431 - stable/11/sys/compat/linuxkpi/common/include/linux

Hans Petter Selasky hselasky at FreeBSD.org
Wed Jun 20 06:56:19 UTC 2018


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 at 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)
 {


More information about the svn-src-stable-11 mailing list