The NetBSD Project

CVS log for src/sys/miscfs/genfs/layer_subr.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.39 / (download) - annotate - [select for diffs], Sun Apr 10 09:50:46 2022 UTC (23 months, 2 weeks ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored) to selected 1.28.4.3 (colored)

fix various typos in comments and output/log messages.

Revision 1.37.20.1 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:43 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.37: +6 -6 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.28.4.3 (colored)

Sync with HEAD

Revision 1.37.30.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:29:11 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.37: +6 -6 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.28.4.3 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Mon Apr 13 19:23:19 2020 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, 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
Changes since 1.37: +6 -6 lines
Diff to previous 1.37 (colored) to selected 1.28.4.3 (colored)

Replace most uses of vp->v_usecount with a call to vrefcnt(vp), a function
that hides the details and does atomic_load_relaxed().  Signature matches
FreeBSD.

Revision 1.32.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:47 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.32.12.1: +0 -1 lines
Diff to previous 1.32.12.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored) to selected 1.28.4.3 (colored)

update from HEAD

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Sat Jan 17 12:10:53 2015 UTC (9 years, 2 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.36: +2 -3 lines
Diff to previous 1.36 (colored) next main 1.37 (colored) to selected 1.28.4.3 (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.37 / (download) - annotate - [select for diffs], Sun Nov 9 18:08:07 2014 UTC (9 years, 4 months ago) by maxv
Branch: 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-20200411, phil-wifi-20200406, phil-wifi-20191119, 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, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: phil-wifi, bouyer-xenpvh
Changes since 1.36: +2 -3 lines
Diff to previous 1.36 (colored) to selected 1.28.4.3 (colored)

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

Revision 1.32.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:31 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.32: +4 -172 lines
Diff to previous 1.32 (colored) to selected 1.28.4.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:05 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.35: +6 -145 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.28.4.3 (colored)

Rebase.

Revision 1.36 / (download) - annotate - [select for diffs], Sun May 25 13:51:25 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.35: +6 -145 lines
Diff to previous 1.35 (colored) to selected 1.28.4.3 (colored)

Change layerfs from hashlist to vcache.
Make VI_LOCKSHARE public again.

Ride 6.99.43

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:41:05 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.32: +13 -42 lines
Diff to previous 1.32 (colored) next main 1.33 (colored) to selected 1.28.4.3 (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.32.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:09 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.32: +13 -42 lines
Diff to previous 1.32 (colored) next main 1.33 (colored) to selected 1.28.4.3 (colored)

sync with head

Revision 1.35 / (download) - annotate - [select for diffs], Mon Feb 10 11:23:14 2014 UTC (10 years, 1 month ago) by hannken
Branch: 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
Changes since 1.34: +5 -25 lines
Diff to previous 1.34 (colored) to selected 1.28.4.3 (colored)

Change layerfs_vget(), layerfs_fhtovp() and the various layer xxx_mount()
functions to unlock/relock the node for the call to layer_node_create().

Finally remove dirty hacks (LK_NOWAIT, kpause) from layer_node_find().

Revision 1.34 / (download) - annotate - [select for diffs], Sun Feb 9 17:15:51 2014 UTC (10 years, 1 month ago) by hannken
Branch: MAIN
Changes since 1.33: +10 -17 lines
Diff to previous 1.33 (colored) to selected 1.28.4.3 (colored)

When layer_node_alloc() finds another thread already inserted the node
into the hashlist and discards the now unneeded node it will raise a
panic "dead but not clean".

Reorder the initialization and use ungetnewvnode() to discard the node.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jan 29 08:27:04 2014 UTC (10 years, 2 months ago) by hannken
Branch: MAIN
Changes since 1.32: +2 -4 lines
Diff to previous 1.32 (colored) to selected 1.28.4.3 (colored)

Allow layer_node_create() with unlocked lower node and change
layer_bypass() to enter nodes from creation operations unlocked.

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

Catchup with rmind-uvmplock merge.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:58 2011 UTC (12 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-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-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.31: +9 -7 lines
Diff to previous 1.31 (colored) to selected 1.28.4.3 (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.28.4.5 / (download) - annotate - [select for diffs], Mon May 30 14:57:48 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.28.4.4: +3 -3 lines
Diff to previous 1.28.4.4 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored) to selected 1.28.4.3 (colored)

- Amend getnewvnode(9) to take the lock for sharing, not a vnode.
- Update tmpfs to perform vnode and UVM object lock sharing correctly.

Revision 1.28.4.4 / (download) - annotate - [select for diffs], Thu May 19 03:43:03 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.28.4.3: +5 -3 lines
Diff to previous 1.28.4.3 (colored) to branchpoint 1.28 (colored)

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

Discussed with ad@.

Revision 1.28.4.3 / (download) - annotate - [selected], Sat Mar 5 20:55:30 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.28.4.2: +3 -3 lines
Diff to previous 1.28.4.2 (colored) to branchpoint 1.28 (colored)

sync with head

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:37 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.28: +82 -130 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.28.4.3 (colored)

Sync with HEAD.

Revision 1.25.10.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:47 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.25.10.2: +82 -130 lines
Diff to previous 1.25.10.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.28.4.3 (colored)

sync with head.

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

Make holding v_interlock mandatory for callers of vget().

Announced some time ago on tech-kern.

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

sync with head

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jul 2 03:16:00 2010 UTC (13 years, 9 months ago) by rmind
Branch: MAIN
Changes since 1.29: +82 -111 lines
Diff to previous 1.29 (colored) to selected 1.28.4.3 (colored)

Slightly clean-up layerfs and nullfs: update the big description more to
the reality (remove duplicate one in nullfs, merge some differences from
it), KNF, improve and update some comments, add few KASSERT()s, remove
unused declarations, avoid double inclusion of headers, misc.

No functional changes.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jun 6 08:01:31 2010 UTC (13 years, 9 months ago) by hannken
Branch: MAIN
Changes since 1.28: +3 -22 lines
Diff to previous 1.28 (colored) to selected 1.28.4.3 (colored)

Change layered file systems to always pass the locking VOP's down to the
leaf file system.  Remove now unused member v_vnlock from struct vnode.
Welcome to 5.99.30

Discussed on tech-kern.

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:11 2010 UTC (14 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.28: +6 -6 lines
Diff to previous 1.28 (colored) to selected 1.28.4.3 (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.25.10.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:22 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.25.10.1: +3 -3 lines
Diff to previous 1.25.10.1 (colored) to branchpoint 1.25 (colored) to selected 1.28.4.3 (colored)

sync with head

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jan 8 11:35:10 2010 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored) to selected 1.28.4.3 (colored)

The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live
years ago when the kernel was modified to not alter ABI based on
DIAGNOSTIC, and now just call the respective function interfaces
(in lowercase).  Plenty of mix'n match upper/lowercase has creeped
into the tree since then.  Nuke the macros and convert all callsites
to lowercase.

no functional change

Revision 1.25.24.1 / (download) - annotate - [select for diffs], Wed May 13 17:22:16 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.25: +8 -19 lines
Diff to previous 1.25 (colored) next main 1.26 (colored) to selected 1.28.4.3 (colored)

Sync with HEAD.

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

Revision 1.25.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:04 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.25: +8 -19 lines
Diff to previous 1.25 (colored) to selected 1.28.4.3 (colored)

sync with head.

Revision 1.25.18.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:14 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.25: +8 -19 lines
Diff to previous 1.25 (colored) next main 1.26 (colored) to selected 1.28.4.3 (colored)

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Mar 15 17:22:38 2009 UTC (15 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored) to selected 1.28.4.3 (colored)

ansify function definitions

Revision 1.26 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:22 2009 UTC (15 years ago) by dsl
Branch: MAIN
Changes since 1.25: +6 -17 lines
Diff to previous 1.25 (colored) to selected 1.28.4.3 (colored)

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

Revision 1.21.20.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:03 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.21.20.2: +30 -16 lines
Diff to previous 1.21.20.2 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.28.4.3 (colored)

sync with HEAD

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

Sync with HEAD.

Revision 1.15.16.5 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:30 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.16.4: +30 -16 lines
Diff to previous 1.15.16.4 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.28.4.3 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jan 24 17:32:55 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base2, 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, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, 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, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, jym-xensuspend
Changes since 1.24: +4 -7 lines
Diff to previous 1.24 (colored) to selected 1.28.4.3 (colored)

specfs changes for PR kern/37717 (raidclose() is no longer called on
shutdown). There are still problems with device access and a PR will be
filed.

- Kill checkalias(). Allow multiple vnodes to reference a single device.

- Don't play dangerous tricks with block vnodes to ensure that only one
  vnode can describe a block device. Instead, prohibit concurrent opens of
  block devices. As a bonus remove the unreliable code that prevents
  multiple file system mounts on the same device. It's no longer needed.

- Track opens by vnode and by device. Issue cdev_close() when the last open
  goes away, instead of abusing vnode::v_usecount to tell if the device is
  open.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jan 23 20:11:32 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.23: +28 -11 lines
Diff to previous 1.23 (colored) to selected 1.28.4.3 (colored)

layer_node_find: if we find a node being cleaned out, then ignore it and
continue.  A thread trying to clean out the extant layer vnode needs to
acquire the shared lock (i.e. the lower vnode's lock), which our caller
already holds. To allow the cleaning to succeed the current thread must make
progress.  So, for a brief time more than one vnode in a layered file system
may refer to a single vnode in the lower file system.

Revision 1.15.16.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:53 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.16.3: +18 -9 lines
Diff to previous 1.15.16.3 (colored) to branchpoint 1.15 (colored) to selected 1.28.4.3 (colored)

sync with head

Revision 1.21.20.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:57:02 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.21.20.1: +18 -9 lines
Diff to previous 1.21.20.1 (colored) to branchpoint 1.21 (colored) to selected 1.28.4.3 (colored)

sync with HEAD

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

Sync with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:59 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.22: +18 -9 lines
Diff to previous 1.22 (colored) to selected 1.28.4.3 (colored)

Merge vmlocking2 to head.

Revision 1.22.6.3 / (download) - annotate - [select for diffs], Wed Dec 12 01:16:08 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.22.6.2: +4 -2 lines
Diff to previous 1.22.6.2 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored) to selected 1.28.4.3 (colored)

layer_node_alloc: copy VV_MPSAFE from lowervp.

Revision 1.22.6.2 / (download) - annotate - [select for diffs], Thu Dec 6 21:03:38 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.22.6.1: +14 -7 lines
Diff to previous 1.22.6.1 (colored) to branchpoint 1.22 (colored) to selected 1.28.4.3 (colored)

- layer_node_find: fix a race.
- Use kmem_alloc/free.

Revision 1.22.6.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:25 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored) to selected 1.28.4.3 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.21.20.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:33:18 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.21: +11 -9 lines
Diff to previous 1.21 (colored) to selected 1.28.4.3 (colored)

sync with HEAD

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

sync with head.

Revision 1.21.18.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:53 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.21: +11 -9 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.28.4.3 (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.21.22.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:54 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.21: +11 -9 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.28.4.3 (colored)

sync with head.

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

Merge from vmlocking:

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

Revision 1.21.6.2 / (download) - annotate - [select for diffs], Sun Jun 17 21:31:40 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.21.6.1: +5 -3 lines
Diff to previous 1.21.6.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.28.4.3 (colored)

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

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Tue Mar 13 17:51:08 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.21: +8 -8 lines
Diff to previous 1.21 (colored) to selected 1.28.4.3 (colored)

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

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Sat Feb 17 23:27:49 2007 UTC (17 years, 1 month ago) by tron
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.20: +32 -53 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.28.4.3 (colored)

Apply patch (requested by chs in ticket #422):
- Fix various deadlock problems with nullfs and unionfs.
- Speed up path lookups by upto 25%.

Revision 1.18.20.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:11 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.18: +33 -53 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.28.4.3 (colored)

Sync with head.

Revision 1.15.16.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:17 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.16.1: +33 -53 lines
Diff to previous 1.15.16.1 (colored) to branchpoint 1.15 (colored) to selected 1.28.4.3 (colored)

sync with head.

Revision 1.18.22.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:59 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.18: +33 -53 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.28.4.3 (colored)

sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Dec 9 16:11:52 2006 UTC (17 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: yamt-x86pmap, vmlocking, matt-armv6, jmcneill-pm
Changes since 1.20: +32 -53 lines
Diff to previous 1.20 (colored) to selected 1.28.4.3 (colored)

a smorgasbord of improvements to vnode locking and path lookup:
 - LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP().
   these now always return the parent vnode locked.  namei() works as before.
   lookup() and various other paths no longer acquire vnode locks in the
   wrong order via vrele().  fixes PR 32535.
   as a nice side effect, path lookup is also up to 25% faster.
 - the above allows us to get rid of PDIRUNLOCK.
 - also get rid of WANTPARENT (just use LOCKPARENT and unlock it).
 - remove an assumption in layer_node_find() that all file systems implement
   a recursive VOP_LOCK() (unionfs doesn't).
 - require that all file systems supply vfs_vptofh and vfs_fhtovp routines.
   fill in eopnotsupp() for file systems that don't support being exported
   and remove the checks for NULL.  (layerfs calls these without checking.)
 - in union_lookup1(), don't change refcounts in the ISDOTDOT case, just
   adjust which vnode is locked.  fixes PR 33374.
 - apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().

Revision 1.20 / (download) - annotate - [select for diffs], Sat Nov 25 22:14:38 2006 UTC (17 years, 4 months ago) by elad
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored) to selected 1.28.4.3 (colored)

Part of PR/33280: Christian Ehrhardt: In the error path (which probably
can't happen) lmp->layerm_hashlock is not unlocked.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Nov 24 22:52:16 2006 UTC (17 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) to selected 1.28.4.3 (colored)

s/existance/existence/, from Zafer.

Revision 1.15.16.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:10:25 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15: +20 -9 lines
Diff to previous 1.15 (colored) to selected 1.28.4.3 (colored)

sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:50 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base2, yamt-splraiseipl-base, 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, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, 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-splraiseipl, newlock2
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.28.4.3 (colored)

merge ktrace-lwp.

Revision 1.14.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:10:25 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.5: +20 -9 lines
Diff to previous 1.14.2.5 (colored) next main 1.15 (colored) to selected 1.28.4.3 (colored)

Sync with HEAD. Here we go again...

Revision 1.17 / (download) - annotate - [select for diffs], Tue Aug 30 20:08:01 2005 UTC (18 years, 7 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.28.4.3 (colored)

Remove __P()

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jul 24 17:33:24 2005 UTC (18 years, 8 months ago) by erh
Branch: MAIN
Changes since 1.15: +19 -8 lines
Diff to previous 1.15 (colored) to selected 1.28.4.3 (colored)

Provide a sysctl (vfs.layerfs.debug) to control verbose output when
LAYERFS_DIAGNOSTIC is turned on.

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

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.14.2.3 / (download) - annotate - [select for diffs], Tue Aug 24 17:57:39 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.2: +3 -3 lines
Diff to previous 1.14.2.2 (colored) to selected 1.28.4.3 (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.14.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:54:05 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.14.2.1: +3 -7 lines
Diff to previous 1.14.2.1 (colored) to selected 1.28.4.3 (colored)

Sync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Thu Aug 7 16:32:36 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, 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, 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, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.14: +3 -7 lines
Diff to previous 1.14 (colored) to selected 1.28.4.3 (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.14.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:50 2003 UTC (20 years, 9 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) to selected 1.28.4.3 (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.14 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:40 2003 UTC (20 years, 9 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) to selected 1.28.4.3 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 29 18:43:32 2003 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) to selected 1.28.4.3 (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.12 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:02 2003 UTC (20 years, 9 months ago) by darrenr
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) to selected 1.28.4.3 (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.8.2.2 / (download) - annotate - [select for diffs], Sat Mar 16 16:02:02 2002 UTC (22 years ago) by jdolecek
Branch: kqueue
Changes since 1.8.2.1: +3 -3 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.28.4.3 (colored)

Catch up with -current.

Revision 1.7.2.4 / (download) - annotate - [select for diffs], Thu Feb 28 04:14:56 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.7.2.3: +3 -3 lines
Diff to previous 1.7.2.3 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.28.4.3 (colored)

Catch up to -current.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Feb 20 06:16:22 2002 UTC (22 years, 1 month ago) by enami
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.28.4.3 (colored)

Don't use MALLOC for variable sized allocation.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:01:36 2002 UTC (22 years, 2 months ago) by thorpej
Branch: kqueue
Changes since 1.8: +4 -2 lines
Diff to previous 1.8 (colored) to selected 1.28.4.3 (colored)

Sync kqueue branch with -current.

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Tue Jan 8 00:33:36 2002 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.7.2.2: +2 -3 lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored) to selected 1.28.4.3 (colored)

Catch up to -current.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 15 09:48:21 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.9: +2 -3 lines
Diff to previous 1.9 (colored) to selected 1.28.4.3 (colored)

don't need <sys/types.h> when including <sys/param.h>

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:17:09 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.7.2.1: +4 -1 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) to selected 1.28.4.3 (colored)

Catch up to -current.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:09 2001 UTC (22 years, 4 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.8: +4 -1 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.28.4.3 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Nov 10 13:33:42 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.8: +4 -1 lines
Diff to previous 1.8 (colored) to selected 1.28.4.3 (colored)

add RCSIDs

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:07:35 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) to selected 1.28.4.3 (colored)

Catch up to -current.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jun 7 13:32:47 2001 UTC (22 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache, kqueue
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) to selected 1.28.4.3 (colored)

Typos in comments (misc/13133 by Michael K. Sanders)

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:15:01 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3.4.1: +2 -1 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.28.4.3 (colored)

Sync with HEAD.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Nov 27 08:39:45 2000 UTC (23 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored) to selected 1.28.4.3 (colored)

Initial integration of the Unified Buffer Cache project.

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:46 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3: +14 -3 lines
Diff to previous 1.3 (colored) to selected 1.28.4.3 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 16 18:08:24 2000 UTC (24 years ago) by jdolecek
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.5: +12 -2 lines
Diff to previous 1.5 (colored) to selected 1.28.4.3 (colored)

Add new VFS op routine - vfs_done and call it on filesystem detach
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading. This fixes random panics
when LKM for filesystem using pools was loaded and unloaded several
times.

For each leaf filesystem, add appropriate vfs_done routine.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Mar 13 23:52:40 2000 UTC (24 years ago) by soren
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) to selected 1.28.4.3 (colored)

Fix doubled 'the's in comments.

Revision 1.3.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:36:04 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) next main 1.4 (colored) to selected 1.28.4.3 (colored)

Pull up to last week's -current.

Revision 1.3.6.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:42:09 1999 UTC (24 years, 4 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) next main 1.4 (colored) to selected 1.28.4.3 (colored)

Sync with -current

Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 25 23:34:31 1999 UTC (24 years, 5 months ago) by wrstuden
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) to selected 1.28.4.3 (colored)

Since we don't put layered device nodes in the spechash hash chains,
initialize vp->v_hashchain to NULL.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Mon Aug 2 22:27:34 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.3.2.1: +387 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.28.4.3 (colored)

Update from trunk.

Revision 1.3.2.1, Thu Jul 15 21:30:32 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.3: +0 -387 lines
FILE REMOVED

file layer_subr.c was added on branch chs-ubc2 on 1999-08-02 22:27:34 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 15 21:30:32 1999 UTC (24 years, 8 months ago) by wrstuden
Branch: MAIN
CVS Tags: chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep, chs-ubc2
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored) to selected 1.28.4.3 (colored)

Define VLAYER and make layered fs's set this flag when creating their vnodes.

getnewvnode now checks this bit, and it if's set makes sure a vnode's not
locked before removing it from the free list.

Closes PR 7954 by Alan Barrett <apb@iafrica.com>.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jul 12 16:37:03 1999 UTC (24 years, 8 months ago) by wrstuden
Branch: MAIN
Changes since 1.1: +6 -6 lines
Diff to previous 1.1 (colored) to selected 1.28.4.3 (colored)

Fix tyop pointed out by Chuck Silvers <chuq@chuq.com>.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 8 01:19:00 1999 UTC (24 years, 8 months ago) by wrstuden
Branch: MAIN
Diff to selected 1.28.4.3 (colored)

Introduce layer library in genfs. This set of files abstracts most of
the functionality of nullfs. The latter is now just a mount & unmount
routine, and a few tables. umapfs borrow most of this infrastructure.

Both fs's are now nfs-exportable.

All layered fs's share a common format to private mount & private
vnode structs (which a particular fs can extend).

Also add genfs_noerr_rele(), a vnode op which will vrele/vput
operand vnodes appropriately.

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>