The NetBSD Project

CVS log for src/sys/kern/vnode_if.sh

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.67 / (download) - annotate - [select for diffs], Fri Oct 11 08:04:52 2019 UTC (5 weeks, 5 days ago) by hannken
Branch: MAIN
CVS Tags: phil-wifi-20191119, HEAD
Changes since 1.66: +6 -4 lines
Diff to previous 1.66 (colored)

As VOP_STRATEGY() usually calls itself on the file system holding "/dev"
it may deadlock on suspension of this file system.

Add fstrans type LAZY and use it for VOP_STRATEGY().

Adress PR kern/53624 (dom0 freeze on domU exit) is still there

Revision 1.66 / (download) - annotate - [select for diffs], Sun Jun 4 08:03:26 2017 UTC (2 years, 5 months ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20190609, phil-wifi, 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, nick-nhusb-base-20170825, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)

Operations fstrans_start() and fstrans_start_nowait() now always
use FSTRANS_SHARED as lock type so remove the lock type argument.

Revision 1.65 / (download) - annotate - [select for diffs], Sun Jun 4 07:59:17 2017 UTC (2 years, 5 months ago) by hannken
Branch: MAIN
Changes since 1.64: +82 -18 lines
Diff to previous 1.64 (colored)

Add "FSTRANS=LOCK" and "FSTRANS=UNLOCK" to vop_lock and vop_unlock.

Add two "static inline" functions to vnode_if.c to handle MPSAFE
and FSTRANS before and after the "VCALL()".

Take FSTRANS and handle error before "VCALL(...vop_lock...)" and
release it after "VCALL(...vop_unlock...)".

