Module Name: src Committed By: skrll Date: Mon Dec 14 19:42:51 UTC 2020
Modified Files: src/sys/kern: kern_mutex.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/sys/kern/kern_mutex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/kern_mutex.c diff -u src/sys/kern/kern_mutex.c:1.92 src/sys/kern/kern_mutex.c:1.93 --- src/sys/kern/kern_mutex.c:1.92 Tue May 12 21:56:17 2020 +++ src/sys/kern/kern_mutex.c Mon Dec 14 19:42:51 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_mutex.c,v 1.92 2020/05/12 21:56:17 ad Exp $ */ +/* $NetBSD: kern_mutex.c,v 1.93 2020/12/14 19:42:51 skrll Exp $ */ /*- * Copyright (c) 2002, 2006, 2007, 2008, 2019 The NetBSD Foundation, Inc. @@ -40,7 +40,7 @@ #define __MUTEX_PRIVATE #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.92 2020/05/12 21:56:17 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.93 2020/12/14 19:42:51 skrll Exp $"); #include <sys/param.h> #include <sys/atomic.h> @@ -593,7 +593,7 @@ mutex_vector_enter(kmutex_t *mtx) * set waiters .. * unlock cache line .. * lose cache line -> acquire cache line - * .. clear lock word, waiters + * .. clear lock word, waiters * return success * * There is another race that can occur: a third CPU could @@ -630,9 +630,9 @@ mutex_vector_enter(kmutex_t *mtx) * * o mi_switch() posts a store fence before setting curlwp * and before resuming execution of an LWP. - * + * * o _kernel_lock() posts a store fence before setting - * curcpu()->ci_biglock_wanted, and after clearing it. + * curcpu()->ci_biglock_wanted, and after clearing it. * This ensures that any overwrite of the mutex waiters * flag by mutex_exit() completes before the modification * of ci_biglock_wanted becomes visible. @@ -732,7 +732,7 @@ mutex_vector_exit(kmutex_t *mtx) #ifndef __HAVE_MUTEX_STUBS /* * On some architectures without mutex stubs, we can enter here to - * release mutexes before interrupts and whatnot are up and running. + * release mutexes before interrupts and whatnot are up and running. * We need this hack to keep them sweet. */ if (__predict_false(cold)) {