Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2020 14:27:50 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r361110 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <202005161427.04GERoM1051745@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Sat May 16 14:27:50 2020
New Revision: 361110
URL: https://svnweb.freebsd.org/changeset/base/361110

Log:
  Implement synchronize_srcu_expedited() in the LinuxKPI.
  
  Differential Revision:	https://reviews.freebsd.org/D24798
  MFC after:	1 week
  Sponsored by:	Mellanox Technologies

Modified:
  head/sys/compat/linuxkpi/common/include/linux/srcu.h

Modified: head/sys/compat/linuxkpi/common/include/linux/srcu.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/srcu.h	Sat May 16 09:40:17 2020	(r361109)
+++ head/sys/compat/linuxkpi/common/include/linux/srcu.h	Sat May 16 14:27:50 2020	(r361110)
@@ -49,4 +49,8 @@ extern void srcu_barrier(struct srcu_struct *);
 extern int init_srcu_struct(struct srcu_struct *);
 extern void cleanup_srcu_struct(struct srcu_struct *);
 
+#define	synchronize_srcu_expedited(srcu) do {	\
+	synchronize_srcu(srcu);			\
+} while (0)
+
 #endif					/* _LINUX_SRCU_H_ */



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