The NetBSD Project

CVS log for src/sys/miscfs/kernfs/Attic/kernfs_subr.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / miscfs / kernfs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.25.2.1, Wed Aug 20 00:04:31 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.25: +2 -2 lines
FILE REMOVED

Rebase to HEAD as of a few days ago.

Revision 1.26.2.1, Sun Aug 10 06:56:05 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.26: +2 -2 lines
FILE REMOVED

Rebase.

Revision 1.29, Sun Jul 20 13:58:04 2014 UTC (9 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, thorpej-futex-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, localcount-20160914, isaki-audio2-base, isaki-audio2, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.28: +2 -2 lines
FILE REMOVED

Change kernfs from hashlist to vcache.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jul 17 08:21:34 2014 UTC (9 years, 8 months ago) by hannken
Branch: MAIN
Changes since 1.27: +18 -19 lines
Diff to previous 1.27 (colored) to selected 1.20.4.1 (colored)

Finish KAME IPSEC removal:
- Remove field kfs_value, it is always zero. Compute the hash from kt_tag.
- Remove stray definitions kernfs_revoke_sa and kernfs_revoke_sp.

While here, remove kfs_type from allocvp(), it is always kt->kt_tag.

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:41:05 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.24.2.1: +10 -29 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored) to selected 1.20.4.1 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:09 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.25: +10 -29 lines
Diff to previous 1.25 (colored) next main 1.26 (colored) to selected 1.20.4.1 (colored)

sync with head

Revision 1.27 / (download) - annotate - [select for diffs], Tue Apr 8 17:56:10 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.26: +7 -28 lines
Diff to previous 1.26 (colored) to selected 1.20.4.1 (colored)

From Ilya Zykov: Unbreak kernfs which was broken by this commit

|Make the spec_node table implementation private to spec_vnops.c.
|To retrieve a spec_node, two new lookup functions (by device or by mount)
|are implemented.  Both return a referenced vnode, for an opened block device
|the opened vnode is returned so further diagnostic checks "vp == ... sd_bdevvp"
|will not fire.  Otherwise any vnode matching the criteria gets returned.
|No objections on tech-kern.

