From owner-svn-src-all@FreeBSD.ORG Wed Sep 28 16:12:15 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A462D106564A; Wed, 28 Sep 2011 16:12:15 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 79E958FC0C; Wed, 28 Sep 2011 16:12:15 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p8SGCFre080551; Wed, 28 Sep 2011 16:12:15 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p8SGCF1f080548; Wed, 28 Sep 2011 16:12:15 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201109281612.p8SGCF1f080548@svn.freebsd.org> From: Konstantin Belousov Date: Wed, 28 Sep 2011 16:12:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r225843 - head/sys/vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 28 Sep 2011 16:12:15 -0000 Author: kib Date: Wed Sep 28 16:12:15 2011 New Revision: 225843 URL: http://svn.freebsd.org/changeset/base/225843 Log: Fix grammar. Submitted by: bf MFC after: 2 weeks Modified: head/sys/vm/vm_page.c head/sys/vm/vm_page.h Modified: head/sys/vm/vm_page.c ============================================================================== --- head/sys/vm/vm_page.c Wed Sep 28 15:36:08 2011 (r225842) +++ head/sys/vm/vm_page.c Wed Sep 28 16:12:15 2011 (r225843) @@ -2363,7 +2363,7 @@ vm_page_clear_dirty_mask(vm_page_t m, in * For PAGE_SIZE == 32768 case, compiler already * properly aligns the dirty field, so no forcible * alignment is needed. Only require existence of - * atomic_clear_64 when page size if 32768. + * atomic_clear_64 when page size is 32768. */ addr = (uintptr_t)&m->dirty; #if PAGE_SIZE == 32768 @@ -2373,9 +2373,9 @@ vm_page_clear_dirty_mask(vm_page_t m, in atomic_clear_32((uint32_t *)addr, pagebits); #else /* PAGE_SIZE <= 8192 */ /* - * Use a trick to perform an 32bit atomic on the - * contained aligned word, to not depend on existence - * of the atomic_clear_{8, 16}. + * Use a trick to perform a 32-bit atomic on the + * containing aligned word, to not depend on the existence + * of atomic_clear_{8, 16}. */ shift = addr & (sizeof(uint32_t) - 1); #if BYTE_ORDER == BIG_ENDIAN Modified: head/sys/vm/vm_page.h ============================================================================== --- head/sys/vm/vm_page.h Wed Sep 28 15:36:08 2011 (r225842) +++ head/sys/vm/vm_page.h Wed Sep 28 16:12:15 2011 (r225843) @@ -105,7 +105,7 @@ * the field without holding that lock. If the underlying * architecture does not support atomic read-modify-write * operations on the field's type, then the machine-independent - * layer uses 32bit atomic on the aligned 32bit word that + * layer uses a 32-bit atomic on the aligned 32-bit word that * contains the dirty field. In the machine-independent layer, * the implementation of read-modify-write operations on the * field is encapsulated in vm_page_clear_dirty_mask().