Revision 1.64 / (download) - annotate - [select for diffs], Sun Apr 16 17:18:28 2017 UTC (2 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, netbsd-8-base, bouyer-socketcan-base1
Branch point for: netbsd-8
Changes since 1.63: +3 -2 lines
Diff to previous 1.63 (colored)

Count vnode arguments correctly.

Don't count arguments that have WILLRELE/WILLPUT; count arguments
that are struct vnode *.

No functional change currently because it happens that every released
or put vnode argument comes first or after other ones.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Apr 11 14:29:32 2017 UTC (2 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.62: +2 -8 lines
Diff to previous 1.62 (colored)

Eliminate now-unused WILLUNLOCK vop flag.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Feb 22 09:45:51 2017 UTC (2 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, jdolecek-ncq-base, jdolecek-ncq
Changes since 1.61: +17 -1 lines
Diff to previous 1.61 (colored)

Prepare to move fstrans into vnode_if.c, allow "FSTRANS=YES"
and "FSTRANS=NO" in the vop description.
Add fstrans_start()/fstrans_done() to all vops that have FSTRANS=YES
or have the first vnode unlocked.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Jan 26 23:28:06 2016 UTC (3 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

"rump_private.h" -> <rump-sys/kern.h>

Revision 1.60 / (download) - annotate - [select for diffs], Mon Jan 13 12:07:55 2014 UTC (5 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.59: +12 -5 lines
Diff to previous 1.59 (colored)

Support for vnode operation versioning.  Allow a new keyword "VERSION"
in the description so "VERSION 2" will change the name of the argument
from vop_XXX_args to vop_XXX_v2_args.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Jul 17 21:20:53 2013 UTC (6 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1
Changes since 1.58: +3 -1 lines
Diff to previous 1.58 (colored)

Additionally translate daddr_t to int64_t in the rumpvnode interface.
The type daddr_t is not available for all systems (e.g. Linux systems with
musl libc), and exposing it will just cause an unnecessary compilation
failure even if the type is not used.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Jul 11 08:23:00 2011 UTC (8 years, 4 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-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, khorben-n900, 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-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet, riastradh-drm2
Changes since 1.57: +4 -29 lines
Diff to previous 1.57 (colored)

Change VOP_BWRITE() to take a vnode as its first argument like all other
VOPs do.  Layered file systems no longer have to modify bp->b_vp and run
into trouble when an async VOP_BWRITE() uses the wrong vnode.

Adresses PR kern/38762 panic: vwakeup: neg numoutput

No objections from tech-kern@.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Apr 3 01:19:37 2011 UTC (8 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.56: +2 -6 lines
Diff to previous 1.56 (colored)

- Use offsetof() in VOPARG_OFFSETOF() instead of re-implementing it.
- Remove VDESC_NOMAP_VPP and VDESC_VPP_WILLRELE.
- Remove VRELEL_NOINACTIVE and VRELEL_ONHEAD.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Apr 14 13:58:51 2010 UTC (9 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.55: +78 -31 lines
Diff to previous 1.55 (colored)

Make rump vnode interface lightweight: the only things we
really need are:

  0) provide VOP_OP in the alternate RUMP_VOP_OP namespace

  and for each op:
  1) schedule rump cpu
  2) call VOP_OP
  3) unschedule rump cpu

While here, take the opportunity to get rid of _t lossage in the
rump-exported interfaces.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Apr 14 12:19:50 2010 UTC (9 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.54: +5 -10 lines
Diff to previous 1.54 (colored)

Print "end of special cases" only where special cases end and not
a second time at the end of the file.  Adjust whitespace for the
sheer functional joy of it.

(i hope i didn't ruin someone's joke by missing a humorous implication
that all vnode operations are considered a little special)

Revision 1.54 / (download) - annotate - [select for diffs], Sat Apr 10 19:41:54 2010 UTC (9 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.53: +2 -4 lines
Diff to previous 1.53 (colored)

"Not yet" since 4.4BSD is quite a lot of "not yet", so remove
vdesc_transports from vnodeop_desc until we have a "not not yet"
situation.

Ride 5.99.27 bump (full build still in progress.  i wanted to get
this in as soon as possible to most effectively ride the bump.)

Revision 1.53 / (download) - annotate - [select for diffs], Thu Oct 15 00:29:40 2009 UTC (10 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.52: +7 -2 lines
Diff to previous 1.52 (colored)

Generate scheduling points around rump vnode operations.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Sep 29 11:51:02 2009 UTC (10 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.51: +22 -16 lines
Diff to previous 1.51 (colored)

Add a switch on whether to create VNODE_LOCKDEBUG checks or not.
Since VNODE_LOCKDEBUG has never been generally useful, default to
off.  However, the checks can still be generated by flipping the
switch for the isolated cases where this form of dynamic analysis
is useful and the person using it knows what she is doing.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Nov 19 14:10:49 2008 UTC (11 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Split vfs out of rumpkern into rumpvfs.  Non-fs rumps no longer
include the file system code.  File system rumps explicitly need
to include rumpvfs from now on.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Nov 17 08:46:03 2008 UTC (11 years ago) by pooka
Branch: MAIN
Changes since 1.49: +57 -27 lines
Diff to previous 1.49 (colored)

Make this generate the rump vnode interface files.

Revision 1.49 / (download) - annotate - [select for diffs], Mon May 19 17:06:02 2008 UTC (11 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, 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-dm-base1
Branch point for: nick-hppapmap, haad-dm
Changes since 1.48: +2 -3 lines
Diff to previous 1.48 (colored)

Reduce ifdefs due to MULTIPROCESSOR slightly.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:57 2008 UTC (11 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2
Changes since 1.47: +3 -1 lines
Diff to previous 1.47 (colored)

Merge vmlocking2 to head.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:11 2007 UTC (11 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.46: +1 -4 lines
Diff to previous 1.46 (colored)

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

Revision 1.46 / (download) - annotate - [select for diffs], Tue Nov 6 21:59:43 2007 UTC (12 years ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.45: +11 -11 lines
Diff to previous 1.45 (colored)

Merge from vmlocking.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Oct 10 20:42:28 2007 UTC (12 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base, jmcneill-base
Branch point for: mjf-devfs, bouyer-xenamd64
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (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.44 / (download) - annotate - [select for diffs], Sun Jul 22 21:26:53 2007 UTC (12 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.43: +20 -2 lines
Diff to previous 1.43 (colored)

Introduce WILLMAKE for vnode operations which create a new vnode.
Insert a KASSERT along the return path of such operations to check
that the operation set the vnode size.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Nov 30 21:06:29 2006 UTC (12 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base, newlock2-nbase, newlock2-base, 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, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, nick-csl-alignment
Changes since 1.42: +10 -10 lines
Diff to previous 1.42 (colored)

Generate preprocessor macros for vop offsets in vfs op descs.  And
use these symbols in the desc structures instead of magic numbers.
No functional change, except VOP_FOO_DESCOFFSET macros in vnode_if.h.

wrstuden ok

Revision 1.42 / (download) - annotate - [select for diffs], Sun May 14 21:15:12 2006 UTC (13 years, 6 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, 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, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

integrate kauth.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:30 2005 UTC (13 years, 11 months ago) by christos
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, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

merge ktrace-lwp.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Dec 7 00:45:57 2005 UTC (13 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.39: +3 -6 lines
Diff to previous 1.39 (colored)

Generate ANSI function decls.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Dec 7 00:42:03 2005 UTC (13 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.38: +2 -58 lines
Diff to previous 1.38 (colored)

Remove the VNODE_OP_NOINLINE option.  We now NEVER inline vnode ops.
Briefly discussed on tech-kern not too long ago.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Feb 26 22:06:38 2005 UTC (14 years, 8 months ago) by perry
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, 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, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

remove some trailing spaces in generated output when removing $s from $NetBSD$

Revision 1.37 / (download) - annotate - [select for diffs], Sat Feb 26 21:40:45 2005 UTC (14 years, 8 months ago) by perry
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

Change the DO NOT EDIT warning slightly, including the text "DO NOT EDIT".
(It is nice if all files that should not be edited have DO NOT EDIT in them.)

Revision 1.36 / (download) - annotate - [select for diffs], Sat Feb 26 21:34:56 2005 UTC (14 years, 8 months ago) by perry
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

nuke trailing whitespace

Revision 1.35 / (download) - annotate - [select for diffs], Tue Sep 21 03:10:35 2004 UTC (15 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.34: +55 -6 lines
Diff to previous 1.34 (colored)

Add a new VNODE_LOCKDEBUG option, which enables checks in the VOP_*()
calls to ensure that the vnode lock state is as expected when the VOP
call is made.  Modify vnode_if.src to set the expected state according
to the documenting lock table for each VOP.  Modify vnode_if.sh to emit
the checks.

Notes:
- The checks are only performed if the vnode has the VLOCKSWORK bit
  set.  Some file systems (e.g. specfs) don't even bother with vnode
  locks, so of course the checks will fail.
- We can't actually run with VNODE_LOCKDEBUG because there are so many
  vnode locking problems, not the least of which is the "use SHARED for
  VOP_READ()" issue, which screws things up for the entire call chain.

Inspired by similar changes in OpenBSD, but implemented differently.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jan 25 18:02:04 2004 UTC (15 years, 9 months ago) by hannken
Branch: MAIN
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-base, 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-0, netbsd-2
Changes since 1.33: +1 -6 lines
Diff to previous 1.33 (colored)

Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Aug 7 16:32:05 2003 UTC (16 years, 3 months ago) by agc
Branch: MAIN
Changes since 1.32: +2 -6 lines
Diff to previous 1.32 (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.32 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:36 2003 UTC (16 years, 4 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

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

Revision 1.31 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:00 2003 UTC (16 years, 4 months ago) by darrenr
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (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.30 / (download) - annotate - [select for diffs], Mon Nov 12 14:34:24 2001 UTC (18 years ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, 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, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Changes since 1.29: +6 -1 lines
Diff to previous 1.29 (colored)

add RCSID to generated .c file

Revision 1.29 / (download) - annotate - [select for diffs], Mon May 7 08:46:02 2001 UTC (18 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache, kqueue
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

delint: vop_default_desc was declared const but not defined const.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jan 22 09:52:21 2001 UTC (18 years, 10 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.27: +16 -10 lines
Diff to previous 1.27 (colored)

when generating individual *_desc, generate also proper offsets so that
then don't need to be patched at runtime
add new define VNODE_OPS_COUNT (to vnode_if.h) so that the number is known
at compile-time
make stuff const, it now can be

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jan 19 12:22:56 2001 UTC (18 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.26: +7 -7 lines
Diff to previous 1.26 (colored)

Remove over-const-ification.
This structures are actually modified at kernel init time by vfs_op_init.

XXX - looks like the state after initialization is pretty const and with
some magic in the generator script (and appropriate changes to vfs_op_init)
it could be made const.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jan 18 20:28:19 2001 UTC (18 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.25: +8 -8 lines
Diff to previous 1.25 (colored)

constify

Revision 1.25 / (download) - annotate - [select for diffs], Fri Dec 22 20:05:35 2000 UTC (18 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Make that defined(LKM) || defined(_LKM), to catch both the cases
of compiling a kernel with LKM support and compiling an LKM.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Dec 22 20:00:16 2000 UTC (18 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

LKM -> _LKM around opt_ include.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Dec 22 15:09:46 2000 UTC (18 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.22: +5 -3 lines
Diff to previous 1.22 (colored)

redo the previous correctly

Revision 1.22 / (download) - annotate - [select for diffs], Fri Dec 22 14:58:40 2000 UTC (18 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

avoid redefinition of VNODE_OP_NOINLINE

Revision 1.21 / (download) - annotate - [select for diffs], Wed Sep 13 16:09:27 2000 UTC (19 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +18 -1 lines
Diff to previous 1.20 (colored)

If building an LKM, always cause it to use the non-inline version
of the vnode ops, and if LKM support is included in the kernel,
always include the non-inline stubs regardless of whether or not
they're being used in the static kernel iamge.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Sep 13 15:50:26 2000 UTC (19 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +37 -5 lines
Diff to previous 1.19 (colored)

Allow the VOP_*() calls to be un-inlined with the VNODE_OP_NOINLINE
kernel option.  Saves 36k of kernel text on an i386 GENERIC.  Useful
for install media kernels, small memory systems, embedded systems.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jul 7 23:32:50 1999 UTC (20 years, 4 months ago) by wrstuden
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.18: +16 -3 lines
Diff to previous 1.18 (colored)

Update syntax to support WILLUNLOCK and WILLPUT syntax. Change calls which
really vput to indicate that rather than just WILLRELE.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Sep 13 14:44:34 1998 UTC (21 years, 2 months ago) by christos
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, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc-base, chs-ubc
Branch point for: chs-ubc2
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Quote the backquotes in the double-quoted shell string, otherwise they
disappear and you get AS IS'' instead of ``AS IS'' in the generated files.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jul 30 00:46:01 1998 UTC (21 years, 3 months ago) by mycroft
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

__Namespace__ __protection__.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Mar 1 02:22:37 1998 UTC (21 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Merge with Lite2 + local changes

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 9 06:40:43 1998 UTC (21 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +6 -4 lines
Diff to previous 1.14 (colored)

Add RCS IDs to generated files, in correct place.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jan 8 01:06:50 1998 UTC (21 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +3 -5 lines
Diff to previous 1.13 (colored)

Back out RCS ID related changes.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jan 5 19:13:04 1998 UTC (21 years, 10 months ago) by perry
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

fix RCS ids insertion so it really works

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jan 5 18:45:02 1998 UTC (21 years, 10 months ago) by perry
Branch: MAIN
Changes since 1.11: +3 -1 lines
Diff to previous 1.11 (colored)

make script insert RCS ids into generated files

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jul 7 20:17:36 1997 UTC (22 years, 4 months ago) by cgd
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, 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, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

mark prototypes for static inline functions in the generated files as
possibly unused (with __attribute__ ((unused))), to avoid generating
warnings when compiling without optimization but with most ports' default
warning flags.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jan 22 06:51:59 1997 UTC (22 years, 10 months ago) by mikel
Branch: MAIN
CVS Tags: mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi
Changes since 1.9: +6 -2 lines
Diff to previous 1.9 (colored)

add multiple inclusion protection to generated header

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 29 20:58:22 1996 UTC (23 years, 8 months ago) by cgd
Branch: MAIN
CVS Tags: thorpej-setroot, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.8: +17 -12 lines
Diff to previous 1.8 (colored)

Do not build vnode_if.[ch] for each kernel.  Build them once, like the
various syscall sources/headers, and just compile them.  From PR 2142, OK'd
by mycroft.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 10 04:13:52 1995 UTC (24 years, 8 months ago) by chopps
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.7: +18 -1 lines
Diff to previous 1.7 (colored)

add prototypes before each inline

Revision 1.7 / (download) - annotate - [select for diffs], Thu Aug 25 03:04:28 1994 UTC (25 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.6: +9 -9 lines
Diff to previous 1.6 (colored)

gwr's slightly cleaner way to do that last...

Revision 1.6 / (download) - annotate - [select for diffs], Thu Aug 11 21:57:38 1994 UTC (25 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.5: +8 -6 lines
Diff to previous 1.5 (colored)

make output a bit cleaner, to satisfy mckusick.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 15 22:29:22 1994 UTC (25 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

don't use inline, use __inline, like cdefs intends (so it can kill it if nongcc

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 29 06:34:06 1994 UTC (25 years, 4 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 15 18:13:31 1994 UTC (25 years, 5 months ago) by gwr
Branch: MAIN
Changes since 1.2: +1 -4 lines
Diff to previous 1.2 (colored)

Get rid if 'set -f' (at Adam's request).  It is unnecessary,
and not supported by sh on some systems (i.e. Ultrix).

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 15 15:49:03 1994 UTC (25 years, 5 months ago) by gwr
Branch: MAIN
Changes since 1.1: +274 -376 lines
Diff to previous 1.1 (colored)

No longer requires GNU awk (plain "nawk" is OK).
New AWK parser is simpler and makes better use of arrays.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 8 11:29:01 1994 UTC (25 years, 5 months ago) by mycroft
Branch: MAIN

Update to 4.4-Lite fs code.

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>