Source-Changes-HG archive

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

[src/ad-namecache]: src/sys/sys Regen.



details:   https://anonhg.NetBSD.org/src/rev/15d340319810
branches:  ad-namecache
changeset: 1025017:15d340319810
user:      ad <ad%NetBSD.org@localhost>
date:      Tue Jan 14 11:08:01 2020 +0000

description:
Regen.

diffstat:

 sys/rump/include/rump/rump_namei.h |   4 ++--
 sys/sys/namei.h                    |  14 ++++++++------
 2 files changed, 10 insertions(+), 8 deletions(-)

diffs (57 lines):

diff -r bf5bfedd49d3 -r 15d340319810 sys/rump/include/rump/rump_namei.h
--- a/sys/rump/include/rump/rump_namei.h        Tue Jan 14 11:07:40 2020 +0000
+++ b/sys/rump/include/rump/rump_namei.h        Tue Jan 14 11:08:01 2020 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: rump_namei.h,v 1.37.2.1 2020/01/08 11:02:35 ad Exp $   */
+/*     $NetBSD: rump_namei.h,v 1.37.2.2 2020/01/14 11:08:01 ad Exp $   */
 
 
 /*
  * WARNING: GENERATED FILE.  DO NOT EDIT
  * (edit namei.src and run make namei in src/sys/sys)
  *   by:   NetBSD: gennameih.awk,v 1.5 2009/12/23 14:17:19 pooka Exp 
- *   from: NetBSD: namei.src,v 1.47.2.1 2020/01/08 11:02:16 ad Exp 
+ *   from: NetBSD: namei.src,v 1.47.2.3 2020/01/14 11:07:40 ad Exp 
  */
 
 #ifndef _RUMP_RUMP_NAMEI_H_
diff -r bf5bfedd49d3 -r 15d340319810 sys/sys/namei.h
--- a/sys/sys/namei.h   Tue Jan 14 11:07:40 2020 +0000
+++ b/sys/sys/namei.h   Tue Jan 14 11:08:01 2020 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: namei.h,v 1.103.2.1 2020/01/08 11:02:35 ad Exp $       */
+/*     $NetBSD: namei.h,v 1.103.2.2 2020/01/14 11:08:01 ad Exp $       */
 
 
 /*
  * WARNING: GENERATED FILE.  DO NOT EDIT
  * (edit namei.src and run make namei in src/sys/sys)
  *   by:   NetBSD: gennameih.awk,v 1.5 2009/12/23 14:17:19 pooka Exp 
- *   from: NetBSD: namei.src,v 1.47.2.1 2020/01/08 11:02:16 ad Exp 
+ *   from: NetBSD: namei.src,v 1.47.2.3 2020/01/14 11:07:40 ad Exp 
  */
 
 /*
@@ -214,16 +214,18 @@
  * Field markings and their corresponding locks:
  *
  * -  stable throught the lifetime of the namecache entry
- * d  protected by nc_dvp->vi_nclock
- * l  protected by cache_list_lock
+ * d  protected by nc_dvp->vi_ncdlock
+ * v  protected by nc_dvp->vi_ncvlock
+ * l  protected by cache_lru_lock
+ * u  accesses are unlocked, no serialization applied
  */
 struct namecache {
        struct rb_node nc_node;         /* d  red-black tree node */
        TAILQ_ENTRY(namecache) nc_lru;  /* l  pseudo-lru chain */
-       TAILQ_ENTRY(namecache) nc_vlist;/* l  vp's list of cache entries */
+       TAILQ_ENTRY(namecache) nc_vlist;/* v  vp's list of cache entries */
        struct  vnode *nc_dvp;          /* -  vnode of parent of name */
        struct  vnode *nc_vp;           /* -  vnode the name refers to */
-       int     nc_hittime;             /* d  approx time of last hit */
+       int     nc_lrulist;             /* l  which LRU list its on */
        u_short nc_nlen;                /* -  length of name */
        bool    nc_whiteout;            /* -  true if a whiteout */
        char    nc_name[49];            /* -  segment name */



Home | Main Index | Thread Index | Old Index