The effect was that ls /kernfs appeared empty in most cases.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Feb 27 16:51:38 2014 UTC (10 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.25: +5 -3 lines
Diff to previous 1.25 (colored) to selected 1.20.4.1 (colored)

The current implementation of vn_lock() is racy.  Modification of
the vnode operations vector for active vnodes is unsafe because it
is not known whether deadfs or the original file system will be
called.

- Pass down LK_RETRY to the lock operation (hint for deadfs only).

- Change deadfs lock operation to return ENOENT if LK_RETRY is unset.

- Change all other lock operations to check for dead vnode once
  the vnode is locked and unlock and return ENOENT in this case.

With these changes in place vnode lock operations will never succeed
after vclean() has marked the vnode as VI_XLOCK and before vclean()
has changed the operations vector.

Adresses PR kern/37706 (Forced unmount of file systems is unsafe)

Discussed on tech-kern.

Welcome to 6.99.33

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:34 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.24: +2 -61 lines
Diff to previous 1.24 (colored) to selected 1.20.4.1 (colored)

sync with head

Revision 1.24.6.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:42 2012 UTC (11 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.24: +0 -59 lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.20.4.1 (colored)

sync to latest -current.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Mar 22 20:34:38 2012 UTC (12 years ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.24: +2 -61 lines
Diff to previous 1.24 (colored) to selected 1.20.4.1 (colored)

remove KAME IPSEC, replaced by FAST_IPSEC

Revision 1.23.6.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:24 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.23: +7 -5 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.20.4.1 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:58 2011 UTC (12 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.23: +7 -5 lines
Diff to previous 1.23 (colored) to selected 1.20.4.1 (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.20.4.4 / (download) - annotate - [select for diffs], Thu May 19 03:43:03 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.20.4.3: +6 -4 lines
Diff to previous 1.20.4.3 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored) to selected 1.20.4.1 (colored)

Implement sharing of vnode_t::v_interlock amongst vnodes:
- Lock is shared amongst UVM objects using uvm_obj_setlock() or getnewvnode().
- Adjust vnode cache to handle unsharing, add VI_LOCKSHARE flag for that.
- Use sharing in tmpfs and layerfs for underlying object.
- Simplify locking in ubc_fault().
- Sprinkle some asserts.

Discussed with ad@.

Revision 1.20.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:30 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.20.4.2: +6 -4 lines
Diff to previous 1.20.4.2 (colored) to branchpoint 1.20 (colored) to selected 1.20.4.1 (colored)

sync with head

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:37 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.20: +7 -5 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.20.4.1 (colored)

Sync with HEAD.

Revision 1.15.10.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:47 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15.10.2: +7 -5 lines
Diff to previous 1.15.10.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.20.4.1 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jul 21 17:52:12 2010 UTC (13 years, 8 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.22: +3 -3 lines
Diff to previous 1.22 (colored) to selected 1.20.4.1 (colored)

Make holding v_interlock mandatory for callers of vget().

Announced some time ago on tech-kern.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jul 21 09:06:38 2010 UTC (13 years, 8 months ago) by hannken
Branch: MAIN
Changes since 1.21: +5 -3 lines
Diff to previous 1.21 (colored) to selected 1.20.4.1 (colored)

Using vfinddev() 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 specfs cache is locked.

Welcome to 5.99.37.

No objections on tech-kern.

Revision 1.20.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:57 2010 UTC (13 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.20.4.1: +3 -3 lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored)

sync with head

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jul 1 13:00:56 2010 UTC (13 years, 9 months ago) by hannken
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored) to selected 1.20.4.1 (colored)

Remove vlockmgr().  Generic vnode lock operations now use a rwlock located
in the vnode.  All LK_* flags move from sys/lock.h to sys/vnode.h.  Calls
to vlockmgr() in file systems get replaced with VOP_LOCK() or VOP_UNLOCK().

Welcome to 5.99.34.

Discussed on tech-kern.

Revision 1.20.4.1 / (download) - annotate - [selected], Tue Mar 16 15:38:11 2010 UTC (14 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (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.18.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:22:16 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.18: +12 -26 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.20.4.1 (colored)

Sync with HEAD.

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

Revision 1.15.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:14:04 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15.10.1: +17 -29 lines
Diff to previous 1.15.10.1 (colored) to branchpoint 1.15 (colored) to selected 1.20.4.1 (colored)

sync with head.

Revision 1.16.8.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:15 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.16.8.1: +12 -26 lines
Diff to previous 1.16.8.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.20.4.1 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Mar 15 17:22:38 2009 UTC (15 years ago) by cegger
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-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.19: +5 -5 lines
Diff to previous 1.19 (colored) to selected 1.20.4.1 (colored)

ansify function definitions

Revision 1.19 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:22 2009 UTC (15 years ago) by dsl
Branch: MAIN
Changes since 1.18: +9 -23 lines
Diff to previous 1.18 (colored) to selected 1.20.4.1 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:06 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.16: +7 -5 lines
Diff to previous 1.16 (colored) to selected 1.20.4.1 (colored)

Sync with HEAD.

Revision 1.15.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:27 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.15.6.1: +5 -3 lines
Diff to previous 1.15.6.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.20.4.1 (colored)

Sync with HEAD.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:53 2009 UTC (15 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.17: +5 -2 lines
Diff to previous 1.17 (colored) to selected 1.20.4.1 (colored)

merge christos-time_t

Revision 1.17 / (download) - annotate - [select for diffs], Wed Dec 17 20:51:36 2008 UTC (15 years, 3 months ago) by cegger
Branch: MAIN
Changes since 1.16: +4 -5 lines
Diff to previous 1.16 (colored) to selected 1.20.4.1 (colored)

kill MALLOC and FREE macros.

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:20 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.15: +6 -8 lines
Diff to previous 1.15 (colored) to selected 1.20.4.1 (colored)

Sync with HEAD.

Revision 1.15.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:25 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.15: +6 -8 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.20.4.1 (colored)

sync with head.

Revision 1.15.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:39 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15: +6 -8 lines
Diff to previous 1.15 (colored) to selected 1.20.4.1 (colored)

sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Mon May 5 17:11:17 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, 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, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.15: +6 -8 lines
Diff to previous 1.15 (colored) to selected 1.20.4.1 (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.12.14.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:03 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.12.14.2: +3 -3 lines
Diff to previous 1.12.14.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored) to selected 1.20.4.1 (colored)

sync with HEAD

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:00 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.20.4.1 (colored)

Sync with HEAD.

Revision 1.7.4.6 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:31 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.4.5: +3 -3 lines
Diff to previous 1.7.4.5 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.20.4.1 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jan 30 09:50:23 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) to selected 1.20.4.1 (colored)

Replace struct lock on vnodes with a simpler lock object built on
krwlock_t. This is a step towards removing lockmgr and simplifying
vnode locking. Discussed on tech-kern.

Revision 1.7.4.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:53 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.4.4: +3 -3 lines
Diff to previous 1.7.4.4 (colored) to branchpoint 1.7 (colored) to selected 1.20.4.1 (colored)

sync with head

Revision 1.12.14.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:57:03 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.12.14.1: +3 -3 lines
Diff to previous 1.12.14.1 (colored) to branchpoint 1.12 (colored) to selected 1.20.4.1 (colored)

sync with HEAD

Revision 1.13.10.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:52 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.20.4.1 (colored)

Sync with HEAD

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:00 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) to selected 1.20.4.1 (colored)

Merge vmlocking2 to head.

Revision 1.13.6.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:26 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.20.4.1 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.12.14.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:33:19 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) to selected 1.20.4.1 (colored)

sync with HEAD

Revision 1.7.4.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:54 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.4.3: +3 -3 lines
Diff to previous 1.7.4.3 (colored) to branchpoint 1.7 (colored) to selected 1.20.4.1 (colored)

sync with head.

Revision 1.12.12.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:53 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.20.4.1 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.12.16.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:54 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.20.4.1 (colored)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Oct 10 20:42:29 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, mjf-devfs, bouyer-xeni386
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) to selected 1.20.4.1 (colored)

Merge from vmlocking:

- Split vnode::v_flag into three fields, depending on field locking.
- simple_lock -> kmutex in a few places.
- Fix some simple locking problems.

Revision 1.7.4.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:53 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.4.2: +5 -3 lines
Diff to previous 1.7.4.2 (colored) to branchpoint 1.7 (colored) to selected 1.20.4.1 (colored)

sync with head.

Revision 1.11.2.3 / (download) - annotate - [select for diffs], Sun Jun 17 21:31:41 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.11.2.2: +3 -3 lines
Diff to previous 1.11.2.2 (colored) next main 1.12 (colored) to selected 1.20.4.1 (colored)

- Increase the number of thread priorities from 128 to 256. How the space
  is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
  is provided, with hooks for fast-path MD code that can run the interrupt
  threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
  locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:57:51 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.11.2.1: +3 -3 lines
Diff to previous 1.11.2.1 (colored) to selected 1.20.4.1 (colored)

Compile fixes.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:52:00 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) to selected 1.20.4.1 (colored)

Sync with head.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:59:08 2007 UTC (17 years ago) by rmind
Branch: yamt-idlelwp
Changes since 1.10: +5 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.20.4.1 (colored)

Sync with HEAD.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 11 22:07:32 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) to selected 1.20.4.1 (colored)

Remove useless cast.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 27 16:11:51 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
Branch point for: vmlocking
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored) to selected 1.20.4.1 (colored)

