From owner-svn-src-all@FreeBSD.ORG Sat Jan 25 06:58:41 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B9E0584E; Sat, 25 Jan 2014 06:58:41 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A5D8C15E5; Sat, 25 Jan 2014 06:58:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0P6wf3u065596; Sat, 25 Jan 2014 06:58:41 GMT (envelope-from grehan@svn.freebsd.org) Received: (from grehan@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0P6wfDI065595; Sat, 25 Jan 2014 06:58:41 GMT (envelope-from grehan@svn.freebsd.org) Message-Id: <201401250658.s0P6wfDI065595@svn.freebsd.org> From: Peter Grehan Date: Sat, 25 Jan 2014 06:58:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r261148 - head/sys/amd64/amd64 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 06:58:41 -0000 Author: grehan Date: Sat Jan 25 06:58:41 2014 New Revision: 261148 URL: http://svnweb.freebsd.org/changeset/base/261148 Log: Change RWX to XWR in comments to match intent and bit patterns in discussion of valid EPT pte protections. Discussed with: neel MFC after: 3 days Modified: head/sys/amd64/amd64/pmap.c Modified: head/sys/amd64/amd64/pmap.c ============================================================================== --- head/sys/amd64/amd64/pmap.c Sat Jan 25 06:54:04 2014 (r261147) +++ head/sys/amd64/amd64/pmap.c Sat Jan 25 06:58:41 2014 (r261148) @@ -5575,7 +5575,7 @@ safe_to_clear_referenced(pmap_t pmap, pt KASSERT(pmap->pm_type == PT_EPT, ("invalid pm_type %d", pmap->pm_type)); /* - * RWX = 010 or 110 will cause an unconditional EPT misconfiguration + * XWR = 010 or 110 will cause an unconditional EPT misconfiguration * so we don't let the referenced (aka EPT_PG_READ) bit to be cleared * if the EPT_PG_WRITE bit is set. */ @@ -5583,7 +5583,7 @@ safe_to_clear_referenced(pmap_t pmap, pt return (FALSE); /* - * RWX = 100 is allowed only if the PMAP_SUPPORTS_EXEC_ONLY is set. + * XWR = 100 is allowed only if the PMAP_SUPPORTS_EXEC_ONLY is set. */ if ((pte & EPT_PG_EXECUTE) == 0 || ((pmap->pm_flags & PMAP_SUPPORTS_EXEC_ONLY) != 0))