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(). _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"