Destroy the hash locks on final unmount.

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:28 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.4.1: +28 -24 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored) to selected 1.20.4.1 (colored)

sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 15 15:40:53 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.9: +28 -24 lines
Diff to previous 1.9 (colored) to selected 1.20.4.1 (colored)

Replace some uses of lockmgr() / simplelocks.

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:10:26 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored) to selected 1.20.4.1 (colored)

sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:51 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, 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, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.20.4.1 (colored)

merge ktrace-lwp.

Revision 1.6.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:10:25 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.6: +6 -6 lines
Diff to previous 1.6.2.6 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.20.4.1 (colored)

Sync with HEAD. Here we go again...

Revision 1.8 / (download) - annotate - [select for diffs], Tue Aug 30 20:08:01 2005 UTC (18 years, 7 months ago) by xtraeme
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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored) to selected 1.20.4.1 (colored)

Remove __P()

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:30 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.20.4.1 (colored)

sync with -current

Revision 1.6.8.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:30 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.20.4.1 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.6.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:52:54 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.5: +3 -3 lines
Diff to previous 1.6.2.5 (colored) to branchpoint 1.6 (colored) to selected 1.20.4.1 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.7 / (download) - annotate - [select for diffs], Sat Feb 26 22:59:00 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, 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, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.20.4.1 (colored)

