svn commit: r354788 - head/sys/amd64/amd64

Konstantin Belousov kib at FreeBSD.org
Sun Nov 17 14:41:48 UTC 2019


Author: kib
Date: Sun Nov 17 14:41:47 2019
New Revision: 354788
URL: https://svnweb.freebsd.org/changeset/base/354788

Log:
  amd64 copyout: remove irrelevant comment.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	3 days

Modified:
  head/sys/amd64/amd64/support.S

Modified: head/sys/amd64/amd64/support.S
==============================================================================
--- head/sys/amd64/amd64/support.S	Sun Nov 17 14:11:08 2019	(r354787)
+++ head/sys/amd64/amd64/support.S	Sun Nov 17 14:41:47 2019	(r354788)
@@ -671,13 +671,7 @@ END(fillw)
 	movq	$copy_fault,PCB_ONFAULT(%r11)
 
 	/*
-	 * Check explicitly for non-user addresses.  If 486 write protection
-	 * is being used, this check is essential because we are in kernel
-	 * mode so the h/w does not provide any protection against writing
-	 * kernel addresses.
-	 */
-
-	/*
+	 * Check explicitly for non-user addresses.
 	 * First, prevent address wrapping.
 	 */
 	movq	%rsi,%rax


More information about the svn-src-head mailing list