The NetBSD Project

CVS log for src/sys/fs/cd9660/cd9660_vnops.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Feb 2 20:27:26 2024 UTC (13 months, 2 weeks ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +22 -7 lines
PR/57897: Ricardo Branco: Add support for mount options mask,dirmask,uid,gid

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Mar 27 17:10:55 2022 UTC (2 years, 11 months ago) by christos
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -32 lines
dedup the eofs link/symlink methods

Revision 1.58.6.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:36 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +22 -86 lines
Sync with HEAD.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Jul 19 01:30:24 2021 UTC (3 years, 8 months ago) by dholland
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +19 -34 lines
Abolish all the silly indirection macros for initializing vnode ops tables.

These are things of the form #define foofs_op genfs_op, or #define
foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides
obfuscation, and have gotten cutpasted all over everywhere.

Part 2; cvs randomly didn't commit these changes before, and then hid
them from me until I touched the files to force it to rethink. Dunno
what happened.

There's probably more of these, going to have to scan the tree the
hard way.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Jul 18 23:56:13 2021 UTC (3 years, 8 months ago) by dholland
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -56 lines
Use macros for the canned parts of device and fifo vnode op tables.

Add GENFS_SPECOP_ENTRIES and GENFS_FIFOOP_ENTRIES macros that contain
the portion of the vnode ops table declaration that is
(conservatively) the same in every fs. Use these in every fs that
supports devices and/or fifos with separate ops tables.

Note that ptyfs works differently (it has one type of vnode with
open-coded dispatch to the specfs code, which I haven't changed in
this commit) and rump/librump/rumpvfs/rumpfs.c has an indirect dynamic
dispatch that already does more or less the same thing, which I also
haven't changed.

Also note that this anticipates a few bits in the next changeset here
and there, and adds missing but unreachable calls in some cases (e.g.
most fses weren't defining whiteout on devices and fifos, but it isn't
reachable there), and it changes parsepath on devices and fifos to
genfs_badop from genfs_parsepath (but it's not reachable there
either).

It appears that devices in kernfs were missing kqfilter, so it's
possible that if you try to use kqueue on /kern/rootdev that it'll
explode.

And finally note that the ops declaration tables aren't
order-dependent. (Other than vop_default_desc has to come first.)
Otherwise this wouldn't work.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Jun 29 22:34:06 2021 UTC (3 years, 8 months ago) by dholland
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +5 -2 lines
- Add a new vnode op: VOP_PARSEPATH.
 - Move namei_getcomponent to genfs_vnops.c and call it genfs_parsepath.
 - Add a parsepath entry to every vnode ops table.

VOP_PARSEPATH takes a directory vnode to be searched and a complete
following path and chooses how much of that path to consume. To begin
with, all parsepath calls are genfs_parsepath, which locates the first
'/' as always.

Note that the call doesn't take the whole struct componentname, only
the string. The other bits of struct componentname should not be
needed and there's no reason to cause potential complications by
exposing them.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Jun 27 17:29:17 2020 UTC (4 years, 8 months ago) by christos
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3 lines
Introduce genfs_pathconf() and use it for the default case in all filesystems.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat May 16 18:31:48 2020 UTC (4 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +14 -11 lines
Add ACL support for FFS. From FreeBSD.

Revision 1.55.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 25 11:24:04 2020 UTC (4 years, 10 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +3 -3 lines
Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Apr 23 21:47:07 2020 UTC (4 years, 11 months ago) by ad
Branches: MAIN
CVS tags: bouyer-xenpvh-base2
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3 lines
PR kern/54759 (vm.ubc_direct deadlock when read()/write() into mapping of itself)

- Add new flag UBC_ISMAPPED which tells ubc_uiomove() the object is mmap()ed
  somewhere.  Use it to decide whether to do direct-mapped copy, rather than
  poking around directly in the vnode in ubc_uiomove(), which is ugly and
  doesn't work for tmpfs.  It would be nicer to contain all this in UVM but
  the filesystem provides the needed locking here (VV_MAPPED) and to
  reinvent that would suck more.

- Rename UBC_UNMAP_FLAG() to UBC_VNODE_FLAGS().  Pass in UBC_ISMAPPED where
  appropriate.

Revision 1.54.18.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:02 2020 UTC (4 years, 11 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +3 -3 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.54.10.1: download - view: text, markup, annotated - select for diffs
Sun Aug 4 11:16:26 2019 UTC (5 years, 7 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +3 -3 lines
Pull up following revision(s) (requested by maxv in ticket #1322):

	sys/fs/cd9660/cd9660_vnops.c: revision 1.55

Fix info leak: zero out the buffer, because it is not entirely filled, and
the uninitialized bytes get copied to userland in sys___getdens30(). Remove
unneeded cast while here.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Jul 12 17:18:30 2019 UTC (5 years, 8 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, 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, netbsd-9, is-mlppp-base, is-mlppp, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -3 lines
Fix info leak: zero out the buffer, because it is not entirely filled, and
the uninitialized bytes get copied to userland in sys___getdens30(). Remove
unneeded cast while here.

Revision 1.41.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:41 2017 UTC (7 years, 3 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.41.2.3: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.3: +6 -6 lines
update from HEAD

Revision 1.49.4.3: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:31 2016 UTC (9 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.49.4.2: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.4.2: +4 -3 lines
Sync with HEAD

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Mar 12 02:36:25 2016 UTC (9 years ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, 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, netbsd-8-base, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, netbsd-8
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -3 lines
PR/50951: Unmess this up.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Mar 11 18:35:50 2016 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3 lines
PR/50951: David Binderman: Fix misplaced parens

Revision 1.49.4.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:21 2015 UTC (9 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.49.4.1: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.4.1: +3 -4 lines
Sync with HEAD

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Apr 20 23:03:07 2015 UTC (9 years, 11 months ago) by riastradh
Branches: MAIN
CVS tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -4 lines
Make VOP_LINK return directory still locked and referenced.

Ride 7.99.10 bump.

Revision 1.49.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:18 2015 UTC (9 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +5 -5 lines
Sync with HEAD

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Mar 28 19:24:05 2015 UTC (9 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -4 lines
Remove the 'cred' argument from bread(). Remove a now unused var in
ffs_snapshot.c. Update the man page accordingly.

ok hannken@

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Mar 28 17:23:42 2015 UTC (9 years, 11 months ago) by maxv
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3 lines
Remove the 'cred' argument from breadn(), and update the man page
accordingly.

ok hannken@

Revision 1.41.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:26 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.41.2.2: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.2: +10 -5 lines
Rebase to HEAD as of a few days ago.

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:55:53 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +9 -3 lines
Rebase.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:20:51 2014 UTC (10 years, 8 months ago) by dholland
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, 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.48: preferred, colored
Changes since revision 1.48: +8 -2 lines
Add VOP_FALLOCATE and VOP_FDISCARD to every vnode ops table I can
find.

The filesystem ones all call genfs_eopnotsupp - right now I am only
implementing the plumbing and we can implement fallocate and/or
fdiscard for files later.

The device ones call spec_fallocate (which is also genfs_eopnotsupp)
and spec_fdiscard, which dispatches to the device-level op.

The fifo ones all call vn_fifo_bypass, which also ends up being
EOPNOTSUPP.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Jun 14 07:39:29 2014 UTC (10 years, 9 months ago) by hannken
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
Remove the hints "isodir" and "relocated" from cd9660_vget_internal()
and always reread the directory entry by inumber.  For directories
the directory entry is always its "." entry.

Always read directories via the device vnode to prevent buffer cache
inconsistency.  Keep i_devvp as a hint for fstat(1) and friends and
always use im_devvp for reads.  No need to vref()/vrele() i_devvp.

The additional bread is either cached because cd9660_lookup() just
released the buffer or will be used in the near future when the
directory gets traversed during lookup.

No objections on tech-kern@

Revision 1.40.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:00 2014 UTC (10 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.40.2.2: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.2: +9 -10 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.45.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:04 2014 UTC (10 years, 10 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +3 -4 lines
sync with head

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Jan 23 10:13:56 2014 UTC (11 years, 2 months ago) by hannken
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
Change vnode operations create, mknod, mkdir and symlink to return
the resulting vnode *vpp unlocked.

Discussed on tech-kern@

Welcome to 6.99.30

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Jan 17 10:55:01 2014 UTC (11 years, 2 months ago) by hannken
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -4 lines
Change vnode operations create, mknod, mkdir and symlink to keep the
directory node dvp locked on return.

Discussed on tech-kern@

Welcome to 6.99.29

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Jun 23 07:28:36 2013 UTC (11 years, 9 months ago) by dholland
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -4 lines
Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of
the following symbols so as to disambiguate fully. (Christos already
did the lfs ones.)

   lblkno
   lblktosize
   lfragtosize
   numfrags
   blkroundup
   fragroundup

Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:18:27 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.41.2.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.1: +6 -6 lines
resync from head

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Jun 19 18:16:53 2013 UTC (11 years, 9 months ago) by dholland
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -5 lines
blkoff() -> cd9660_blkoff()
blksize() -> cd9660_blksize()

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Mar 18 19:35:35 2013 UTC (12 years ago) by plunky
Branches: MAIN
CVS tags: khorben-n900, agc-symver-base, agc-symver
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
C99 section 6.7.2.3 (Tags) Note 3 states that:

  A type specifier of the form

	enum identifier

  without an enumerator list shall only appear after the type it
  specifies is complete.

which means that we cannot pass an "enum vtype" argument to
kauth_access_action() without fully specifying the type first.
Unfortunately there is a complicated include file loop which
makes that difficult, so convert this minimal function into a
macro (and capitalize it).

(ok elad@)

Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:46 2013 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -5 lines
resync with head

Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:18 2013 UTC (12 years, 2 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.40.2.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.1: +3 -5 lines
sync with head

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Dec 20 08:03:42 2012 UTC (12 years, 3 months ago) by hannken
Branches: MAIN
CVS tags: yamt-pagecache-base8
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -5 lines
Change bread() and breadn() to never return a buffer on
error and modify all callers to not brelse() on error.

Welcome to 6.99.16

PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:18 2012 UTC (12 years, 11 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -4 lines
sync with head

Revision 1.40.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 5 21:33:35 2012 UTC (12 years, 11 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +6 -4 lines
sync to latest -current.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Mar 13 18:40:36 2012 UTC (13 years ago) by elad
Branches: MAIN
CVS tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -4 lines
Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

    http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
    http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
    http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Sep 27 01:27:44 2011 UTC (13 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
use ISO_MAXNAMLEN instead of NAME_MAX

Revision 1.33.4.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:32 2010 UTC (14 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.33.4.2: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.4.2: +30 -30 lines
sync with head.

Revision 1.38.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:55 2010 UTC (14 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +30 -30 lines
sync with head

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:44:05 2010 UTC (14 years, 10 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +30 -30 lines
Sync with HEAD.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Mar 29 13:11:32 2010 UTC (14 years, 11 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, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +30 -30 lines
Stop exposing fifofs internals and leave only fifo_vnodeop_p visible.

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:32:31 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +41 -19 lines
Sync with HEAD.

Revision 1.33.4.2: download - view: text, markup, annotated - select for diffs
Sat Jul 18 14:53:20 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.33.4.1: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.4.1: +41 -19 lines
sync with head.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jul 3 21:17:40 2009 UTC (15 years, 8 months ago) by elad
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, uebayasi-xip-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +41 -19 lines
Where possible, extract the file-system's access() routine to two internal
functions: the first checking if the operation is possible (regardless of
permissions), the second checking file-system permissions, ACLs, etc.

Mailing list reference:

	http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005311.html

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Jun 23 19:36:39 2009 UTC (15 years, 9 months ago) by elad
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
Move the implementation of vaccess() to genfs_can_access(), in line with
the other routines of the same spirit.

Adjust file-system code to use it.

Keep vaccess() for KPI compatibility and to keep element of least
surprise. A "diagnostic" message warning that vaccess() is deprecated will
be printed when it's used (obviously, only in DIAGNOSTIC kernels).

No objections on tech-kern@:

	http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005310.html

Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:42 2009 UTC (15 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +12 -17 lines
sync with head.

Revision 1.34.6.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:19:33 2009 UTC (16 years, 2 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +9 -14 lines
Sync with HEAD.

Revision 1.32.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:16 2009 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.32.6.2: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.6.2: +7 -12 lines
Sync with HEAD.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Dec 17 20:51:35 2008 UTC (16 years, 3 months ago) by cegger
Branches: MAIN
CVS tags: 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, jym-xensuspend-base
Branch point for: jym-xensuspend
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +7 -7 lines
kill MALLOC and FREE macros.

Revision 1.34.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:59 2008 UTC (16 years, 3 months ago) by haad
Branches: haad-dm
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +4 -9 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Nov 26 20:17:33 2008 UTC (16 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -9 lines
Rototill all remaining file systems to use ubc_uiomove() instead
of the ubc_alloc() - uiomove() - ubc_release() dance.

Revision 1.33.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:47 2008 UTC (16 years, 9 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +5 -5 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.32.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:04 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.32.6.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.6.1: +3 -3 lines
Sync with HEAD.

Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:59 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +5 -5 lines
sync with head.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri May 16 09:21:59 2008 UTC (16 years, 10 months ago) by hannken
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, 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.33: preferred, colored
Changes since revision 1.33: +5 -5 lines
Make sure all cached buffers with valid, not yet written data have been
run through copy-on-write.  Call fscow_run() with valid data where possible.

The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against
endless recursion.

- Add a flag B_MODIFY to bread(), breada() and breadn().  If set the caller
  intends to modify the buffer returned.

- Always run copy-on-write on buffers returned from ffs_balloc().

- Add new function ffs_getblk() that gets a buffer, assigns a new blkno,
  may clear the buffer and runs copy-on-write.  Process possible errors
  from getblk() or fscow_run().  Part of PR kern/38664.

Welcome to 4.99.63

Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>

Revision 1.32.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:59 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +15 -28 lines
Sync with HEAD.

Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:16:12 2008 UTC (17 years ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +15 -28 lines
sync with head.

Revision 1.28.6.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:56 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.28.6.2: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.6.2: +15 -32 lines
sync with HEAD

Revision 1.13.2.9: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:15:32 2008 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13.2.8: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.8: +15 -28 lines
sync with head.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Feb 27 19:43:36 2008 UTC (17 years ago) by matt
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +15 -28 lines
Convert to ansi definitions from old-style definitons.

Revision 1.29.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:35 2008 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.29.4.2: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.4.2: +2 -6 lines
Sync with HEAD.

Revision 1.13.2.8: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:23:43 2008 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13.2.7: preferred, colored
Changes since revision 1.13.2.7: +2 -6 lines
sync with head.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Jan 25 14:32:12 2008 UTC (17 years, 2 months ago) by ad
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -6 lines
Remove VOP_LEASE. Discussed on tech-kern.

Revision 1.13.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:45:44 2008 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13.2.6: preferred, colored
Changes since revision 1.13.2.6: +2 -59 lines
sync with head

Revision 1.28.6.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:55:40 2008 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.28.6.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.6.1: +2 -61 lines
sync with HEAD

Revision 1.29.4.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:45:43 2007 UTC (17 years, 3 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.29.4.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.4.1: +2 -59 lines
Sync with HEAD.

Revision 1.28.4.3: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:38:07 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.28.4.2: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.4.2: +2 -59 lines
Sync with HEAD.

Revision 1.26.6.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 16:04:00 2007 UTC (17 years, 3 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +2 -59 lines
Pullup to HEAD

Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:20:13 2007 UTC (17 years, 3 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -4 lines
Sync with HEAD.

Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:57:37 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.1: +2 -2 lines
Sync with head.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Dec 8 14:41:12 2007 UTC (17 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, reinoud-bufcleanup-nbase, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -59 lines
Merge locking changes + fixes from the vmlocking branch.

Revision 1.13.2.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:31:51 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13.2.5: preferred, colored
Changes since revision 1.13.2.5: +2 -4 lines
sync with head

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 4 13:03:03 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -59 lines
Pull the vmlocking changes into a new branch.

Revision 1.28.4.2: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:37:35 2007 UTC (17 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.28.4.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.4.1: +2 -4 lines
Sync with HEAD. amd64 Xen support needs testing.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Nov 26 19:01:43 2007 UTC (17 years, 4 months ago) by pooka
Branches: MAIN
CVS tags: vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-base
Branch point for: vmlocking2
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -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.28.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:31:04 2007 UTC (17 years, 4 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +10 -10 lines
sync with HEAD

Revision 1.13.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:35:01 2007 UTC (17 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13.2.4: preferred, colored
Changes since revision 1.13.2.4: +10 -10 lines
sync with head.

Revision 1.28.4.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:48:12 2007 UTC (17 years, 5 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +10 -10 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.26.2.5: download - view: text, markup, annotated - select for diffs
Wed Oct 24 16:23:21 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.26.2.4: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.4: +2 -59 lines
- Kill ISODEVMAP.
- Mark cd9660 MPSAFE.

Revision 1.28.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:48:26 2007 UTC (17 years, 5 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +10 -10 lines
sync with head.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Oct 8 18:04:03 2007 UTC (17 years, 5 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +10 -10 lines
Merge brelse() changes from the vmlocking branch.

Revision 1.26.2.4: download - view: text, markup, annotated - select for diffs
Sun Sep 16 19:04:28 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.26.2.3: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.3: +3 -3 lines
Checkpoint work in progress on the vnode lifecycle and reference counting
stuff. This makes it work properly without kernel_lock and fixes a few
quite old bugs. See vfs_subr.c 1.283.2.17 for details.

Revision 1.13.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:40:07 2007 UTC (17 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13.2.3: preferred, colored
Changes since revision 1.13.2.3: +5 -6 lines
sync with head.

Revision 1.26.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:26:04 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.26.2.2: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.2: +3 -3 lines
Sync with HEAD.

Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 19 19:24:49 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.26.2.1: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.1: +5 -4 lines
- Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).

Revision 1.26.10.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:48:55 2007 UTC (17 years, 7 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +3 -4 lines
Sync with HEAD.

Revision 1.28.10.2: download - view: text, markup, annotated - select for diffs
Sun Jul 29 21:17:42 2007 UTC (17 years, 7 months ago) by rumble
Branches: matt-mips64
Diff to: previous 1.28.10.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.10.1: +1052 -0 lines
Use _DIRENT_MINSIZE when determining the number of NFS cookies to allocate,
rather than hard-coding 16.

Revision 1.28.10.1
Sun Jul 29 21:17:41 2007 UTC (17 years, 7 months ago) by rumble
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.28: +0 -1052 lines
file cd9660_vnops.c was added on branch matt-mips64 on 2007-07-29 21:17:42 +0000

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jul 29 21:17:41 2007 UTC (17 years, 7 months ago) by rumble
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.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Use _DIRENT_MINSIZE when determining the number of NFS cookies to allocate,
rather than hard-coding 16.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jul 29 13:31:08 2007 UTC (17 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -3 lines
It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Sun May 13 17:36:31 2007 UTC (17 years, 10 months ago) by ad
Branches: vmlocking
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +12 -14 lines
- Pass the error number and residual count to biodone(), and let it handle
  setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
  of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
  create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.

Revision 1.24.4.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:58:10 2007 UTC (18 years ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.24.4.1: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.4.1: +4 -4 lines
Sync with HEAD.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:59 2007 UTC (18 years ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans
Branch point for: vmlocking, reinoud-bufcleanup, nick-csl-alignment
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:54:11 2007 UTC (18 years ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:10:55 2007 UTC (18 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13.2.2: preferred, colored
Changes since revision 1.13.2.2: +3 -3 lines
sync with head.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Feb 21 23:00:03 2007 UTC (18 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:49:56 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13.2.1: preferred, colored
Changes since revision 1.13.2.1: +3 -4 lines
sync with head.

Revision 1.22.10.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:37 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.22.10.1: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.10.1: +3 -3 lines
sync with head.

Revision 1.22.8.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:17 2006 UTC (18 years, 4 months ago) by ad
Branches: newlock2
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -4 lines
Sync with head.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:35 2006 UTC (18 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, 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, matt-nb4-arm-base, matt-nb4-arm
Branch point for: yamt-idlelwp
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
__unused removal on arguments; approved by core.

Revision 1.22.10.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:06 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -4 lines
sync with head

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:32:10 2006 UTC (18 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -4 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:56:56 2006 UTC (18 years, 6 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +22 -19 lines
sync with head

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:09:23 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +38 -53 lines
sync with head.

Revision 1.19.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:37:51 2006 UTC (18 years, 9 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.19.6.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.6.1: +10 -9 lines
Sync with head.

Revision 1.20.6.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:33 2006 UTC (18 years, 10 months ago) by tron
Branches: peter-altq
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +11 -9 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:58:35 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +11 -9 lines
sync with head.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun May 14 21:31:52 2006 UTC (18 years, 10 months ago) by elad
Branches: MAIN
CVS tags: 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.21: preferred, colored
Changes since revision 1.21: +10 -9 lines
integrate kauth.

Revision 1.20.4.3: download - view: text, markup, annotated - select for diffs
Sat May 6 23:31:29 2006 UTC (18 years, 10 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.20.4.2: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.4.2: +3 -2 lines
- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.19.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:55 2006 UTC (18 years, 11 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +14 -12 lines
Sync with head.

Revision 1.20.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 19 05:03:55 2006 UTC (18 years, 11 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.20.4.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.4.1: +3 -2 lines
sync with head.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Apr 15 04:02:40 2006 UTC (18 years, 11 months ago) by christos
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -2 lines
Coverity CID 1197: Add KASSERT before deref.

Revision 1.20.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:31:33 2006 UTC (19 years ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +9 -9 lines
Adapt to kernel authorization KPI.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Mar 1 12:38:13 2006 UTC (19 years ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +13 -12 lines
merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
  the latter is more natural to specify an address space.
  (and less likely to be abused for random purposes.)
- fix a swdmover race.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 12:06:20 2006 UTC (19 years, 1 month ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +13 -12 lines
adapt cd9660.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:24:25 2005 UTC (19 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +5 -5 lines
merge ktrace-lwp.

Revision 1.5.2.8: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:29:10 2005 UTC (19 years, 3 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.5.2.7: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.7: +50 -4 lines
Sync with head.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Nov 29 22:52:02 2005 UTC (19 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: ktrace-lwp-base
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -1 lines
merge yamt-readahead branch.

Revision 1.17.2.4: download - view: text, markup, annotated - select for diffs
Sat Nov 19 17:36:59 2005 UTC (19 years, 4 months ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.17.2.3: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.2.3: +3 -7 lines
- as read-ahead context is per-vnode now,
  there are less reasons to make VOP_READ call uvm_ra_request explicitly.
  move it to pager (uvn_get) so that it can handle accesses via mmap as well.
- pass advice to pager via ubc.
- tweak DPRINTF.

XXX can be disturbed by PGO_LOCKED.

XXX it's controversial where it should be done.
(uvm_fault, uvn_get or genfs_getpages.)

Revision 1.17.2.3: download - view: text, markup, annotated - select for diffs
Sat Nov 19 11:03:44 2005 UTC (19 years, 4 months ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.17.2.2: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.2: +3 -3 lines
- finish reverting VOP_READ prototype changes.
- remove unused variables.
- fix typos.
some of them are pointed by Juan RP.

Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Fri Nov 18 08:44:54 2005 UTC (19 years, 4 months ago) by yamt
Branches: yamt-readahead
CVS tags: yamt-readahead-pervnode
Diff to: previous 1.17.2.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.1: +6 -6 lines
- associate read-ahead context to vnode, rather than file.
- revert VOP_READ prototype.

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 15 10:47:32 2005 UTC (19 years, 4 months ago) by yamt
Branches: yamt-readahead
CVS tags: yamt-readahead-perfile
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +8 -2 lines
adapt the rest of filesystems which use genfs_getpages.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Nov 11 15:50:57 2005 UTC (19 years, 4 months ago) by yamt
Branches: MAIN
CVS tags: yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base
Branch point for: yamt-readahead
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +47 -3 lines
- ignore truncation for VCHR/VBLK/VFIFO as it used to be
  before yamt-vop merge.  PR/32049 from Atsushi Onoe.
- reject setattr which attempts to change size of VLNK/VSOCK.

Revision 1.5.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:09:27 2005 UTC (19 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.5.2.6: preferred, colored
Changes since revision 1.5.2.6: +17 -81 lines
Sync with HEAD. Here we go again...

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Nov 2 12:38:58 2005 UTC (19 years, 4 months ago) by yamt
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -69 lines
merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Sat Oct 29 17:31:38 2005 UTC (19 years, 4 months ago) by yamt
Branches: yamt-vop
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +3 -48 lines
cd9660_setattr: remove extra checks.  return EOPNOTSUPP immediately.
suggested by Chuck Silvers.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 20 05:16:52 2005 UTC (19 years, 5 months ago) by yamt
Branches: yamt-vop
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -24 lines
adapt cd9660.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Aug 30 18:47:19 2005 UTC (19 years, 6 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +7 -7 lines
Remove __P()

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Aug 19 02:04:03 2005 UTC (19 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4 lines
64 bit inode changes.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Jun 23 17:00:30 2005 UTC (19 years, 9 months ago) by thorpej
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -7 lines
Remove the last references to M_NAMEI; everything should be using PNBUF_*()
now (for a long time now).  Remove M_NAMEI, and bump the kernel version to
3.99.7 to reflect its removal.

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:22 2005 UTC (19 years, 10 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +6 -6 lines
sync with -current

Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:06 2005 UTC (20 years ago) by yamt
Branches: yamt-km
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +6 -6 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.5.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:51:29 2005 UTC (20 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.5.2.5: preferred, colored
Changes since revision 1.5.2.5: +6 -6 lines
Sync with HEAD.

Hi Perry!

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Feb 26 22:58:55 2005 UTC (20 years ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -6 lines
nuke trailing whitespace

Revision 1.5.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:32:12 2005 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.5.2.4: preferred, colored
Changes since revision 1.5.2.4: +5 -3 lines
Sync with HEAD.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Jan 9 16:42:44 2005 UTC (20 years, 2 months ago) by chs
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -3 lines
adjust the UBC mapping code to support non-vnode uvm_objects.
this means we can no longer look at the vnode size to determine how many
pages to request in a fault, which is good since for NFS the size can change
out from under us on the server anyway.  there's also a new flag UBC_UNMAP
for ubc_release(), so that the file system code can make the decision about
whether to cache mappings for files being used as executables.

Revision 1.5.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:34:43 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.5.2.3: preferred, colored
Changes since revision 1.5.2.3: +7 -7 lines
Fix the sync with head I botched.

Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:52:37 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.5.2.2: preferred, colored
Changes since revision 1.5.2.2: +7 -7 lines
Sync with HEAD.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Sep 17 14:11:24 2004 UTC (20 years, 6 months ago) by skrll
Branches: MAIN
CVS tags: kent-audio1-base, kent-audio1
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
There's no need to pass a proc value when using UIO_SYSSPACE with
vn_rdwr(9) and uiomove(9).

OK'd by Jason Thorpe

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:52:23 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.5.2.1: preferred, colored
Changes since revision 1.5.2.1: +7 -12 lines
Sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue May 4 13:26:58 2004 UTC (20 years, 10 months ago) by jrf
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Remove caddr_t inlines. Approved by christos@NetBSD.org.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jan 26 10:39:30 2004 UTC (21 years, 2 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.7: preferred, colored
Changes since revision 1.7: +4 -3 lines
Fix xxx_strategy() to use the vnode arg instead of bp->b_vp.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jan 25 18:06:48 2004 UTC (21 years, 2 months ago) by hannken
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -5 lines
Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.

VOP_STRATEGY(bp) is replaced by one of two new functions:

- VOP_STRATEGY(vp, bp)  Call the strategy routine of vp for bp.
- DEV_STRATEGY(bp)      Call the d_strategy routine of bp->b_dev for bp.

DEV_STRATEGY(bp) is used only for block-to-block device situations.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:31:36 2003 UTC (21 years, 7 months ago) by agc
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -7 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.5.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:26:28 2003 UTC (21 years, 8 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -7 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.5: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:31:08 2003 UTC (21 years, 8 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -5 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:49 2003 UTC (21 years, 9 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -7 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.3: download - view: text, markup, annotated - select for diffs
Sat Jun 7 12:00:07 2003 UTC (21 years, 9 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
Fix a botch in a boolean expression. Thanks to Martim Husemann for the fix
:)

PR kern/21816: Big DVD's with cd9660 fs (can) crash Alpha can be closed
allready :)

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri May 16 05:09:11 2003 UTC (21 years, 10 months ago) by itojun
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +22 -14 lines
use strlcpy.  check size if we are to use namei buffer.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 29 19:55:42 2002 UTC (22 years, 2 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +1064 -0 lines
With with HEAD.

Revision 1.1.2.1
Mon Dec 23 17:52:09 2002 UTC (22 years, 3 months ago) by thorpej
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.1: +0 -1064 lines
file cd9660_vnops.c was added on branch nathanw_sa on 2002-12-29 19:55:42 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Dec 23 17:52:09 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Branch point for: nathanw_sa
move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660

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>