nuke trailing whitespace

Revision 1.6.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:36:30 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.4: +2 -2 lines
Diff to previous 1.6.2.4 (colored) to branchpoint 1.6 (colored) to selected 1.20.4.1 (colored)

Fix the sync with head I botched.

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:54:15 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.3: +2 -2 lines
Diff to previous 1.6.2.3 (colored) to branchpoint 1.6 (colored) to selected 1.20.4.1 (colored)

Sync with HEAD.

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Tue Aug 24 17:57:39 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.2: +5 -6 lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored) to selected 1.20.4.1 (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.6.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:54:05 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.1: +408 -0 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) to selected 1.20.4.1 (colored)

Sync with HEAD

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Fri May 14 06:33:03 2004 UTC (19 years, 10 months ago) by jdc
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.5: +5 -38 lines
Diff to previous 1.5 (colored) next main 1.6 (colored) to selected 1.20.4.1 (colored)

Pull up revision 1.6 (requested by cl in ticket #322).

remove code no longer needed since the type/permission information
is available in the entry's struct kern_target and every entry has a
(possibly shared) struct kern_target now.

Revision 1.6.2.1, Fri May 7 15:20:29 2004 UTC (19 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6: +0 -407 lines
FILE REMOVED

file kernfs_subr.c was added on branch ktrace-lwp on 2004-08-03 10:54:05 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Fri May 7 15:20:29 2004 UTC (19 years, 10 months ago) by cl
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, ktrace-lwp, kent-audio2
Changes since 1.5: +5 -38 lines
Diff to previous 1.5 (colored) to selected 1.20.4.1 (colored)

remove code no longer needed since the type/permission information
is available in the entry's struct kern_target and every entry has a
(possibly shared) struct kern_target now.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Sep 27 13:29:02 2003 UTC (20 years, 6 months ago) by darcy
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.4: +18 -18 lines
Diff to previous 1.4 (colored) to selected 1.20.4.1 (colored)

Changes as discussed with itojun on tech-kern.  I have modified the enums
to have KFS or PFS differentiators.  Further I have wrapped the enum in
procfs in "#ifdef _KERNEL" as it is done in kernfs.

To see the discussion go to http://mail-index.NetBSD.org/tech-kern/2003/09/
and look for "Mismatched enums in include files" in the list.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Sep 26 03:08:18 2003 UTC (20 years, 6 months ago) by atatat
Branch: MAIN
Changes since 1.3: +18 -18 lines
Diff to previous 1.3 (colored) to selected 1.20.4.1 (colored)

Make kernfs peacefully co-exist with procfs.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Sep 10 03:42:07 2003 UTC (20 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored) to selected 1.20.4.1 (colored)

fix permission of /kern/hostname to 0644

Revision 1.2 / (download) - annotate - [select for diffs], Wed Sep 10 03:31:29 2003 UTC (20 years, 6 months ago) by dan
Branch: MAIN
Changes since 1.1: +8 -6 lines
Diff to previous 1.1 (colored) to selected 1.20.4.1 (colored)

test against kt to get the right node of the given type, from enami@

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 8 06:51:53 2003 UTC (20 years, 6 months ago) by itojun
Branch: MAIN
Diff to selected 1.20.4.1 (colored)

add /kern/ipsecsa and /kern/ipsecsp, which can be inspected by setkey(8).
it allows easier access to ipsecsa/sp.  it works around problem where
setkey -D does not work with large number of ipsec SAs due to socket buffer
size.

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>