Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2014 18:11:54 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r270429 - head/sys/sparc64/include
Message-ID:  <201408231811.s7NIBsmB062414@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat Aug 23 18:11:54 2014
New Revision: 270429
URL: http://svnweb.freebsd.org/changeset/base/270429

Log:
  For CPUs which do hardware cache line unaliasing, use direct map to
  access sfbufs.
  
  Suggested and reviewed by:	alc
  Tested by:	Michael Moll <kvedulv@kvedulv.de>
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/sparc64/include/vmparam.h

Modified: head/sys/sparc64/include/vmparam.h
==============================================================================
--- head/sys/sparc64/include/vmparam.h	Sat Aug 23 18:07:43 2014	(r270428)
+++ head/sys/sparc64/include/vmparam.h	Sat Aug 23 18:11:54 2014	(r270429)
@@ -241,5 +241,8 @@ extern vm_offset_t vm_max_kernel_address
 
 #define	SFBUF
 #define	SFBUF_MAP
+#define	SFBUF_OPTIONAL_DIRECT_MAP	dcache_color_ignore
+#include <machine/tlb.h>
+#define	SFBUF_PHYS_DMAP(x)		TLB_PHYS_TO_DIRECT(x)
 
 #endif /* !_MACHINE_VMPARAM_H_ */



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