The NetBSD Project

CVS log for src/sys/kern/vfs_cache.c

[BACK] Up to [cvs.netbsd.org] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.87.6.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:21 2011 UTC (11 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.87: +5 -5 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.88 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:56 2011 UTC (11 months, 2 weeks ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, netbsd-6-base, netbsd-6, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, HEAD
Changes since 1.87: +5 -5 lines
Diff to previous 1.87 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.84.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:25 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.84.4.2: +25 -10 lines
Diff to previous 1.84.4.2 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)

sync with head

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:33 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.84: +26 -11 lines
Diff to previous 1.84 (colored) next main 1.85 (colored)

Sync with HEAD.

Revision 1.74.4.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:44 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.74.4.2: +26 -11 lines
Diff to previous 1.74.4.2 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

sync with head.

Revision 1.87 / (download) - annotate - [select for diffs], Wed Jul 21 17:52:12 2010 UTC (22 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.86: +5 -5 lines
Diff to previous 1.86 (colored)

Make holding v_interlock mandatory for callers of vget().

Announced some time ago on tech-kern.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Jul 21 09:01:36 2010 UTC (22 months ago) by hannken
Branch: MAIN
Changes since 1.85: +23 -8 lines
Diff to previous 1.85 (colored)

Using cache_revlookup() leads to vnode races as it returns an unreferenced
vnode that may disappear before the caller has a chance to reference it.

Reference the vnode while the name cache is locked.

No objections on tech-kern.

Revision 1.84.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:55 2010 UTC (22 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.84.4.1: +3 -3 lines
Diff to previous 1.84.4.1 (colored) to branchpoint 1.84 (colored)

sync with head

Revision 1.85 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:11 2010 UTC (23 months ago) by hannken
Branch: MAIN
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored)

Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.84.4.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:10 2010 UTC (2 years, 2 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.84: +4 -4 lines
Diff to previous 1.84 (colored)

Change struct uvm_object::vmobjlock to be dynamically allocated with
mutex_obj_alloc().  It allows us to share the locks among UVM objects.

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:58 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.82: +4 -3 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.74.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:49 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.74.4.1: +146 -98 lines
Diff to previous 1.74.4.1 (colored) to branchpoint 1.74 (colored)

sync with head.

Revision 1.80.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:57 2009 UTC (3 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.80.2.1: +4 -3 lines
Diff to previous 1.80.2.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

Sync with HEAD.

Revision 1.84 / (download) - annotate - [select for diffs], Wed Feb 18 13:36:11 2009 UTC (3 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, uebayasi-xip-base1, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.83: +3 -2 lines
Diff to previous 1.83 (colored)

cache_lookup_entry: add an assertion.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Feb 18 13:24:18 2009 UTC (3 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

cache_purge1: consistently unlock ncp a little earlier.

Revision 1.80.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:40 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.80: +3 -5 lines
Diff to previous 1.80 (colored)

Sync with HEAD.

Revision 1.72.14.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:20 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.72.14.3: +5 -3 lines
Diff to previous 1.72.14.3 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored)

Sync with HEAD.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Jan 17 07:02:35 2009 UTC (3 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.81: +2 -4 lines
Diff to previous 1.81 (colored)

malloc -> kmem_alloc.

Revision 1.81 / (download) - annotate - [select for diffs], Fri Jan 16 06:59:21 2009 UTC (3 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

cache_prune: use (a - b > 0) rather than (a > b) to compare ticks.

Revision 1.77.4.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:09 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.77.4.1: +6 -2 lines
Diff to previous 1.77.4.1 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.80 / (download) - annotate - [select for diffs], Sat Oct 25 14:20:17 2008 UTC (3 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.79: +4 -2 lines
Diff to previous 1.79 (colored)

cache_lookup_raw: update "goodhits" statistics to be less confused.
add an XXX comment.

Revision 1.79 / (download) - annotate - [select for diffs], Sat Oct 25 14:18:18 2008 UTC (3 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.78: +4 -2 lines
Diff to previous 1.78 (colored)

add assertions.

Revision 1.77.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:29 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.77: +3 -2 lines
Diff to previous 1.77 (colored)

Sync with HEAD.

Revision 1.72.14.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:54 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.72.14.2: +1 -0 lines
Diff to previous 1.72.14.2 (colored) to branchpoint 1.72 (colored)

Sync with HEAD.

Revision 1.76.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:31:45 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.76.2.1: +3 -2 lines
Diff to previous 1.76.2.1 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.78 / (download) - annotate - [select for diffs], Wed Aug 20 15:34:59 2008 UTC (3 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, matt-mips64-base2, haad-dm-base1
Changes since 1.77: +3 -2 lines
Diff to previous 1.77 (colored)

Release vnode in cache_lookup() error branch if locking fails.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:52 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.76: +138 -94 lines
Diff to previous 1.76 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.74.2.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:15:03 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.74.2.1: +138 -94 lines
Diff to previous 1.74.2.1 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

sync with head.

Revision 1.72.14.2 / (download) - annotate - [select for diffs], Thu Jun 5 19:14:36 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.72.14.1: +136 -92 lines
Diff to previous 1.72.14.1 (colored) to branchpoint 1.72 (colored)

Sync with HEAD.

Also fix build.

Revision 1.77 / (download) - annotate - [select for diffs], Tue Jun 3 15:50:22 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl
Branch point for: haad-dm
Changes since 1.76: +138 -94 lines
Diff to previous 1.76 (colored)

vfs_cache:

- Don't use goto in critical paths, it can confuse the compiler.
- Sprinkle some branch hints.
- Make namecache stats per-CPU and collate once per second.
- Use vtryget().

Revision 1.72.14.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:14 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.72: +410 -140 lines
Diff to previous 1.72 (colored)

Sync with HEAD.

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:11 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.74: +10 -19 lines
Diff to previous 1.74 (colored)

sync with head.

Revision 1.74.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:28 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.74: +10 -19 lines
Diff to previous 1.74 (colored)

sync with head.

Revision 1.76 / (download) - annotate - [select for diffs], Mon May 5 17:11:17 2008 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.75: +10 -12 lines
Diff to previous 1.75 (colored)

- Convert hashinit() to use kmem_alloc(). The hash tables can be large
  and it's better to not have them in kmem_map.
- Convert a couple of minor items along the way to kmem_alloc().
- Fix some memory leaks.

Revision 1.75 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:05 2008 UTC (4 years ago) by martin
Branch: MAIN
Changes since 1.74: +2 -9 lines
Diff to previous 1.74 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.74 / (download) - annotate - [select for diffs], Sat Apr 12 17:34:26 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.73: +8 -3 lines
Diff to previous 1.73 (colored)

cache_enter: inline LIST_INSERT_HEAD so that the membar_producer() can be
put in the right spot. The 'next' link in the new entry must become globally
visible before the list head is updated. This could have affected systems
with weak memory ordering like the alpha.

Revision 1.73 / (download) - annotate - [select for diffs], Fri Apr 11 15:25:24 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.72: +403 -129 lines
Diff to previous 1.72 (colored)

Restructure the name cache code to eliminate most lock contention
resulting from forward lookups. Discussed on tech-kern@.

Revision 1.70.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:29 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.70.8.1: +4 -4 lines
Diff to previous 1.70.8.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

sync with HEAD

Revision 1.70.14.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:48:58 2007 UTC (4 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.70: +11 -8 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

Sync with HEAD.

Revision 1.61.12.5 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:56 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.12.4: +11 -8 lines
Diff to previous 1.61.12.4 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

sync with head.

Revision 1.70.6.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:04:47 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.70.6.1: +4 -4 lines
Diff to previous 1.70.6.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

Sync with HEAD.

Revision 1.70.12.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:02:35 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.70: +11 -8 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

Sync with HEAD

Revision 1.72 / (download) - annotate - [select for diffs], Sun Nov 11 23:22:25 2007 UTC (4 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.71: +4 -4 lines
Diff to previous 1.71 (colored)

Change some initialization of static queues to compile time.
(xxx_INIT to xxx_HEAD_INITIALIZER).  Drop code which inits
non-auto (global or static) variables to 0 since that's
already implied by being non-auto.  Init some static/global
cpu_simple_locks at compile time.

Revision 1.70.6.1 / (download) - annotate - [select for diffs], Sun Nov 11 16:48:18 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.70: +9 -6 lines
Diff to previous 1.70 (colored)

Sync with HEAD.

Revision 1.70.8.1 / (download) - annotate - [select for diffs], Thu Nov 8 11:00:10 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.70: +9 -6 lines
Diff to previous 1.70 (colored)

sync with -HEAD

Revision 1.71 / (download) - annotate - [select for diffs], Wed Nov 7 00:23:25 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.70: +9 -6 lines
Diff to previous 1.70 (colored)

Merge from vmlocking:

- pool_cache changes.
- Debugger/procfs locking fixes.
- Other minor changes.

Revision 1.61.12.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:20 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.12.3: +7 -7 lines
Diff to previous 1.61.12.3 (colored) to branchpoint 1.61 (colored)

sync with head.

Revision 1.68.6.3 / (download) - annotate - [select for diffs], Sat Sep 1 12:56:50 2007 UTC (4 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.68.6.2: +9 -6 lines
Diff to previous 1.68.6.2 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored)

Update for pool_cache API changes.

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:10:22 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.69: +6 -6 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Sync with head.

Revision 1.70 / (download) - annotate - [select for diffs], Mon Jul 9 21:10:57 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, jmcneill-base, hpcarm-cleanup
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.69: +6 -6 lines
Diff to previous 1.69 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.68.6.2 / (download) - annotate - [select for diffs], Sun May 13 17:36:36 2007 UTC (5 years ago) by ad
Branch: vmlocking
Changes since 1.68.6.1: +6 -6 lines
Diff to previous 1.68.6.1 (colored) to branchpoint 1.68 (colored)

- Pass the error number and residual count to biodone(), and let it handle
  setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
  of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
  create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Sat Mar 24 14:56:06 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

sync with head.

Revision 1.68.6.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:51:59 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored)

Sync with head.

Revision 1.69 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:34 2007 UTC (5 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored)

Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.

Revision 1.61.12.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:21 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.12.2: +31 -30 lines
Diff to previous 1.61.12.2 (colored) to branchpoint 1.61 (colored)

sync with head.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Sat Feb 17 23:27:47 2007 UTC (5 years, 3 months ago) by tron
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.66: +3 -31 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Apply patch (requested by chs in ticket #422):
- Fix various deadlock problems with nullfs and unionfs.
- Speed up path lookups by upto 25%.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:32 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking
Changes since 1.67: +31 -30 lines
Diff to previous 1.67 (colored)

Merge newlock2 to head.

Revision 1.64.8.3 / (download) - annotate - [select for diffs], Sun Feb 4 14:45:08 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.64.8.2: +31 -30 lines
Diff to previous 1.64.8.2 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

Replace simplelocks.

Revision 1.64.8.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:07 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.64.8.1: +3 -31 lines
Diff to previous 1.64.8.1 (colored) to branchpoint 1.64 (colored)

Sync with head.

Revision 1.61.12.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:07 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.12.1: +5 -31 lines
Diff to previous 1.61.12.1 (colored) to branchpoint 1.61 (colored)

sync with head.

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:46 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.65: +5 -31 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

sync with head.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Dec 9 16:11:51 2006 UTC (5 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, newlock2-nbase, newlock2-base
Changes since 1.66: +3 -31 lines
Diff to previous 1.66 (colored)

a smorgasbord of improvements to vnode locking and path lookup:
 - LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP().
   these now always return the parent vnode locked.  namei() works as before.
   lookup() and various other paths no longer acquire vnode locks in the
   wrong order via vrele().  fixes PR 32535.
   as a nice side effect, path lookup is also up to 25% faster.
 - the above allows us to get rid of PDIRUNLOCK.
 - also get rid of WANTPARENT (just use LOCKPARENT and unlock it).
 - remove an assumption in layer_node_find() that all file systems implement
   a recursive VOP_LOCK() (unionfs doesn't).
 - require that all file systems supply vfs_vptofh and vfs_fhtovp routines.
   fill in eopnotsupp() for file systems that don't support being exported
   and remove the checks for NULL.  (layerfs calls these without checking.)
 - in union_lookup1(), don't change refcounts in the ISDOTDOT case, just
   adjust which vnode is locked.  fixes PR 33374.
 - apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().

Revision 1.64.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:23 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.64: +5 -3 lines
Diff to previous 1.64 (colored)

Sync with head.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Oct 25 18:56:38 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.65: +4 -2 lines
Diff to previous 1.65 (colored)

enable namecache enter reverse for linux procfs lookups.
XXX: how expensive is that?

Revision 1.63.8.2 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:48 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.63.8.1: +3 -3 lines
Diff to previous 1.63.8.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

sync with head.

Revision 1.65 / (download) - annotate - [select for diffs], Sun Sep 10 05:51:33 2006 UTC (5 years, 8 months ago) by dbj
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

make comment match logic in cache_lookup dvp unlock code

Revision 1.63.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:17 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.63: +5 -8 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

sync with head

Revision 1.61.12.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:39 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61: +7 -10 lines
Diff to previous 1.61 (colored)

sync with head.

Revision 1.63.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:42 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.63: +5 -8 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.63.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:42 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.63: +5 -8 lines
Diff to previous 1.63 (colored)

sync with head.

Revision 1.63.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:00 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.63: +5 -8 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Sync with head.

Revision 1.63.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 05:14:00 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.63: +5 -8 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

sync with head.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Apr 15 04:33:48 2006 UTC (6 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.63: +5 -8 lines
Diff to previous 1.63 (colored)

Coverity CID 602: Remove always true if statement.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Dec 24 19:12:23 2005 UTC (6 years, 5 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.62: +4 -4 lines
Diff to previous 1.62 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:30 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

merge ktrace-lwp.

Revision 1.45.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:17 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.45.2.4: +2 -2 lines
Diff to previous 1.45.2.4 (colored) next main 1.46 (colored)

Fix the sync with head I botched.

Revision 1.45.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:04 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.45.2.3: +2 -2 lines
Diff to previous 1.45.2.3 (colored)

Sync with HEAD.

Revision 1.45.2.3 / (download) - annotate - [select for diffs], Tue Aug 24 17:57:37 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.45.2.2: +4 -4 lines
Diff to previous 1.45.2.2 (colored)

Undo part of the ktrace/lwp changes.  In particular:
* Remove the "lwp *" argument that was added to vget().  Turns out
  that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
  and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
  above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
  just to appease the above.

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:59 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.45.2.1: +234 -106 lines
Diff to previous 1.45.2.1 (colored)

Sync with HEAD

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Fri Jul 23 23:48:21 2004 UTC (7 years, 10 months ago) by he
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.54.2.1: +14 -4 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

Pull up revision 1.57 (requested by hannken in ticket #706):
  Concurrent lookups in the same directory may race for a
  cache entry.  Handle this, and upon detection free the
  tentative entry and return.  Fixes PR#26400.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Sat Jul 10 14:23:21 2004 UTC (7 years, 10 months ago) by tron
Branch: netbsd-2-0
Changes since 1.54: +51 -28 lines
Diff to previous 1.54 (colored)

Pull up revision 1.55 (requested by tls in ticket #634):
make cache_purge more controlable.
namely, allow following operations.
	- purge only an entry specified by a component name.
	- purge only child entries.
	- purge only parent entries.
no objections on tech-kern@.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Jun 27 08:50:44 2004 UTC (7 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, matt-timespec, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.60: +73 -2 lines
Diff to previous 1.60 (colored)

introduce a new function, cache_lookup_raw(), for filesystems which
want more flexible namecache handling.
it just looks up a dnlc entry and vget() the result vnode.
ie. no automatic entry removal, no automatic vnode locking.

discussed on tech-kern@.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Jun 19 18:49:47 2004 UTC (7 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.59: +10 -12 lines
Diff to previous 1.59 (colored)

cache_lookup: avoid to grab two vnode's v_interlock.
just hold a reference (usecount) to a vnode instead.

Revision 1.59 / (download) - annotate - [select for diffs], Fri May 7 12:05:41 2004 UTC (8 years ago) by yamt
Branch: MAIN
Changes since 1.58: +15 -11 lines
Diff to previous 1.58 (colored)

redo the previous (rev.1.58; overwrite a duplicate entry rather than leave it)
differently so that entries entered during we're doing pool_get() are
checked as well.  pointed by Paul Kranenburg on source-changes@.

Revision 1.58 / (download) - annotate - [select for diffs], Thu May 6 22:02:02 2004 UTC (8 years ago) by yamt
Branch: MAIN
Changes since 1.57: +12 -13 lines
Diff to previous 1.57 (colored)

cache_enter: when we found a duplicate entry,
simply overwrite it rather than leaving a stale entry.

Revision 1.57 / (download) - annotate - [select for diffs], Sun May 2 12:00:34 2004 UTC (8 years ago) by pk
Branch: MAIN
Changes since 1.56: +14 -4 lines
Diff to previous 1.56 (colored)

cache_enter: concurrent lookups in the same directory may race for a
cache entry. Upon detection, free our tentative entry and return.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Apr 25 16:42:41 2004 UTC (8 years, 1 month ago) by simonb
Branch: MAIN
Changes since 1.55: +4 -5 lines
Diff to previous 1.55 (colored)

Initialise (most) pools from a link set instead of explicit calls
to pool_init.  Untouched pools are ones that either in arch-specific
code, or aren't initialiased during initial system startup.

 Convert struct session, ucred and lockf to pools.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Apr 5 10:20:52 2004 UTC (8 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.54: +51 -28 lines
Diff to previous 1.54 (colored)

make cache_purge more controlable.
namely, allow following operations.
	- purge only an entry specified by a component name.
	- purge only child entries.
	- purge only parent entries.
no objections on tech-kern@.

Revision 1.35.8.1 / (download) - annotate - [select for diffs], Mon Mar 15 05:25:14 2004 UTC (8 years, 2 months ago) by jmc
Branch: netbsd-1-6
Changes since 1.35: +4 -3 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Pullup rev hand patch (requested by enami in ticket #1617)

Fix LP64 bugs triggered by overflow.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Sep 1 12:13:55 2003 UTC (8 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.53: +3 -4 lines
Diff to previous 1.53 (colored)

remove an obsolete comment.  pointed by enami@

Revision 1.53 / (download) - annotate - [select for diffs], Fri Aug 8 20:19:56 2003 UTC (8 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.52: +21 -11 lines
Diff to previous 1.52 (colored)

- make this a bit MP friendly.
  (although no actual changes under the kernel lock)
- remove a test that isn't meaningful anymore.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Aug 8 20:18:19 2003 UTC (8 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.51: +20 -12 lines
Diff to previous 1.51 (colored)

arrange namecache lru before vget (and releasing namecache_slock)
since our namecache entry can go away during we're sleeping on the vnode.

the bug pointed by enami tsugutomo.
tested by Matthias Scheler.
PR/22363.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Aug 7 16:32:01 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.50: +3 -7 lines
Diff to previous 1.50 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jul 31 15:43:07 2003 UTC (8 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored)

remove remaining v_id.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jul 31 15:14:08 2003 UTC (8 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.48: +4 -3 lines
Diff to previous 1.48 (colored)

for NCHASH, obtain bits from the vnode pointer as well
to achieve a better hash distribution.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Jul 31 15:13:05 2003 UTC (8 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

when casting a pointer to an integer,
cast it to uintptr_t so that 64-bit archs will be happy.

pointed by Juergen Hannken-Illjes.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Jul 30 12:10:57 2003 UTC (8 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.46: +9 -33 lines
Diff to previous 1.46 (colored)

eliminate v_id.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Jul 30 12:09:47 2003 UTC (8 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.45: +58 -24 lines
Diff to previous 1.45 (colored)

maintain the list of namecaches attached to the vnode.
it makes vnodes freeable.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:45 2003 UTC (8 years, 10 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:32 2003 UTC (8 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Jun 29 18:43:28 2003 UTC (8 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

Undo part of the ktrace/lwp changes.  In particular:
* Remove the "lwp *" argument that was added to vget().  Turns out
  that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
  and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
  above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
  just to appease the above.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:58 2003 UTC (8 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.42 / (download) - annotate - [select for diffs], Wed May 21 09:36:06 2003 UTC (9 years ago) by fvdl
Branch: MAIN
Changes since 1.41: +3 -2 lines
Diff to previous 1.41 (colored)

Fix a missing namecache_slock unlock. From Stephan Uphoff.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Mar 2 13:26:22 2003 UTC (9 years, 2 months ago) by enami
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

... and no need to aqcuire lock while free'ing old hash which no one
refers it.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Feb 20 02:49:51 2003 UTC (9 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Move simple_lock after the hashinit's to avoid possible sleeping/malloc'ing
with a simplelock held.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Feb 14 21:39:46 2003 UTC (9 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.38: +41 -9 lines
Diff to previous 1.38 (colored)

Make cache insertion, removal and lookup MP-safe.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:45 2003 UTC (9 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.37: +4 -2 lines
Diff to previous 1.37 (colored)

Add extensible malloc types, adapted from FreeBSD.  This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.

Revision 1.29.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:43:21 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.29.2.3: +4 -4 lines
Diff to previous 1.29.2.3 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.28.2.7 / (download) - annotate - [select for diffs], Tue Sep 17 21:22:28 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.28.2.6: +2 -2 lines
Diff to previous 1.28.2.6 (colored) next main 1.29 (colored)

Catch up to -current.

Revision 1.29.2.3 / (download) - annotate - [select for diffs], Fri Sep 6 08:48:19 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.29.2.2: +5 -5 lines
Diff to previous 1.29.2.2 (colored) to branchpoint 1.29 (colored)

sync kqueue branch with HEAD

Revision 1.37 / (download) - annotate - [select for diffs], Wed Sep 4 01:32:47 2002 UTC (9 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

Use the queue macros from <sys/queue.h> instead of referring to the queue
members directly.  Use *_FOREACH whenever possible.

Revision 1.35.6.1 / (download) - annotate - [select for diffs], Thu Aug 29 05:23:15 2002 UTC (9 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.35: +5 -5 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

catch up with -current.

Revision 1.28.2.6 / (download) - annotate - [select for diffs], Tue Aug 27 23:47:37 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.5: +3 -3 lines
Diff to previous 1.28.2.5 (colored)

Catch up to -current.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Aug 26 01:21:58 2002 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.35: +5 -5 lines
Diff to previous 1.35 (colored)

Fix signed/unsigned comparison warnings from GCC 3.3.

Revision 1.28.2.5 / (download) - annotate - [select for diffs], Mon Apr 1 07:48:02 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.4: +3 -4 lines
Diff to previous 1.28.2.4 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:53 2002 UTC (10 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.29.2.1: +3 -4 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored)

Catch up with -current.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Mar 8 20:48:42 2002 UTC (10 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.34: +3 -4 lines
Diff to previous 1.34 (colored)

Pool deals fairly well with physical memory shortage, but it doesn't
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map).  Try to deal with this:

* Group all information about the backend allocator for a pool in a
  separate structure.  The pool references this structure, rather than
  the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
  to become available, but will still fail if it cannot callocate KVA
  space for the pages.  If this happens, carefully drain all pools using
  the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
  some pages, and use that information to make draining easier and more
  efficient.
* Get rid of PR_URGENT.  There was only one use of it, and it could be
  dealt with by the caller.

From art@openbsd.org.

Revision 1.25.4.2 / (download) - annotate - [select for diffs], Sat Feb 9 20:44:13 2002 UTC (10 years, 3 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.25.4.1: +9 -15 lines
Diff to previous 1.25.4.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Pull up revision 1.27 (requested by fvdl):
  Improve computational complexity of cache_purgevfs().  Also fixes
  a bug in which machines serving both as NFS clients and servers
  could hang for 5-10 minutes under heavy load.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:00:17 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.29: +115 -76 lines
Diff to previous 1.29 (colored)

Sync kqueue branch with -current.

Revision 1.28.2.4 / (download) - annotate - [select for diffs], Tue Jan 8 00:32:42 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.3: +65 -75 lines
Diff to previous 1.28.2.3 (colored)

Catch up to -current.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Dec 10 01:49:26 2001 UTC (10 years, 5 months ago) by enami
Branch: MAIN
CVS Tags: ifpoll-base, ifpoll
Changes since 1.33: +59 -67 lines
Diff to previous 1.33 (colored)

KNF.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Dec 8 04:09:56 2001 UTC (10 years, 5 months ago) by enami
Branch: MAIN
Changes since 1.32: +8 -10 lines
Diff to previous 1.32 (colored)

Test ".." correctly when creating reverse cache entry.

Revision 1.28.2.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:48 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.2: +6 -2 lines
Diff to previous 1.28.2.2 (colored)

Catch up to -current.

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Mon Nov 12 23:37:20 2001 UTC (10 years, 6 months ago) by he
Branch: netbsd-1-5
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

Pull up revision 1.31 (requested by chs):
  Safely handle cleanup of namecache entries in the event of multiple
  threads ending up in the same section of code looking for the same
  entry, possible because vget() can sleep.  Fixes PR#14042.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:00 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.30: +6 -2 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Nov 12 15:25:36 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.31: +4 -1 lines
Diff to previous 1.31 (colored)

add RCSIDs

Revision 1.31 / (download) - annotate - [select for diffs], Sat Oct 27 04:53:38 2001 UTC (10 years, 7 months ago) by chs
Branch: MAIN
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored)

in cache_lookup(), if we get a cache hit but then fail to vget() the found
vnode, we should not attempt to remove the namecache entry.  this is because
vget() can sleep (eg. if VXLOCK is set because the vnode is being reclaimed),
and so multiple threads can end up in this context at the same time.
if this happens, each thread ends up removing the cache entry, but
the code to remove the entry assumes that the entry is still valid.
so we should just leave the (now stale) entry in the cache.
if another thread finds the entry again before it is reused,
that thread will notice that the entry is stale and remove it safely.
fixes PR 14042.

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:46:58 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.29: +50 -5 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Catch up with -current.

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Wed Sep 26 19:55:06 2001 UTC (10 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.1: +50 -5 lines
Diff to previous 1.28.2.1 (colored)

Catch up to -current.
Again.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Sep 24 06:01:13 2001 UTC (10 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2
Branch point for: thorpej-mips-cache
Changes since 1.29: +50 -5 lines
Diff to previous 1.29 (colored)

resize the namecache hash table also when desiredvnodes changes.

Revision 1.21.2.4 / (download) - annotate - [select for diffs], Sat Apr 21 17:46:31 2001 UTC (11 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.21.2.3: +8 -1 lines
Diff to previous 1.21.2.3 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with HEAD

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:58:00 2001 UTC (11 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.28: +8 -1 lines
Diff to previous 1.28 (colored)

Catch up with -current.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Mar 29 22:39:23 2001 UTC (11 years, 1 month ago) by fvdl
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, kqueue
Changes since 1.28: +8 -1 lines
Diff to previous 1.28 (colored)

Depending on the NAMECACHE_ENTER_REVERSE option, always enter reverse
mappings (vnode -> name) in the reverse mapping hash table. Without
this option, there is no change; only directories will be entered to
speed up getcwd. This is an option because it will cause getcwd
to hit longer hash chains, and at the moment its usefulness is
still limited.

Revision 1.21.2.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:14:01 2000 UTC (11 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.21.2.2: +35 -14 lines
Diff to previous 1.21.2.2 (colored) to branchpoint 1.21 (colored)

Sync with HEAD.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Nov 24 07:25:51 2000 UTC (11 years, 6 months ago) by chs
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.27: +28 -1 lines
Diff to previous 1.27 (colored)

add ddb commands "show uvmexp" and "show ncache".
the former used to be "call uvm_dump", the latter is new.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Nov 24 05:02:23 2000 UTC (11 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.26: +9 -15 lines
Diff to previous 1.26 (colored)

change cache_purgevfs() from O(N^2) to O(N).
use queue.h macros where possible.

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:05:31 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.21.2.1: +5 -3 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored)

Sync with HEAD.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:15 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.21: +12 -11 lines
Diff to previous 1.21 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.26 / (download) - annotate - [select for diffs], Wed Nov 8 14:28:13 2000 UTC (11 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.25: +5 -3 lines
Diff to previous 1.25 (colored)

Update for hashinit() change.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Apr 16 21:41:49 2000 UTC (12 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

change "nextvnodeid" from a global in namei.h to a static in
the one function that uses it.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Apr 16 21:39:57 2000 UTC (12 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

limit the number of namecache entries to numvnodes rather than desiredvnodes.
getnewvnode() has been changed to virtually guarantee that we'll have more
vnodes than "desired", so previously there would always be more vnodes
than namecache entries.  this fixes PR 9792.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Mar 30 09:27:14 2000 UTC (12 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.22: +7 -7 lines
Diff to previous 1.22 (colored)

Get rid of register declarations.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Mar 23 14:32:41 2000 UTC (12 years, 2 months ago) by soren
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

Tiny comment update.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Sep 10 23:24:23 1999 UTC (12 years, 8 months ago) by mycroft
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi
Changes since 1.20: +3 -2 lines
Diff to previous 1.20 (colored)

Obey negative cache entries for intermediate directories during a create.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Sep 5 14:22:34 1999 UTC (12 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.19: +86 -18 lines
Diff to previous 1.19 (colored)

Change cache_lookup() as per discussion on tech-kern & ICB:

If the entry is found in name cache, cache_lookup() does all the
necessary locking now, simplifying the interface and making the
code easier to follow and maintain.

The code now also removes the entry from cache when it's either invalid
(vget() fails) or the vnode has been recycled while waiting for the lock.
In that case, unlock/relock of the directory vnode has been eliminated too.
Both changes could lead to sligh performace improvement in same cases.

Furthermore, obscure bug has been found and eliminated for ISDOTDOT in the
lockparent && ISLASTCN case: if the vget() succeded and the re-lock
of the directory vnode not, we returned the error with the '..' vnode still
locked.

For simplicity, cache_lookup() now returns 0 if the positive entry was found
in cache, -1 if not found and ENOENT or error returned by the locking
functions in any other case.

Many thanks to Bill Studenmund and especially Charles Hannum
for invaluable advices and code to get this right.

Tested by: jdolecek
Rewieved by: wrstuden, mycroft

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Mon Jun 7 04:25:31 1999 UTC (12 years, 11 months ago) by chs
Branch: chs-ubc2
Changes since 1.19: +47 -1 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

merge everything from chs-ubc branch.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Mar 22 17:01:55 1999 UTC (13 years, 2 months ago) by sommerfe
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base
Branch point for: chs-ubc2
Changes since 1.18: +108 -1 lines
Diff to previous 1.18 (colored)

Change namei cache to record vnode->(parent,name) entries (for directories).
Add kernel implementation of getcwd() which uses this cache, falling
back to reading the filesystem on a cache miss.
Along for the ride: add new VOP_FSYNC flag FSYNC_RECLAIM indicating
that a reclaim is being done, so only a "shallow" fsync is needed.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Mon Nov 9 06:06:32 1998 UTC (13 years, 6 months ago) by chs
Branch: chs-ubc
Changes since 1.18: +47 -1 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

initial snapshot.  lots left to do.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 1 04:33:56 1998 UTC (13 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base
Branch point for: chs-ubc
Changes since 1.17: +8 -3 lines
Diff to previous 1.17 (colored)

Use the pool allocator and "nointr" pool page allocator for name cache entries.
The only benefit this provides is that we don't use kmem_map to map the memory
used for name cache entries (though, this is a 13 virtual page savings on my
PPro) since vnodes are never freed (they have their own freelist).

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sat Aug 8 03:06:59 1998 UTC (13 years, 9 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Revert cdevsw mmap routines to return int.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Aug 4 04:03:18 1998 UTC (13 years, 9 months ago) by perry
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one.
  bcopy(x, y, z) ->  memcpy(y, x, z)
ovbcopy(x, y, z) -> memmove(y, x, z)
   bcmp(x, y, z) ->  memcmp(x, y, z)
  bzero(x, y)    ->  memset(x, 0, y)

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jul 31 22:50:53 1998 UTC (13 years, 9 months ago) by perry
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

fix sizeofs so they comply with the KNF style guide. yes, it is pedantic.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Mar 1 02:22:35 1998 UTC (14 years, 2 months ago) by fvdl
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

Merge with Lite2 + local changes

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:04 1998 UTC (14 years, 2 months ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +153 -161 lines
Diff to previous 1.1.1.2 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:09:53 1998 UTC (14 years, 2 months ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1.1.1: +99 -93 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.14 / (download) - annotate - [select for diffs], Sat Feb 7 02:44:49 1998 UTC (14 years, 3 months ago) by chs
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

add flags arg to hashinit(), to pass to malloc().

Revision 1.13 / (download) - annotate - [select for diffs], Sun Feb 4 02:18:09 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, thorpej-setroot, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, mrg-vm-swap, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi
Changes since 1.12: +6 -2 lines
Diff to previous 1.12 (colored)

First pass at prototyping

Revision 1.12 / (download) - annotate - [select for diffs], Fri Sep 8 14:15:07 1995 UTC (16 years, 8 months ago) by ws
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Distribute cache entries more evenly

Revision 1.11 / (download) - annotate - [select for diffs], Tue May 30 09:02:02 1995 UTC (17 years ago) by mycroft
Branch: MAIN
Changes since 1.10: +12 -3 lines
Diff to previous 1.10 (colored)

Preserve the ISWHITEOUT flag between cache_enter() and cache_lookup().

Revision 1.10 / (download) - annotate - [select for diffs], Tue Dec 13 09:14:34 1994 UTC (17 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Sync with CSRG.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Aug 30 03:06:11 1994 UTC (17 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +39 -98 lines
Diff to previous 1.8 (colored)

Convert process, file, and namei lists and hash tables to use queue.h.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 5 19:09:32 1994 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored)

fix for kern/322, pointed out by osymh@gemini.oscs.montana.edu.  Neither
suggested fix was correct: the suggested change to cache_lookup would cause
the counters to be incremented when doingcache was zero, and the suggested
change to cache_enter was prone to a race condition (e.g. if doingcache
became 1 between the cache_lookup and cache_enter).

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jul 2 20:26:19 1994 UTC (17 years, 10 months ago) by chopps
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

we like cache.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 29 06:33:47 1994 UTC (17 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.5: +4 -3 lines
Diff to previous 1.5 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 8 11:28:50 1994 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +96 -91 lines
Diff to previous 1.4 (colored)

Update to 4.4-Lite fs code.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Dec 18 04:22:39 1993 UTC (18 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +9 -9 lines
Diff to previous 1.3 (colored)

Canonicalize all #includes.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Sun Nov 14 21:24:14 1993 UTC (18 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.3: +9 -9 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Canonicalize all #includes.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Sep 7 15:41:10 1993 UTC (18 years, 8 months ago) by ws
Branch: MAIN
CVS Tags: magnum-base
Branch point for: magnum
Changes since 1.2: +6 -5 lines
Diff to previous 1.2 (colored)

Changes to VFS readdir semantics
NFS changes for better cookie support
ISOFS changes for better Rockridge support and support for generation numbers

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 20 02:55:33 1993 UTC (19 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

add $Id$ strings, and clean up file headers where necessary

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>