The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.29.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:41 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.29.12.1: +4 -13 lines
Diff to previous 1.29.12.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored) to selected 1.10.2.1 (colored)

update from HEAD

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:05 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.34.2.1: +6 -9 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Fri May 26 14:34:19 2017 UTC (6 years, 10 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, thorpej-ifq-base, thorpej-ifq, 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, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-9-base, 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, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-10-base, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.37: +2 -6 lines
Diff to previous 1.37 (colored) to selected 1.10.2.1 (colored)

Eliminate crusty debugging sludge.

We have a mostly sane vnode lifecycle now.  If this needs debugging,
it should be done once at the call site of VOP_RECLAIM.

Revision 1.37 / (download) - annotate - [select for diffs], Fri May 26 14:21:00 2017 UTC (6 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.36: +5 -3 lines
Diff to previous 1.36 (colored) to selected 1.10.2.1 (colored)

Make VOP_RECLAIM do the last unlock of the vnode.

VOP_RECLAIM naturally has exclusive access to the vnode, so having it
locked on entry is not strictly necessary -- but it means if there
are any final operations that must be done on the vnode, such as
ffs_update, requiring exclusive access to it, we can now kassert that
the vnode is locked in those operations.

We can't just have the caller release the last lock because some file
systems don't use genfs_lock, and require the vnode to remain valid
for VOP_UNLOCK to work, notably unionfs.

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:25 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.34: +3 -4 lines
Diff to previous 1.34 (colored) next main 1.35 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:00 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.35: +3 -4 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Tue Apr 11 14:24:59 2017 UTC (7 years ago) by riastradh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, bouyer-socketcan-base1
Changes since 1.35: +3 -4 lines
Diff to previous 1.35 (colored) to selected 1.10.2.1 (colored)

Make VOP_INACTIVE preserve vnode lock on return.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2017/04/01/msg021751.html

Ride 7.99.68, a bumpy bus of incremental vfs improvements!

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:00 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.34: +2 -7 lines
Diff to previous 1.34 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD

Revision 1.35 / (download) - annotate - [select for diffs], Sat Aug 20 12:37:06 2016 UTC (7 years, 7 months ago) by hannken
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.34: +2 -7 lines
Diff to previous 1.34 (colored) to selected 1.10.2.1 (colored)

Remove now obsolete operation vcache_remove().

Welcome to 7.99.36

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Sat Jan 17 12:10:55 2015 UTC (9 years, 3 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.10.2.1 (colored)

Pull up following revision(s) (requested by maxv in ticket #427):
	sys/compat/svr4/svr4_schedctl.c: revision 1.8
	sys/netinet/tcp_timer.c: revision 1.88
	sys/miscfs/genfs/layer_vfsops.c: revision 1.45
	sys/compat/svr4/svr4_ioctl.c: revision 1.37
	sys/ufs/chfs/chfs_vfsops.c: revision 1.14
	sys/miscfs/fdesc/fdesc_vfsops.c: revision 1.91
	sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.30
	sys/compat/common/kern_time_50.c: revision 1.28
	sys/netinet6/ip6_forward.c: revision 1.74
	sys/miscfs/umapfs/umap_vnops.c: revision 1.57
	sys/compat/svr4/svr4_fcntl.c: revision 1.74
	distrib/sets/lists/comp/mi: revision 1.1931
	sys/netinet6/udp6_output.c: revision 1.46
	sys/fs/puffs/puffs_compat.c: revision 1.3
	sys/fs/udf/udf_rename.c: revision 1.11
	sys/compat/svr4/svr4_filio.c: revision 1.24
	sys/fs/udf/udf_rename.c: revision 1.12
	sys/netinet/tcp_usrreq.c: revision 1.202
	sys/miscfs/umapfs/umap_subr.c: revision 1.29
	sys/compat/linux/common/linux_fadvise64.c: revision 1.3
	sys/netinet/if_atm.c: revision 1.34
	sys/miscfs/procfs/procfs_subr.c: revision 1.106
	sys/miscfs/genfs/layer_subr.c: revision 1.37
	sys/netinet/tcp_sack.c: revision 1.30
	sys/compat/freebsd/freebsd_misc.c: revision 1.33
	sys/compat/freebsd/freebsd_file.c: revision 1.33
	sys/ufs/chfs/chfs_vnode.c: revision 1.12
	sys/compat/svr4/svr4_ttold.c: revision 1.34
	sys/compat/linux/common/linux_file.c: revision 1.114
	sys/compat/linux/arch/mips/linux_machdep.c: revision 1.43
	sys/compat/linux/common/linux_signal.c: revision 1.76
	sys/compat/common/compat_util.c: revision 1.46
	sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.18
	sys/compat/svr4/svr4_sockio.c: revision 1.36
	sys/compat/linux/arch/arm/linux_machdep.c: revision 1.32
	sys/compat/svr4/svr4_signal.c: revision 1.66
	sys/kern/kern_exec.c: revision 1.410
	sys/fs/puffs/puffs_vfsops.c: revision 1.115
	sys/compat/svr4/svr4_exec_elf64.c: revision 1.15
	sys/compat/linux/arch/i386/linux_machdep.c: revision 1.159
	sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.50
	sys/compat/linux32/common/linux32_misc.c: revision 1.24
	sys/netinet/in_pcb.c: revision 1.153
	sys/sys/malloc.h: revision 1.116
	sys/compat/common/if_43.c: revision 1.9
	share/man/man9/Makefile: revision 1.380
	sys/netinet/tcp_vtw.c: revision 1.12
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.95
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.186
	sys/compat/common/uipc_syscalls_43.c: revision 1.46
	sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.115
	sys/fs/puffs/puffs_msgif.c: revision 1.97
	sys/compat/svr4/svr4_ipc.c: revision 1.27
	sys/compat/linux/common/linux_exec.c: revision 1.117
	sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.66
	sys/netinet/tcp_output.c: revision 1.179
	sys/compat/svr4/svr4_termios.c: revision 1.28
	sys/fs/udf/udf_strat_bootstrap.c: revision 1.4
	sys/fs/puffs/puffs_subr.c: revision 1.67
	sys/fs/puffs/puffs_node.c: revision 1.36
	sys/miscfs/overlay/overlay_vnops.c: revision 1.21
	sys/fs/cd9660/cd9660_node.c: revision 1.34
	sys/netinet/raw_ip.c: revision 1.146
	sys/sys/mallocvar.h: revision 1.13
	sys/miscfs/overlay/overlay_vfsops.c: revision 1.63
	share/man/man9/malloc.9: revision 1.50
	sys/netinet6/dest6.c: revision 1.18
	sys/compat/linux/common/linux_uselib.c: revision 1.33
	sys/compat/linux/common/linux_socket.c: revision 1.120
	share/man/man9/malloc.9: revision 1.51
	sys/netinet/tcp_subr.c: revision 1.257
	sys/compat/linux/common/linux_socketcall.c: revision 1.45
	sys/compat/linux/common/linux_fadvise64_64.c: revision 1.3
	sys/compat/freebsd/freebsd_ipc.c: revision 1.17
	sys/compat/linux/common/linux_misc_notalpha.c: revision 1.109
	sys/compat/linux/arch/alpha/linux_pipe.c: revision 1.17
	sys/netinet6/in6_pcb.c: revision 1.132
	sys/netinet6/in6_ifattach.c: revision 1.94
	sys/compat/svr4/svr4_exec_elf32.c: revision 1.15
	sys/miscfs/nullfs/null_vfsops.c: revision 1.90
	sys/fs/cd9660/cd9660_util.c: revision 1.12
	sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.48
	sys/compat/freebsd/freebsd_exec_elf32.c: revision 1.20
	sys/miscfs/procfs/procfs_vfsops.c: revision 1.94
	sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.28
	sys/compat/linux/common/linux_sched.c: revision 1.67
	sys/compat/linux/common/linux_exec_aout.c: revision 1.67
	sys/compat/linux/common/linux_pipe.c: revision 1.67
	sys/compat/linux/common/linux_llseek.c: revision 1.34
	sys/compat/linux/arch/mips/linux_ptrace.c: revision 1.10
Do not uselessly include <sys/malloc.h>.
Cleanup:
 - remove struct kmembuckets (dead)
 - correctly deadify MALLOC_XX
 - remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead)
 - remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT()
   and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc
New sentence, new line. Bump date for previous.
Obsolete malloc_roundup(9), malloc_type_setlimit(9) and MALLOC_DEFINE_LIMIT(9)
man pages.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Nov 10 18:46:33 2014 UTC (9 years, 5 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: pgoyette-localcount, nick-nhusb
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored) to selected 1.10.2.1 (colored)

Do not uselessly include <sys/malloc.h>.

Revision 1.29.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:26 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.29: +16 -109 lines
Diff to previous 1.29 (colored) to selected 1.10.2.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:53 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.30: +18 -113 lines
Diff to previous 1.30 (colored) next main 1.31 (colored) to selected 1.10.2.1 (colored)

Rebase.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jun 16 09:55:49 2014 UTC (9 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.32: +9 -107 lines
Diff to previous 1.32 (colored) to selected 1.10.2.1 (colored)

Change cd9660 from hashlist to vcache.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Jun 14 07:39:28 2014 UTC (9 years, 10 months ago) by hannken
Branch: MAIN
Changes since 1.31: +2 -6 lines
Diff to previous 1.31 (colored) to selected 1.10.2.1 (colored)

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.29.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:41:00 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.29: +15 -6 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.10.2.1 (colored)

sync with head.

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

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

Revision 1.24.24.1 / (download) - annotate - [select for diffs], Wed May 21 21:49:49 2014 UTC (9 years, 10 months ago) by bouyer
Branch: netbsd-5-1
CVS Tags: netbsd-5-1-5-RELEASE
Changes since 1.24: +12 -5 lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.10.2.1 (colored)

Pull up following revision(s) (requested by martin in ticket #1904):
	sys/fs/cd9660/cd9660_node.c: revision 1.31
PR kern/48787: inode calculation from ISO9660 block offset might get
truncated to 32bit - force the whole expression to be evaluated as ino_t.
Patch from Thomas Schmitt, with minor modifications (and reworded comment).

Revision 1.24.28.1 / (download) - annotate - [select for diffs], Wed May 21 21:49:44 2014 UTC (9 years, 10 months ago) by bouyer
Branch: netbsd-5-2
CVS Tags: netbsd-5-2-3-RELEASE
Changes since 1.24: +12 -5 lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.10.2.1 (colored)

Pull up following revision(s) (requested by martin in ticket #1904):
	sys/fs/cd9660/cd9660_node.c: revision 1.31
PR kern/48787: inode calculation from ISO9660 block offset might get
truncated to 32bit - force the whole expression to be evaluated as ino_t.
Patch from Thomas Schmitt, with minor modifications (and reworded comment).

Revision 1.24.10.1 / (download) - annotate - [select for diffs], Wed May 21 21:49:41 2014 UTC (9 years, 10 months ago) by bouyer
Branch: netbsd-5
Changes since 1.24: +12 -5 lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.10.2.1 (colored)

Pull up following revision(s) (requested by martin in ticket #1904):
	sys/fs/cd9660/cd9660_node.c: revision 1.31
PR kern/48787: inode calculation from ISO9660 block offset might get
truncated to 32bit - force the whole expression to be evaluated as ino_t.
Patch from Thomas Schmitt, with minor modifications (and reworded comment).

Revision 1.29.22.1 / (download) - annotate - [select for diffs], Wed May 21 21:06:40 2014 UTC (9 years, 10 months ago) by bouyer
Branch: netbsd-6-1
CVS Tags: netbsd-6-1-5-RELEASE
Changes since 1.29: +12 -5 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.10.2.1 (colored)

Pull up following revision(s) (requested by martin in ticket #1062):
	sys/fs/cd9660/cd9660_node.c: revision 1.31
PR kern/48787: inode calculation from ISO9660 block offset might get
truncated to 32bit - force the whole expression to be evaluated as ino_t.
Patch from Thomas Schmitt, with minor modifications (and reworded comment).

Revision 1.29.14.1 / (download) - annotate - [select for diffs], Wed May 21 21:06:36 2014 UTC (9 years, 10 months ago) by bouyer
Branch: netbsd-6-0
CVS Tags: netbsd-6-0-6-RELEASE
Changes since 1.29: +12 -5 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.10.2.1 (colored)

Pull up following revision(s) (requested by martin in ticket #1062):
	sys/fs/cd9660/cd9660_node.c: revision 1.31
PR kern/48787: inode calculation from ISO9660 block offset might get
truncated to 32bit - force the whole expression to be evaluated as ino_t.
Patch from Thomas Schmitt, with minor modifications (and reworded comment).

Revision 1.29.8.1 / (download) - annotate - [select for diffs], Wed May 21 21:06:29 2014 UTC (9 years, 10 months ago) by bouyer
Branch: netbsd-6
Changes since 1.29: +12 -5 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.10.2.1 (colored)

Pull up following revision(s) (requested by martin in ticket #1062):
	sys/fs/cd9660/cd9660_node.c: revision 1.31
PR kern/48787: inode calculation from ISO9660 block offset might get
truncated to 32bit - force the whole expression to be evaluated as ino_t.
Patch from Thomas Schmitt, with minor modifications (and reworded comment).

Revision 1.29.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:04 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.29: +15 -6 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.10.2.1 (colored)

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Sat May 10 14:11:58 2014 UTC (9 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.30: +12 -5 lines
Diff to previous 1.30 (colored) to selected 1.10.2.1 (colored)

PR kern/48787: inode calculation from ISO9660 block offset might get
truncated to 32bit - force the whole expression to be evaluated as ino_t.
Patch from Thomas Schmitt, with minor modifications (and reworded comment).

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

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

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

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

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

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

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

Discussed on tech-kern.

Welcome to 6.99.33

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:13 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.10.2.1 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:52 2011 UTC (12 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, 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, 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, netbsd-6-1, netbsd-6-0, netbsd-6
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) to selected 1.10.2.1 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

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

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

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

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

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

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

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:21 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.27: +2 -3 lines
Diff to previous 1.27 (colored) next main 1.28 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD.

Revision 1.24.22.4 / (download) - annotate - [select for diffs], Tue May 31 03:04:58 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.24.22.3: +0 -1 lines
Diff to previous 1.24.22.3 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored) to selected 1.10.2.1 (colored)

sync with head

Revision 1.28 / (download) - annotate - [select for diffs], Thu May 19 03:11:55 2011 UTC (12 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.27: +2 -3 lines
Diff to previous 1.27 (colored) to selected 1.10.2.1 (colored)

Remove cache_purge(9) calls from reclamation routines in the file systems,
as vclean(9) performs it for us since Lite2 merge.

Revision 1.24.22.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:03 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.24.22.2: +3 -3 lines
Diff to previous 1.24.22.2 (colored) to branchpoint 1.24 (colored) to selected 1.10.2.1 (colored)

sync with head

Revision 1.24.20.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:14 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD.

Revision 1.23.4.2 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:32 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.23.4.1: +5 -5 lines
Diff to previous 1.23.4.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored) to selected 1.10.2.1 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jul 21 17:52:09 2010 UTC (13 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) to selected 1.10.2.1 (colored)

Make holding v_interlock mandatory for callers of vget().

Announced some time ago on tech-kern.

Revision 1.24.22.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:49 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.24.22.1: +4 -4 lines
Diff to previous 1.24.22.1 (colored) to branchpoint 1.24 (colored) to selected 1.10.2.1 (colored)

sync with head

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

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

Welcome to 5.99.34.

Discussed on tech-kern.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:09 2010 UTC (13 years, 9 months ago) by hannken
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) to selected 1.10.2.1 (colored)

Clean up vnode lock operations pass 2:

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

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.24.22.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:06 2010 UTC (14 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) to selected 1.10.2.1 (colored)

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

Revision 1.22.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:04 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.22.6.1: +4 -6 lines
Diff to previous 1.22.6.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:59 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.23: +6 -8 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.10.2.1 (colored)

sync with head.

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

sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Mon May 5 17:11:16 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base1, uebayasi-xip-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, 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, mjf-devfs2-base, matt-premerge-20091211, 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, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: uebayasi-xip, rmind-uvmplock, netbsd-5-2, netbsd-5-1, netbsd-5
Changes since 1.23: +6 -8 lines
Diff to previous 1.23 (colored) to selected 1.10.2.1 (colored)

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

Revision 1.22.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:59 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.22: +19 -38 lines
Diff to previous 1.22 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:12 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.22: +19 -38 lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.10.2.1 (colored)

sync with head.

Revision 1.16.8.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:55 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.16.8.2: +21 -43 lines
Diff to previous 1.16.8.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.10.2.1 (colored)

sync with HEAD

Revision 1.10.2.8 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:32 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.7: +19 -38 lines
Diff to previous 1.10.2.7 (colored) next main 1.11 (colored) to selected 1.10.2.1 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Feb 27 19:43:36 2008 UTC (16 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, 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
Changes since 1.22: +19 -38 lines
Diff to previous 1.22 (colored) to selected 1.10.2.1 (colored)

Convert to ansi definitions from old-style definitons.

Revision 1.17.4.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:35 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.17.4.2: +9 -12 lines
Diff to previous 1.17.4.2 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD.

Revision 1.10.2.7 / (download) - annotate - [select for diffs], Mon Feb 4 09:23:43 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.6: +3 -3 lines
Diff to previous 1.10.2.6 (colored) to selected 1.10.2.1 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jan 30 09:50:19 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) to selected 1.10.2.1 (colored)

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

Revision 1.10.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:45:43 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.5: +33 -112 lines
Diff to previous 1.10.2.5 (colored) to selected 1.10.2.1 (colored)

sync with head

Revision 1.19.4.2 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:17 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.19.4.1: +1 -4 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jan 17 10:39:14 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.20: +3 -6 lines
Diff to previous 1.20 (colored) to selected 1.10.2.1 (colored)

Fix dodgy tests of v_usecount.

Revision 1.16.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:55:40 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.16.8.1: +32 -110 lines
Diff to previous 1.16.8.1 (colored) to branchpoint 1.16 (colored) to selected 1.10.2.1 (colored)

sync with HEAD

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:55:27 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.19: +7 -7 lines
Diff to previous 1.19 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:40 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.19: +7 -7 lines
Diff to previous 1.19 (colored) to selected 1.10.2.1 (colored)

Merge vmlocking2 to head.

Revision 1.17.4.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:43 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.17.4.1: +28 -104 lines
Diff to previous 1.17.4.1 (colored) to branchpoint 1.17 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD.

Revision 1.16.6.3 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:06 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.16.6.2: +28 -104 lines
Diff to previous 1.16.6.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD.

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Sun Dec 9 16:03:59 2007 UTC (16 years, 4 months ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.15: +28 -105 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.10.2.1 (colored)

Pullup to HEAD

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:12 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.17: +3 -5 lines
Diff to previous 1.17 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD.

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Sat Dec 8 17:57:37 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.18.2.1: +2 -2 lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored) to selected 1.10.2.1 (colored)

Sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Dec 8 14:41:11 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, reinoud-bufcleanup-nbase, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.18: +28 -104 lines
Diff to previous 1.18 (colored) to selected 1.10.2.1 (colored)

Merge locking changes + fixes from the vmlocking branch.

Revision 1.10.2.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:31:50 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.4: +3 -5 lines
Diff to previous 1.10.2.4 (colored) to selected 1.10.2.1 (colored)

sync with head

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:02 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.18: +32 -108 lines
Diff to previous 1.18 (colored) to selected 1.10.2.1 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.16.6.2 / (download) - annotate - [select for diffs], Tue Nov 27 19:37:34 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.16.6.1: +3 -5 lines
Diff to previous 1.16.6.1 (colored) to branchpoint 1.16 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:42 2007 UTC (16 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-base
Branch point for: vmlocking2
Changes since 1.17: +3 -5 lines
Diff to previous 1.17 (colored) to selected 1.10.2.1 (colored)

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

quick consensus on tech-kern

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:03 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored) to selected 1.10.2.1 (colored)

sync with HEAD

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:00 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.3: +4 -4 lines
Diff to previous 1.10.2.3 (colored) to selected 1.10.2.1 (colored)

sync with head.

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:11 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD.

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

Revision 1.14.4.8 / (download) - annotate - [select for diffs], Wed Oct 24 16:29:21 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.14.4.7: +4 -2 lines
Diff to previous 1.14.4.7 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored) to selected 1.10.2.1 (colored)

cd9660_done: destroy locks.

Revision 1.14.4.7 / (download) - annotate - [select for diffs], Wed Oct 24 16:23:20 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.14.4.6: +2 -89 lines
Diff to previous 1.14.4.6 (colored) to branchpoint 1.14 (colored) to selected 1.10.2.1 (colored)

- Kill ISODEVMAP.
- Mark cd9660 MPSAFE.

Revision 1.14.4.6 / (download) - annotate - [select for diffs], Wed Oct 24 16:16:31 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.14.4.5: +26 -17 lines
Diff to previous 1.14.4.5 (colored) to branchpoint 1.14 (colored) to selected 1.10.2.1 (colored)

- Fix a race in cd9660_vget().
- simplelock -> mutex.

Revision 1.16.10.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:25 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.10.2.1 (colored)

sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Oct 8 18:04:02 2007 UTC (16 years, 6 months ago) by ad
Branch: 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
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored) to selected 1.10.2.1 (colored)

Merge brelse() changes from the vmlocking branch.

Revision 1.14.4.5 / (download) - annotate - [select for diffs], Sun Sep 16 19:04:27 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.14.4.4: +4 -6 lines
Diff to previous 1.14.4.4 (colored) to branchpoint 1.14 (colored) to selected 1.10.2.1 (colored)

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.10.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:06 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.2: +5 -9 lines
Diff to previous 1.10.2.2 (colored) to selected 1.10.2.1 (colored)

sync with head.

Revision 1.14.4.4 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:28 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.14.4.3: +4 -8 lines
Diff to previous 1.14.4.3 (colored) to branchpoint 1.14 (colored) to selected 1.10.2.1 (colored)

Sync with head.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:09:20 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.15: +4 -8 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.10.2.1 (colored)

Sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jun 30 09:37:55 2007 UTC (16 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.15: +4 -8 lines
Diff to previous 1.15 (colored) to selected 1.10.2.1 (colored)

Using POOL_INIT here makes no sense, since file systems always have
an init method.  So get rid of it and #ifdef _LKM and just always
init in the init method.  Give malloc types the same treatment.
Makes file systems nicer to work with in linksetless environments
and fixes a few LKM discrepancies.

Revision 1.14.4.3 / (download) - annotate - [select for diffs], Sun May 13 17:36:30 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.14.4.2: +4 -4 lines
Diff to previous 1.14.4.2 (colored) to branchpoint 1.14 (colored) to selected 1.10.2.1 (colored)

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

Revision 1.13.26.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:55 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.13.26.1: +4 -4 lines
Diff to previous 1.13.26.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored) to selected 1.10.2.1 (colored)

sync with head.

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Tue Mar 13 17:50:37 2007 UTC (17 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.14.4.1: +4 -4 lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored) to selected 1.10.2.1 (colored)

Pull in the initial set of changes for the vmlocking branch.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:51:31 2007 UTC (17 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored) to selected 1.10.2.1 (colored)

Sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:32 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic
Branch point for: reinoud-bufcleanup, mjf-ufs-trans
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored) to selected 1.10.2.1 (colored)

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

Revision 1.13.26.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:11 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored) to selected 1.10.2.1 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:54 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.1: +3 -2 lines
Diff to previous 1.10.2.1 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Feb 20 16:21:03 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Branch point for: vmlocking
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored) to selected 1.10.2.1 (colored)

Call genfs_node_destroy() where appropriate.

Revision 1.10.2.1 / (download) - annotate - [selected], Wed Jun 21 15:09:23 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10: +11 -11 lines
Diff to previous 1.10 (colored)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:25 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (colored) to selected 1.10.2.1 (colored)

merge ktrace-lwp.

Revision 1.4.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:26 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.7: +16 -16 lines
Diff to previous 1.4.2.7 (colored) next main 1.5 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD. Here we go again...

Revision 1.12 / (download) - annotate - [select for diffs], Wed Nov 2 12:38:58 2005 UTC (18 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored) to selected 1.10.2.1 (colored)

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Thu Oct 20 05:16:52 2005 UTC (18 years, 6 months ago) by yamt
Branch: yamt-vop
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored) next main 1.12 (colored) to selected 1.10.2.1 (colored)

adapt cd9660.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Aug 30 18:47:19 2005 UTC (18 years, 7 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.10.2.1 (colored)

Remove __P()

Revision 1.10 / (download) - annotate - [select for diffs], Sun May 29 21:00:29 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.9: +11 -11 lines
Diff to previous 1.9 (colored) to selected 1.10.2.1 (colored)

- rename variables to avoid shadowing.
- add a few const.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:22 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.8: +22 -22 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.10.2.1 (colored)

sync with -current

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:06 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.8: +22 -22 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.10.2.1 (colored)

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

Revision 1.4.2.7 / (download) - annotate - [select for diffs], Fri Mar 4 16:51:29 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.6: +22 -22 lines
Diff to previous 1.4.2.6 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.9 / (download) - annotate - [select for diffs], Sat Feb 26 22:58:55 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Changes since 1.8: +22 -22 lines
Diff to previous 1.8 (colored) to selected 1.10.2.1 (colored)

nuke trailing whitespace

Revision 1.4.2.6 / (download) - annotate - [select for diffs], Wed Oct 27 06:48:23 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.5: +4 -4 lines
Diff to previous 1.4.2.5 (colored) to selected 1.10.2.1 (colored)

Fix various comments that describe the argument structures

Revision 1.4.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:34:43 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.4: +4 -4 lines
Diff to previous 1.4.2.4 (colored) to selected 1.10.2.1 (colored)

Fix the sync with head I botched.

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:52:37 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.3: +4 -4 lines
Diff to previous 1.4.2.3 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Tue Aug 24 17:57:36 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.2: +4 -5 lines
Diff to previous 1.4.2.2 (colored) to selected 1.10.2.1 (colored)

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

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:23 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.1: +13 -10 lines
Diff to previous 1.4.2.1 (colored) to selected 1.10.2.1 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Thu May 20 05:39:34 2004 UTC (19 years, 11 months ago) by atatat
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.7: +5 -3 lines
Diff to previous 1.7 (colored) to selected 1.10.2.1 (colored)

Explicitly call pool_init() (and pool_destroy()) when being built as
an _LKM.

This adds pools to the list of things that lkms must do manually
because they're set up with link sets.  Not that there's anything
wrong with link sets, but that we need to try harder to remember that
lkms are second class citizens.  Of a sort.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Apr 25 16:42:40 2004 UTC (19 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.6: +4 -5 lines
Diff to previous 1.6 (colored) to selected 1.10.2.1 (colored)

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

 Convert struct session, ucred and lockf to pools.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Mar 27 04:43:43 2004 UTC (20 years ago) by atatat
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.5: +8 -2 lines
Diff to previous 1.5 (colored) to selected 1.10.2.1 (colored)

Manually attach malloc types when being built as an lkm.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:34 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.4: +3 -7 lines
Diff to previous 1.4 (colored) to selected 1.10.2.1 (colored)

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

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

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:28 2003 UTC (20 years, 9 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.4: +7 -6 lines
Diff to previous 1.4 (colored) to selected 1.10.2.1 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:08 2003 UTC (20 years, 9 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) to selected 1.10.2.1 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 29 18:43:23 2003 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +4 -5 lines
Diff to previous 1.2 (colored) to selected 1.10.2.1 (colored)

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

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:49 2003 UTC (20 years, 9 months ago) by darrenr
Branch: MAIN
Changes since 1.1: +7 -6 lines
Diff to previous 1.1 (colored) to selected 1.10.2.1 (colored)

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

Bump the kernel rev up to 1.6V

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Dec 29 19:55:37 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.2.1: +547 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.10.2.1 (colored)

With with HEAD.

Revision 1.1.2.1, Mon Dec 23 17:52:09 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.1: +0 -547 lines
FILE REMOVED

file cd9660_node.c was added on branch nathanw_sa on 2002-12-29 19:55:37 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Mon Dec 23 17:52:09 2002 UTC (21 years, 3 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Branch point for: nathanw_sa
Diff to selected 1.10.2.1 (colored)

move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660

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




CVSweb <webmaster@jp.NetBSD.org>