Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pgoyette-compat]: src/sys/sys Improve a comment



details:   https://anonhg.NetBSD.org/src/rev/c84c672cb169
branches:  pgoyette-compat
changeset: 447761:c84c672cb169
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Jan 23 03:40:08 2019 +0000

description:
Improve a comment

diffstat:

 sys/sys/module_hook.h |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 4c8028b86913 -r c84c672cb169 sys/sys/module_hook.h
--- a/sys/sys/module_hook.h     Wed Jan 23 03:34:14 2019 +0000
+++ b/sys/sys/module_hook.h     Wed Jan 23 03:40:08 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: module_hook.h,v 1.1.2.15 2019/01/23 03:34:15 pgoyette Exp $        */
+/* $NetBSD: module_hook.h,v 1.1.2.16 2019/01/23 03:40:08 pgoyette Exp $        */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -86,7 +86,10 @@
        /* Prevent new localcount_acquire calls.  */            \
        hook.hooked = false;                                    \
                                                                \
-       /* Wait for existing localcount_acquire calls to finish.  */ \
+       /*                                                      \
+        * Wait for localcount_acquire calls already under way  \
+        * to finish.                                           \
+        */                                                     \
        pserialize_perform(hook.psz);                           \
                                                                \
        /* Wait for existing localcount references to drain.  */\



Home | Main Index | Thread Index | Old Index