Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Add comments for the PR_WANTED and PR_PHINPAGE flags...



details:   https://anonhg.NetBSD.org/src/rev/5bd55833d2aa
branches:  trunk
changeset: 959775:5bd55833d2aa
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Feb 24 06:11:38 2021 +0000

description:
Add comments for the PR_WANTED and PR_PHINPAGE flags, remove unused
PR_LOGGING flag.

diffstat:

 sys/sys/pool.h |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r a0162c5269f7 -r 5bd55833d2aa sys/sys/pool.h
--- a/sys/sys/pool.h    Wed Feb 24 05:36:02 2021 +0000
+++ b/sys/sys/pool.h    Wed Feb 24 06:11:38 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pool.h,v 1.92 2020/06/18 16:56:31 maxv Exp $   */
+/*     $NetBSD: pool.h,v 1.93 2021/02/24 06:11:38 simonb Exp $ */
 
 /*-
  * Copyright (c) 1997, 1998, 1999, 2000, 2007, 2020
@@ -151,9 +151,8 @@
        unsigned int    pr_roflags;     /* r/o flags */
 #define PR_WAITOK      0x01    /* Note: matches KM_SLEEP */
 #define PR_NOWAIT      0x02    /* Note: matches KM_NOSLEEP */
-#define PR_WANTED      0x04
-#define PR_PHINPAGE    0x40
-#define PR_LOGGING     0x80
+#define PR_WANTED      0x04    /* waiting for free objects */
+#define PR_PHINPAGE    0x40    /* page header in page */
 #define PR_LIMITFAIL   0x100   /* even if waiting, fail if we hit limit */
 #define PR_RECURSIVE   0x200   /* pool contains pools, for vmstat(8) */
 #define PR_NOTOUCH     0x400   /* don't use free items to keep internal state*/



Home | Main Index | Thread Index | Old Index