diff options
author | kib <kib@FreeBSD.org> | 2011-09-28 16:12:15 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-09-28 16:12:15 +0000 |
commit | 2e7081472b6a29fdcae4fad47e791f6df594f039 (patch) | |
tree | 6956983e1931819f3b2c4fdef626aaaa6d67aa43 /sys/vm | |
parent | 126da2118c9bfc035a3e776b170c20cb91a8b810 (diff) | |
download | FreeBSD-src-2e7081472b6a29fdcae4fad47e791f6df594f039.zip FreeBSD-src-2e7081472b6a29fdcae4fad47e791f6df594f039.tar.gz |
Fix grammar.
Submitted by: bf
MFC after: 2 weeks
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_page.c | 8 | ||||
-rw-r--r-- | sys/vm/vm_page.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index fe829a3..3c2d4c1 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -2363,7 +2363,7 @@ vm_page_clear_dirty_mask(vm_page_t m, int pagebits) * 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, int pagebits) 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 diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index 1218dc8..23637bb 100644 --- a/sys/vm/vm_page.h +++ b/sys/vm/vm_page.h @@ -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(). |