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


Keyword substitution: kv
Default branch: MAIN


Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Oct 26 23:39:43 2022 UTC (4 years ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, netbsd-10-base, netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -3 lines
miscfs/deadfs/deadfs.h: New home for deadfs-related externs.

XXX regen sys/kern/vnode_if.c and the others

Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Jul 18 04:30:30 2022 UTC (4 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3 lines
Make kqueue event status for vnodes shareable, and for stacked file systems
like nullfs, make the upper vnode share that status with the lower vnode.

And, lo, NetBSD 9.99.99.

Fixes PR kern/56713.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Tue May 3 13:54:18 2022 UTC (4 years, 6 months ago) by hannken
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +7 -1 lines
Really depend the lockdebug checks on option VNODE_LOCKDEBUG -- were
enabled by accident.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue May 3 08:33:59 2022 UTC (4 years, 6 months ago) by hannken
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +51 -30 lines
Make option VNODE_LOCKDEBUG more functional.

- Add "LOCKED=EXCL" option for vnode operations needing exclusive locked nodes.

- As it is impossible to check for shared locks held by current thread avoid
  false assertions by testing for exclusive lock only in the "LOCKED=NO" case.

- New option "RUMP_VNODE_LOCKDEBUG" enables VNODE_LOCKDEBUG for the rump kernel.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat Mar 19 13:53:32 2022 UTC (4 years, 7 months ago) by hannken
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3 lines
Remove now unused VV_LOCKSWORK, all file systems support locking.

Remove unused predicates vn_locked() and vn_anylocked().

Welcome to 9.99.95

Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Oct 20 03:08:18 2021 UTC (5 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +275 -35 lines
Overhaul of the EVFILT_VNODE kevent(2) filter:

- Centralize vnode kevent handling in the VOP_*() wrappers, rather than
  forcing each individual file system to deal with it (except VOP_RENAME(),
  because VOP_RENAME() is a mess and we currently have 2 different ways
  of handling it; at least it's reasonably well-centralized in the "new"
  way).
- Add support for NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE, and NOTE_READ,
  compatible with the same events in FreeBSD.
- Track which kevent notifications clients are interested in receiving
  to avoid doing work for events no one cares about (avoiding, e.g.
  taking locks and traversing the klist to send a NOTE_WRITE when
  someone is merely watching for a file to be deleted, for example).

In support of the above:

- Add support in vnode_if.sh for specifying PRE- and POST-op handlers,
  to be invoked before and after vop_pre() and vop_post(), respectively.
  Basic idea from FreeBSD, but implemented differently.
- Add support in vnode_if.sh for specifying CONTEXT fields in the
  vop_*_args structures.  These context fields are used to convey information
  between the file system VOP function and the VOP wrapper, but do not
  occupy an argument slot in the VOP_*() call itself.  These context fields
  are initialized and subsequently interpreted by PRE- and POST-op handlers.
- Version VOP_REMOVE(), uses the a context field for the file system to report
  back the resulting link count of the target vnode.  Return this in tmpfs,
  udf, nfs, chfs, ext2fs, lfs, and ufs.

NetBSD 9.99.92.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Aug 12 19:15:15 2021 UTC (5 years, 3 months ago) by andvar
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -2 lines
s/beween/between/

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat May 16 18:31:50 2020 UTC (6 years, 6 months ago) by christos
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -1 lines
Add ACL support for FFS. From FreeBSD.

Revision 1.66.6.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:04 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.66.6.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.6.1: +5 -3 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.66.6.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:52 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3 lines
Merge changes from current as of 20200406

Revision 1.68.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:03 2020 UTC (6 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.68.2.1: preferred, colored; branchpoint 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68.2.1: +1 -1 lines
Sync with head.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Feb 23 22:14:04 2020 UTC (6 years, 8 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -2 lines
Merge from ad-namecache:

- Have a stab at clustering the members of vnode_t and vnode_impl_t in a
  more cache-conscious way.  With that done, go back to adjusting v_usecount
  with atomics and keep vi_lock directly in vnode_impl_t (saves KVA).

- Allow VOP_LOCK(LK_NONE) for the benefit of VFS_VGET() and VFS_ROOT().
  Make sure LK_UPGRADE always comes with LK_NOWAIT.

- Make cwdinfo use mostly lockless.

Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 18 17:12:59 2020 UTC (6 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -2 lines
Allow VOP_LOCK(LK_NONE).

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Dec 1 13:56:29 2019 UTC (6 years, 11 months ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3 lines
Minor vnode locking changes:

- Stop using atomics to maniupulate v_usecount.  It was a mistake to begin
  with.  It doesn't work as intended unless the XLOCK bit is incorporated in
  v_usecount and we don't have that any more.  When I introduced this 10+
  years ago it was to reduce pressure on v_interlock but it doesn't do that,
  it just makes stuff disappear from lockstat output and introduces problems
  elsewhere.  We could do atomic usecounts on vnodes but there has to be a
  well thought out scheme.

- Resurrect LK_UPGRADE/LK_DOWNGRADE which will be needed to work effectively
  when there is increased use of shared locks on vnodes.

- Allocate the vnode lock using rw_obj_alloc() to reduce false sharing of
  struct vnode.

- Put all of the LRU lists into a single cache line, and do not requeue a
  vnode if it's already on the correct list and was requeued recently (less
  than a second ago).

Kernel build before and after:

119.63s real  1453.16s user  2742.57s system
115.29s real  1401.52s user  2690.94s system

Revision 1.66.10.1: download - view: text, markup, annotated - select for diffs
Tue Oct 15 18:12:25 2019 UTC (7 years, 1 month ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +6 -4 lines
Pull up following revision(s) (requested by hannken in ticket #307):

	sys/kern/vnode_if.sh: revision 1.67
	sys/kern/vnode_if.src: revision 1.78

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.64.4.2: download - view: text, markup, annotated - select for diffs
Mon Oct 14 17:43:58 2019 UTC (7 years, 1 month ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE
Diff to: previous 1.64.4.1: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.4.1: +6 -4 lines
Pull up following revision(s) (requested by hannken in ticket #1405):

	sys/kern/vnode_if.sh: revision 1.67
	sys/kern/vnode_if.src: revision 1.78

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.67: download - view: text, markup, annotated - select for diffs
Fri Oct 11 08:04:52 2019 UTC (7 years, 1 month ago) by hannken
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +6 -4 lines
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.58.12.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:45 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.58.12.1: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.12.1: +87 -12 lines
update from HEAD

Revision 1.60.6.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:08 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.60.6.1: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.6.1: +87 -12 lines
Sync with HEAD

Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Sun Jun 4 20:35:01 2017 UTC (9 years, 5 months ago) by bouyer
Branches: netbsd-8
CVS tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +82 -18 lines
pullup the following revisions, requested by hannken in ticket #2:
	src/share/man/man9/fstrans.9			1.25
	src/sys/kern/vfs_mount.c			1.66
	src/sys/kern/vfs_subr.c				1.468
	src/sys/kern/vfs_trans.c			1.46
	src/sys/kern/vfs_vnode.c			1.94, 1.95, 1.96
	src/sys/kern/vnode_if.c				1.105, 1.106
	src/sys/kern/vnode_if.sh			1.65, 1.66
	src/sys/kern/vnode_if.src			1.76
	src/sys/miscfs/genfs/genfs_io.c			1.69
	src/sys/miscfs/genfs/genfs_vnops.c		1.196, 1.197
	src/sys/miscfs/genfs/layer_extern.h		1.40
	src/sys/miscfs/genfs/layer_vfsops.c		1.51
	src/sys/miscfs/genfs/layer_vnops.c		1.67
	src/sys/miscfs/nullfs/null_vnops.c		1.42
	src/sys/miscfs/overlay/overlay_vnops.c		1.24
	src/sys/miscfs/umapfs/umap_vnops.c		1.60
	src/sys/rump/include/rump/rumpvnode_if.h	1.29, 1.30
	src/sys/rump/librump/rumpkern/emul.c		1.182
	src/sys/rump/librump/rumpvfs/rumpvnode_if.c	1.29, 1.30
	src/sys/sys/fstrans.h				1.11
	src/sys/sys/vnode.h				1.278
	src/sys/sys/vnode_if.h				1.100, 1.101
	src/sys/sys/vnode_impl.h			1.14, 1.15
	src/sys/ufs/lfs/lfs_pages.c			1.12

Vnode state, lock and fstrans cleanup:
- Rename vnode state "VS_ACTIVE" to "VS_LOADED" and add synthetic
  state "VS_ACTIVE" to assert a loaded vnode with usecount > 0.

- Redo FSTRANS in vnode_if.c and use it for VOP_LOCK and VOP_UNLOCK.

- Cleanup the genfs lock operations.

- Make "struct vnode_impl" member "vi_lock" a krwlock_t again.

- Remove the lock type argument from fstrans_start and
  fstrans_start_nowait,
  remove now unused FSTRANS state "FSTRANS_SUSPENDING".

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Jun 4 08:03:26 2017 UTC (9 years, 5 months ago) by hannken
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20190609, 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: phil-wifi, netbsd-9
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 4 07:59:17 2017 UTC (9 years, 5 months ago) by hannken
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +82 -18 lines
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.61.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:27 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.61.2.1: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.2.1: +4 -9 lines
Sync with HEAD

Revision 1.61.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:03 2017 UTC (9 years, 6 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +20 -9 lines
Sync with HEAD

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Apr 16 17:18:28 2017 UTC (9 years, 7 months ago) by riastradh
Branches: 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
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 11 14:29:32 2017 UTC (9 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -8 lines
Eliminate now-unused WILLUNLOCK vop flag.

Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:48 2017 UTC (9 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +17 -1 lines
Sync with HEAD

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Feb 22 09:45:51 2017 UTC (9 years, 8 months ago) by hannken
Branches: MAIN
CVS tags: pgoyette-localcount-20170320, jdolecek-ncq-base, jdolecek-ncq
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +17 -1 lines
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.60.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:31 2016 UTC (10 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2 lines
Sync with HEAD

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Jan 26 23:28:06 2016 UTC (10 years, 9 months ago) by pooka
Branches: 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
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2 lines
"rump_private.h" -> <rump-sys/kern.h>

Revision 1.58.12.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:29 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +14 -5 lines
Rebase to HEAD as of a few days ago.

Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:04 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +14 -5 lines
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.58.16.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:08 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.58.16.1: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.16.1: +12 -5 lines
sync with head

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Jan 13 12:07:55 2014 UTC (12 years, 10 months ago) by hannken
Branches: 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
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +12 -5 lines
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.58.16.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:35 2013 UTC (13 years, 2 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -1 lines
sync with head

Revision 1.58.24.1: download - view: text, markup, annotated - select for diffs
Tue Jul 23 21:07:36 2013 UTC (13 years, 3 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +3 -1 lines
sync with HEAD

Revision 1.59: download - view: text, markup, annotated - select for diffs
Wed Jul 17 21:20:53 2013 UTC (13 years, 4 months ago) by pooka
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 11 08:23:00 2011 UTC (15 years, 4 months ago) by hannken
Branches: 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
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -29 lines
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.56.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:09:42 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +2 -6 lines
Sync with HEAD.

Revision 1.53.4.2: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:42:12 2011 UTC (15 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.53.4.1: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.4.1: +2 -6 lines
sync with head

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Apr 3 01:19:37 2011 UTC (15 years, 7 months ago) by rmind
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -6 lines
- 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.48.10.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:45 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.48.10.2: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.10.2: +81 -41 lines
sync with head.

Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:59 2010 UTC (16 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +81 -41 lines
sync with head

Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:44:14 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +81 -41 lines
Sync with HEAD.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Apr 14 13:58:51 2010 UTC (16 years, 7 months ago) by pooka
Branches: 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
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +78 -31 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 14 12:19:50 2010 UTC (16 years, 7 months ago) by pooka
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +5 -10 lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 10 19:41:54 2010 UTC (16 years, 7 months ago) by pooka
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -4 lines
"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.48.10.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:21 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.48.10.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.10.1: +28 -17 lines
sync with head

Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Oct 15 00:29:40 2009 UTC (17 years, 1 month ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +7 -2 lines
Generate scheduling points around rump vnode operations.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Sep 29 11:51:02 2009 UTC (17 years, 1 month ago) by pooka
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +22 -16 lines
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.48.10.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:50 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +58 -29 lines
sync with head.

Revision 1.49.6.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:19:40 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +57 -27 lines
Sync with HEAD.

Revision 1.48.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:21 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.48.6.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.6.1: +56 -26 lines
Sync with HEAD.

Revision 1.49.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:10 2008 UTC (17 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +57 -27 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Nov 19 14:10:49 2008 UTC (18 years ago) by pooka
Branches: 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
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 17 08:46:03 2008 UTC (18 years ago) by pooka
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +57 -27 lines
Make this generate the rump vnode interface files.

Revision 1.48.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:52 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +2 -3 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.48.8.1: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:40 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +2 -3 lines
sync with head

Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:15 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -3 lines
Sync with HEAD.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon May 19 17:06:02 2008 UTC (18 years, 6 months ago) by ad
Branches: 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
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -3 lines
Reduce ifdefs due to MULTIPROCESSOR slightly.

Revision 1.45.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:48 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.45.4.2: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.4.2: +3 -1 lines
Sync with HEAD.

Revision 1.38.4.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:46:35 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.38.4.6: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.4.6: +3 -1 lines
sync with head

Revision 1.44.6.3: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:56:33 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.44.6.2: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.6.2: +3 -4 lines
sync with HEAD

Revision 1.47.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:56:27 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +3 -1 lines
Sync with HEAD

Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Jan 2 11:48:57 2008 UTC (18 years, 10 months ago) by ad
Branches: 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
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -1 lines
Merge vmlocking2 to head.

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Fri Dec 28 21:43:10 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +3 -1 lines
Make rump build.

Revision 1.45.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:20:46 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.45.4.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.4.1: +1 -4 lines
Sync with HEAD.

Revision 1.38.4.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:33:27 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.38.4.5: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.4.5: +1 -4 lines
sync with head

Revision 1.44.4.3: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:38:21 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.44.4.2: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.4.2: +1 -4 lines
Sync with HEAD. amd64 Xen support needs testing.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Nov 26 19:02:11 2007 UTC (18 years, 11 months ago) by pooka
Branches: 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
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +1 -4 lines
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.45.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:49:00 2007 UTC (19 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +11 -11 lines
Sync with HEAD.

Revision 1.38.4.5: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:44:58 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.38.4.4: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.4.4: +11 -11 lines
sync with head.

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:02:42 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +11 -11 lines
Sync with HEAD

Revision 1.44.4.2: download - view: text, markup, annotated - select for diffs
Sun Nov 11 16:48:20 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.44.4.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.4.1: +11 -11 lines
Sync with HEAD.

Revision 1.44.6.2: download - view: text, markup, annotated - select for diffs
Thu Nov 8 11:00:11 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.44.6.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.6.1: +11 -11 lines
sync with -HEAD

Revision 1.44.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:32:53 2007 UTC (19 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
sync with HEAD

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Nov 6 21:59:43 2007 UTC (19 years ago) by ad
Branches: MAIN
CVS tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +11 -11 lines
Merge from vmlocking.

Revision 1.38.4.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:35:43 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.38.4.3: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.4.3: +2 -2 lines
sync with head.

Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:48:49 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
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.44.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:48:52 2007 UTC (19 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +2 -2 lines
sync with head.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Oct 10 20:42:28 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base, jmcneill-base
Branch point for: mjf-devfs, bouyer-xenamd64
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
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.38.4.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:41:25 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.38.4.2: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.4.2: +20 -2 lines
sync with head.

Revision 1.43.8.4: download - view: text, markup, annotated - select for diffs
Tue Aug 21 18:05:42 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.43.8.3: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.8.3: +5 -4 lines
Add a per-mount flag that specifies whether the underlying file system code
is MP safe, and populate a per-vnode flag from this at vnode creation time.
If the file system is MP safe, do not acquire kernel_lock in the VOP wrappers.

Revision 1.43.8.3: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:27:46 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.43.8.2: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.2: +17 -1 lines
Sync with HEAD.

Revision 1.43.18.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:49:26 2007 UTC (19 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +20 -2 lines
Sync with HEAD.

Revision 1.44.10.2: download - view: text, markup, annotated - select for diffs
Sun Jul 22 21:26:54 2007 UTC (19 years, 3 months ago) by pooka
Branches: matt-mips64
Diff to: previous 1.44.10.1: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.10.1: +435 -0 lines
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.44.10.1
Sun Jul 22 21:26:53 2007 UTC (19 years, 3 months ago) by pooka
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.44: +0 -435 lines
file vnode_if.sh was added on branch matt-mips64 on 2007-07-22 21:26:54 +0000

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Jul 22 21:26:53 2007 UTC (19 years, 3 months ago) by pooka
Branches: 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
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +20 -2 lines
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.8.2: download - view: text, markup, annotated - select for diffs
Sun Jun 17 21:31:36 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.43.8.1: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.1: +2 -2 lines
- 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.43.8.1: download - view: text, markup, annotated - select for diffs
Wed Mar 21 20:09:39 2007 UTC (19 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +9 -8 lines
Acquire the kernel lock in the VOP_* wrappers and the socket ops.

Revision 1.42.8.1: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:08 2007 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +10 -10 lines
Sync with head.

Revision 1.38.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:07 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.38.4.1: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.4.1: +10 -10 lines
sync with head.

Revision 1.42.10.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:46 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +10 -10 lines
sync with head.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Nov 30 21:06:29 2006 UTC (19 years, 11 months ago) by pooka
Branches: 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
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +10 -10 lines
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.41.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:57:17 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +2 -2 lines
sync with head

Revision 1.38.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:09:39 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +7 -66 lines
sync with head.

Revision 1.41.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:38:11 2006 UTC (20 years, 5 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +2 -2 lines
Sync with head.

Revision 1.41.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:42 2006 UTC (20 years, 5 months ago) by tron
Branches: peter-altq
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +2 -2 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.41.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:58:42 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +2 -2 lines
sync with head.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun May 14 21:15:12 2006 UTC (20 years, 6 months ago) by elad
Branches: 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
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
integrate kauth.

Revision 1.41.10.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 00:53:41 2006 UTC (20 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +2 -2 lines
Adapt to kernel authorization KPI.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:24:30 2005 UTC (20 years, 11 months ago) by christos
Branches: 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
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
merge ktrace-lwp.

Revision 1.32.2.7: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:29:12 2005 UTC (20 years, 11 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.32.2.6: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.2.6: +4 -63 lines
Sync with head.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Dec 7 00:45:57 2005 UTC (20 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: ktrace-lwp-base
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -6 lines
Generate ANSI function decls.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Dec 7 00:42:03 2005 UTC (20 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -58 lines
Remove the VNODE_OP_NOINLINE option.  We now NEVER inline vnode ops.
Briefly discussed on tech-kern not too long ago.

Revision 1.35.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:25 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +5 -5 lines
sync with -current

Revision 1.35.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:12 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +5 -5 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.32.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:52:03 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.5: preferred, colored
Changes since revision 1.32.2.5: +5 -5 lines
Sync with HEAD.

Hi Perry!

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Feb 26 22:06:38 2005 UTC (21 years, 8 months ago) by perry
Branches: 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
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 lines
remove some trailing spaces in generated output when removing $s from $NetBSD$

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Feb 26 21:40:45 2005 UTC (21 years, 8 months ago) by perry
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 26 21:34:56 2005 UTC (21 years, 8 months ago) by perry
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
nuke trailing whitespace

Revision 1.32.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 24 10:53:43 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.4: preferred, colored
Changes since revision 1.32.2.4: +55 -6 lines
Sync with HEAD.

Revision 1.32.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:35:19 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.3: preferred, colored
Changes since revision 1.32.2.3: +3 -3 lines
Fix the sync with head I botched.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Sep 21 03:10:35 2004 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +55 -6 lines
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.32.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:53:04 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.2: preferred, colored
Changes since revision 1.32.2.2: +3 -3 lines
Sync with HEAD.

Revision 1.32.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:53:04 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.1: preferred, colored
Changes since revision 1.32.2.1: +2 -11 lines
Sync with HEAD

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Jan 25 18:02:04 2004 UTC (22 years, 9 months ago) by hannken
Branches: 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
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -6 lines
Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:32:05 2003 UTC (23 years, 3 months ago) by agc
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -6 lines
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.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:26:48 2003 UTC (23 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
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.32: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:31:36 2003 UTC (23 years, 4 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 28 14:22:00 2003 UTC (23 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
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.29.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:00:24 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +6 -1 lines
Sync kqueue branch with -current.

Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:16:50 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.28.2.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.1: +6 -1 lines
Catch up to -current.

Revision 1.29.6.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:19:03 2001 UTC (25 years ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +6 -1 lines
Sync the thorpej-mips-cache branch with -current.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Nov 12 14:34:24 2001 UTC (25 years ago) by lukem
Branches: 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
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +6 -1 lines
add RCSID to generated .c file

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:07:14 2001 UTC (25 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
Catch up to -current.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon May 7 08:46:02 2001 UTC (25 years, 6 months ago) by lukem
Branches: 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
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
delint: vop_default_desc was declared const but not defined const.

Revision 1.19.2.3: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:16:52 2001 UTC (25 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.19.2.2: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.2: +17 -11 lines
Sync with HEAD.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Jan 22 09:52:21 2001 UTC (25 years, 9 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +16 -10 lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 19 12:22:56 2001 UTC (25 years, 10 months ago) by martin
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +7 -7 lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 18 20:28:19 2001 UTC (25 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +8 -8 lines
constify

Revision 1.19.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:36:42 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.19.2.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.1: +4 -2 lines
Sync with HEAD

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Dec 22 20:05:35 2000 UTC (25 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Dec 22 20:00:16 2000 UTC (25 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
LKM -> _LKM around opt_ include.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Dec 22 15:09:46 2000 UTC (25 years, 11 months ago) by mrg
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -3 lines
redo the previous correctly

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Dec 22 14:58:40 2000 UTC (25 years, 11 months ago) by mrg
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
avoid redefinition of VNODE_OP_NOINLINE

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:09:18 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +54 -5 lines
Update thorpej_scsipi to -current as of a month ago

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Sep 13 16:09:27 2000 UTC (26 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +18 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Sep 13 15:50:26 2000 UTC (26 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +37 -5 lines
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.18.8.1: download - view: text, markup, annotated - select for diffs
Mon Aug 2 22:19:16 1999 UTC (27 years, 3 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +16 -3 lines
Update from trunk.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jul 7 23:32:50 1999 UTC (27 years, 4 months ago) by wrstuden
Branches: 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
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +16 -3 lines
Update syntax to support WILLUNLOCK and WILLPUT syntax. Change calls which
really vput to indicate that rather than just WILLRELE.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Sep 13 14:44:34 1998 UTC (28 years, 2 months ago) by christos
Branches: 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
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
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.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 30 00:46:02 1998 UTC (28 years, 3 months ago) by mycroft
Branches: eeh-paddr_t
Diff to: previous 1.17.2.1: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.2.1: +361 -0 lines
__Namespace__ __protection__.

Revision 1.17.2.1
Thu Jul 30 00:46:01 1998 UTC (28 years, 3 months ago) by mycroft
Branches: eeh-paddr_t
FILE REMOVED
Changes since revision 1.17: +0 -361 lines
file vnode_if.sh was added on branch eeh-paddr_t on 1998-07-30 00:46:02 +0000

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Jul 30 00:46:01 1998 UTC (28 years, 3 months ago) by mycroft
Branches: MAIN
CVS tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
__Namespace__ __protection__.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:22:37 1998 UTC (28 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Merge with Lite2 + local changes

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:13:09 1998 UTC (28 years, 8 months ago) by fvdl
Branches: netbsd, CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +259 -348 lines
Import 4.4BSD-Lite2

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:09:56 1998 UTC (28 years, 8 months ago) by fvdl
Branches: netbsd, CSRG
CVS tags: lite-1, date-03-may-96
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -2 lines
Import 4.4BSD-Lite for reference

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Jan 9 06:40:43 1998 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -4 lines
Add RCS IDs to generated files, in correct place.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jan 8 01:06:50 1998 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -5 lines
Back out RCS ID related changes.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Jan 5 19:13:04 1998 UTC (28 years, 10 months ago) by perry
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4 lines
fix RCS ids insertion so it really works

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jan 5 18:45:02 1998 UTC (28 years, 10 months ago) by perry
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -1 lines
make script insert RCS ids into generated files

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jul 7 20:17:36 1997 UTC (29 years, 4 months ago) by cgd
Branches: 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
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 22 06:51:59 1997 UTC (29 years, 10 months ago) by mikel
Branches: MAIN
CVS tags: mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -2 lines
add multiple inclusion protection to generated header

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Feb 29 20:58:22 1996 UTC (30 years, 8 months ago) by cgd
Branches: MAIN
CVS tags: thorpej-setroot, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +17 -12 lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 10 04:13:52 1995 UTC (31 years, 8 months ago) by chopps
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +18 -1 lines
add prototypes before each inline

Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 29 02:50:59 1994 UTC (32 years, 2 months ago) by mycroft
Branches: netbsd-1-0
CVS tags: 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
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.2: +10 -10 lines
update from trunk

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Aug 25 03:04:28 1994 UTC (32 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +9 -9 lines
gwr's slightly cleaner way to do that last...

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 11 23:34:08 1994 UTC (32 years, 3 months ago) by mycroft
Branches: netbsd-1-0
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +8 -6 lines
update from trunk

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Aug 11 21:57:38 1994 UTC (32 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +8 -6 lines
make output a bit cleaner, to satisfy mckusick.

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Fri Jul 15 22:32:01 1994 UTC (32 years, 4 months ago) by cgd
Branches: netbsd-1-0
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
updates from trunk.  basically, C language errors.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jul 15 22:29:22 1994 UTC (32 years, 4 months ago) by cgd
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
don't use inline, use __inline, like cdefs intends (so it can kill it if nongcc

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:34:06 1994 UTC (32 years, 4 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -1 lines
New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jun 15 18:13:31 1994 UTC (32 years, 5 months ago) by gwr
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 15 15:49:03 1994 UTC (32 years, 5 months ago) by gwr
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +274 -376 lines
No longer requires GNU awk (plain "nawk" is OK).
New AWK parser is simpler and makes better use of arrays.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jun 8 11:29:01 1994 UTC (32 years, 5 months ago) by mycroft
Branches: MAIN
Update to 4.4-Lite fs code.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>