The NetBSD Project

CVS log for src/sys/fs/msdosfs/msdosfs_denode.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.50 / (download) - annotate - [select for diffs], Tue Jul 8 09:21:52 2014 UTC (2 weeks, 6 days ago) by hannken
Branch: MAIN
CVS Tags: HEAD
Changes since 1.49: +77 -211 lines
Diff to previous 1.49 (colored)

Change msdosfs from hashlist to vcache:
- Use (dir_cluster, dir_offset, dir_generation) as key, where
  dir_generation is non-zero and unique for unlinked but open nodes.
- Change deget() to return a vnode as it is unsafe to return a
  referenced but unlocked denode.

Revision 1.49 / (download) - annotate - [select for diffs], Fri May 30 08:42:35 2014 UTC (8 weeks, 3 days ago) by hannken
Branch: MAIN
Changes since 1.48: +11 -3 lines
Diff to previous 1.48 (colored)

msdosfs_reclaim(): add missing fstrans and protect change
of v_data with v_interlock as msdosfs_sync() now needs it.

Revision 1.46.12.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:47 2013 UTC (17 months ago) by tls
Branch: tls-maxphys
Changes since 1.46.12.1: +2 -3 lines
Diff to previous 1.46.12.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

resync with head

Revision 1.46.2.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:19 2013 UTC (18 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.46.2.1: +2 -3 lines
Diff to previous 1.46.2.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

sync with head

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:39 2013 UTC (18 months, 1 week ago) by yamt
Branch: yamt-pagecache
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

sync with (a bit old) head

Revision 1.48 / (download) - annotate - [select for diffs], Thu Dec 20 08:03:42 2012 UTC (19 months, 1 week ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Changes since 1.47: +2 -3 lines
Diff to previous 1.47 (colored)

Change bread() and breadn() to never return a buffer on
error and modify all callers to not brelse() on error.

Welcome to 6.99.16

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

Revision 1.46.12.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:39 2012 UTC (20 months, 1 week ago) by tls
Branch: tls-maxphys
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.47 / (download) - annotate - [select for diffs], Sun Nov 4 17:57:59 2012 UTC (20 months, 3 weeks ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

Stylistic changes in comments/strings:
"FAT" and "fat" are different things, use the appropriate case.
"GEMDOS" is all caps.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:14 2011 UTC (3 years, 1 month ago) by cherry
Branch: cherry-xenmp
Changes since 1.44: +12 -11 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Jun 16 09:21:02 2011 UTC (3 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-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-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-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
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.45: +9 -7 lines
Diff to previous 1.45 (colored)

Rename uvm_vnp_zerorange(struct vnode *, off_t, size_t) to
ubc_zerorange(struct uvm_object *, off_t, size_t, int) changing
the first argument to an uvm_object and adding a flags argument.

Modify tmpfs_reg_resize() to zero the backing store (aobj) instead
of the vnode.  Ubc_purge() no longer panics when unmounting tmpfs.

Keep uvm_vnp_zerorange() until the next kernel version bump.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:53 2011 UTC (3 years, 1 month ago) by rmind
Branch: MAIN
Changes since 1.44: +5 -6 lines
Diff to previous 1.44 (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.40.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:22 2011 UTC (3 years, 1 month ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.40: +156 -6 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.37.4.7 / (download) - annotate - [select for diffs], Tue May 31 03:04:58 2011 UTC (3 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.4.6: +2 -3 lines
Diff to previous 1.37.4.6 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

sync with head

Revision 1.37.4.6 / (download) - annotate - [select for diffs], Thu May 19 03:43:01 2011 UTC (3 years, 2 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.4.5: +4 -5 lines
Diff to previous 1.37.4.5 (colored) to branchpoint 1.37 (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.44 / (download) - annotate - [select for diffs], Thu May 19 03:11:56 2011 UTC (3 years, 2 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.43: +2 -3 lines
Diff to previous 1.43 (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.37.4.5 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:06 2011 UTC (3 years, 3 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.4.4: +154 -3 lines
Diff to previous 1.37.4.4 (colored) to branchpoint 1.37 (colored)

sync with head

Revision 1.43 / (download) - annotate - [select for diffs], Mon Apr 4 19:16:58 2011 UTC (3 years, 3 months ago) by hannken
Branch: MAIN
Changes since 1.42: +153 -2 lines
Diff to previous 1.42 (colored)

Msdosfs on-disk meta data is not sufficient to create or validate file handles.

Maintain a tree of file handles, create nodes from msdosfs_vptofh() and keep
them until either the file gets unlinked or the file system gets unmounted.

Fixes the msdosfs part of PR #43745 (fhopen of an unlinked file causes problems
on multiple file systems)

Revision 1.42 / (download) - annotate - [select for diffs], Tue Mar 22 20:33:51 2011 UTC (3 years, 4 months ago) by hannken
Branch: MAIN
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored)

When truncating a file purge the fat cache after setting the new size
and after all io but before actually updating the cluster chain.

Both uvm_vnp_zerorange() and vtruncbuf() call get/putpages -> bmap -> pcbmap
and here the fat cache gets updated with information no longer valid after
truncation.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Mar 20 12:21:28 2011 UTC (3 years, 4 months ago) by hannken
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

When extending a file, either by truncating or by writing past EOF make
sure the unallocated remainder of the last page gets zeroed.

Detected by fsx.

Revision 1.37.4.4 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:04 2011 UTC (3 years, 4 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.4.3: +3 -3 lines
Diff to previous 1.37.4.3 (colored) to branchpoint 1.37 (colored)

sync with head

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:16 2010 UTC (3 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.37.2.1: +2 -2 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Revision 1.31.10.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:33 2010 UTC (3 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.31.10.3: +8 -4 lines
Diff to previous 1.31.10.3 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Jul 21 17:52:10 2010 UTC (4 years 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.39: +3 -3 lines
Diff to previous 1.39 (colored)

Make holding v_interlock mandatory for callers of vget().

Announced some time ago on tech-kern.

Revision 1.37.4.3 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:50 2010 UTC (4 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.4.2: +3 -3 lines
Diff to previous 1.37.4.2 (colored) to branchpoint 1.37 (colored)

sync with head

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:09 2010 UTC (4 years, 1 month ago) by hannken
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (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.37.4.2 / (download) - annotate - [select for diffs], Sun May 30 05:17:55 2010 UTC (4 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.4.1: +6 -2 lines
Diff to previous 1.37.4.1 (colored) to branchpoint 1.37 (colored)

sync with head

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:06 2010 UTC (4 years, 2 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.37: +6 -2 lines
Diff to previous 1.37 (colored)

Sync with HEAD.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Apr 9 08:09:18 2010 UTC (4 years, 3 months ago) by hannken
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.37: +6 -2 lines
Diff to previous 1.37 (colored)

Add file system suspension support (vfs_suspend(9)) to msdosfs.

Reviewed by: Antti Kantee <pooka@netbsd.org>

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:06 2010 UTC (4 years, 4 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (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.31.10.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:13 2010 UTC (4 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.31.10.2: +3 -3 lines
Diff to previous 1.31.10.2 (colored) to branchpoint 1.31 (colored)

sync with head

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jan 8 11:35:08 2010 UTC (4 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (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.33.12.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:50 2009 UTC (5 years, 2 months ago) by jym
Branch: jym-xensuspend
Changes since 1.33: +18 -32 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

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

Revision 1.31.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:43 2009 UTC (5 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.31.10.1: +19 -33 lines
Diff to previous 1.31.10.1 (colored) to branchpoint 1.31 (colored)

sync with head.

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:36:53 2009 UTC (5 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.33: +18 -32 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Mar 15 17:15:57 2009 UTC (5 years, 4 months 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.35: +5 -5 lines
Diff to previous 1.35 (colored)

ansify function definitions

Revision 1.35 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:23 2009 UTC (5 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.34: +7 -7 lines
Diff to previous 1.34 (colored)

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:21 2009 UTC (5 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.33: +10 -24 lines
Diff to previous 1.33 (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.32.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:47 2008 UTC (6 years, 1 month ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.31.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:04 2008 UTC (6 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.31: +7 -9 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Revision 1.31.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:02 2008 UTC (6 years, 2 months ago) by yamt
Branch: yamt-pf42
Changes since 1.31: +7 -9 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Fri May 16 09:21:59 2008 UTC (6 years, 2 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, 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-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, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, jym-xensuspend
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Make sure all cached buffers with valid, not yet written data have been
run through copy-on-write.  Call fscow_run() with valid data where possible.

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

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

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

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

Welcome to 4.99.63

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

Revision 1.31.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:18 2008 UTC (6 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.31: +6 -8 lines
Diff to previous 1.31 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Mon May 5 17:11:16 2008 UTC (6 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base2
Branch point for: wrstuden-revivesa
Changes since 1.31: +6 -8 lines
Diff to previous 1.31 (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.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:56 2008 UTC (6 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.22.6.2: +3 -6 lines
Diff to previous 1.22.6.2 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

sync with HEAD

Revision 1.26.4.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:39 2008 UTC (6 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.26.4.2: +14 -11 lines
Diff to previous 1.26.4.2 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

Revision 1.8.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:45:47 2008 UTC (6 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.6: +57 -27 lines
Diff to previous 1.8.2.6 (colored) next main 1.9 (colored)

sync with head

Revision 1.28.4.2 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:17 2008 UTC (6 years, 6 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.28.4.1: +1 -4 lines
Diff to previous 1.28.4.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Sync with HEAD

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jan 17 10:39:14 2008 UTC (6 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.30: +3 -6 lines
Diff to previous 1.30 (colored)

Fix dodgy tests of v_usecount.

Revision 1.22.6.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:55:44 2008 UTC (6 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.22.6.1: +59 -29 lines
Diff to previous 1.22.6.1 (colored) to branchpoint 1.22 (colored)

sync with HEAD

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:55:30 2008 UTC (6 years, 6 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.28: +13 -7 lines
Diff to previous 1.28 (colored)

Sync with HEAD

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:41 2008 UTC (6 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.29: +6 -6 lines
Diff to previous 1.29 (colored)

Merge vmlocking2 to head.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Dec 28 17:46:48 2007 UTC (6 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.28: +9 -3 lines
Diff to previous 1.28 (colored)

Use uvm_vnp_setwritesize() on file extending to instruct UVM to NOT read-in
the newly added space first. This significantly speeds up write speed for
msdosfs and making it at par with ffs wich already had this patched.

Speed increase measured on my IDE disc from 2Mb/sec to 32 Mb/sec

Revision 1.26.4.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:45 2007 UTC (6 years, 7 months ago) by mjf
Branch: mjf-devfs
Changes since 1.26.4.1: +46 -19 lines
Diff to previous 1.26.4.1 (colored) to branchpoint 1.26 (colored)

Sync with HEAD.

Revision 1.22.4.4 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:08 2007 UTC (6 years, 7 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.22.4.3: +46 -19 lines
Diff to previous 1.22.4.3 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Sync with HEAD.

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Sun Dec 9 16:04:00 2007 UTC (6 years, 7 months ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.20: +47 -19 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Pullup to HEAD

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:15 2007 UTC (6 years, 7 months ago) by mjf
Branch: mjf-devfs
Changes since 1.26: +6 -9 lines
Diff to previous 1.26 (colored)

Sync with HEAD.

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Sat Dec 8 17:57:37 2007 UTC (6 years, 7 months ago) by ad
Branch: vmlocking2
Changes since 1.27.2.1: +2 -2 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Dec 8 14:48:33 2007 UTC (6 years, 7 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.27: +46 -19 lines
Diff to previous 1.27 (colored)

Merge ihash locking changes from the vmlocking branch.

Revision 1.8.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:31:57 2007 UTC (6 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.5: +6 -9 lines
Diff to previous 1.8.2.5 (colored)

sync with head

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:04 2007 UTC (6 years, 7 months ago) by ad
Branch: vmlocking2
Changes since 1.27: +49 -22 lines
Diff to previous 1.27 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.22.4.3 / (download) - annotate - [select for diffs], Tue Nov 27 19:37:40 2007 UTC (6 years, 8 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.22.4.2: +6 -9 lines
Diff to previous 1.22.4.2 (colored) to branchpoint 1.22 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:46 2007 UTC (6 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-base
Branch point for: vmlocking2
Changes since 1.26: +6 -9 lines
Diff to previous 1.26 (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.22.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:08 2007 UTC (6 years, 8 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.22: +15 -9 lines
Diff to previous 1.22 (colored)

sync with HEAD

Revision 1.8.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:05 2007 UTC (6 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.4: +15 -9 lines
Diff to previous 1.8.2.4 (colored)

sync with head.

Revision 1.22.4.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:15 2007 UTC (6 years, 9 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.22.4.1: +7 -7 lines
Diff to previous 1.22.4.1 (colored) to branchpoint 1.22 (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.19.2.10 / (download) - annotate - [select for diffs], Thu Oct 25 20:52:16 2007 UTC (6 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.19.2.9: +46 -19 lines
Diff to previous 1.19.2.9 (colored) next main 1.20 (colored)

Fix up mnt_vnodelist handling.

Revision 1.22.8.2 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:28 2007 UTC (6 years, 9 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.22.8.1: +7 -7 lines
Diff to previous 1.22.8.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Oct 10 20:42:23 2007 UTC (6 years, 9 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.25: +5 -5 lines
Diff to previous 1.25 (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.19.2.9 / (download) - annotate - [select for diffs], Tue Oct 9 15:22:15 2007 UTC (6 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.19.2.8: +7 -3 lines
Diff to previous 1.19.2.8 (colored)

Sync with head.

Revision 1.19.2.8 / (download) - annotate - [select for diffs], Tue Oct 9 13:44:16 2007 UTC (6 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.19.2.7: +5 -3 lines
Diff to previous 1.19.2.7 (colored)

Sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 8 18:04:04 2007 UTC (6 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Merge brelse() changes from the vmlocking branch.

Revision 1.22.8.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:29:45 2007 UTC (6 years, 9 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.22: +10 -4 lines
Diff to previous 1.22 (colored)

sync with head.

Revision 1.7.10.2 / (download) - annotate - [select for diffs], Thu Oct 4 18:43:58 2007 UTC (6 years, 9 months ago) by bouyer
Branch: netbsd-3
Changes since 1.7.10.1: +8 -4 lines
Diff to previous 1.7.10.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Pull up following revision(s) (requested by pooka in ticket #1849):
	sys/fs/msdosfs/msdosfs_denode.c: revision 1.24
Release vnode being created in error branch instead of leaving it
locked.  Ideally the function should be rewritten to do things in
a different order, but this tries to keep changes minimal aiming
for a possible netbsd-4 pullup.
fixes PR kern/37034

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:50 2007 UTC (6 years, 9 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.22: +10 -4 lines
Diff to previous 1.22 (colored)

Sync with HEAD.

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Sun Sep 30 20:27:55 2007 UTC (6 years, 9 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.17: +8 -4 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Catch up w/ last night's netbsd-4

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sat Sep 29 11:33:35 2007 UTC (6 years, 10 months ago) by xtraeme
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.17: +8 -4 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Pull up following revision(s) (requested by pooka in ticket #909):
	sys/fs/msdosfs/msdosfs_denode.c: revision 1.24

Release vnode being created in error branch instead of leaving it
locked.  Ideally the function should be rewritten to do things in
a different order, but this tries to keep changes minimal aiming
for a possible netbsd-4 pullup.
fixes PR kern/37034

Revision 1.24 / (download) - annotate - [select for diffs], Fri Sep 28 19:48:42 2007 UTC (6 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base2
Changes since 1.23: +8 -4 lines
Diff to previous 1.23 (colored)

Release vnode being created in error branch instead of leaving it
locked.  Ideally the function should be rewritten to do things in
a different order, but this tries to keep changes minimal aiming
for a possible netbsd-4 pullup.

fixes PR kern/37034

Revision 1.23 / (download) - annotate - [select for diffs], Mon Sep 24 00:42:13 2007 UTC (6 years, 10 months ago) by rumble
Branch: MAIN
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (colored)

Avoid stack allocation of large dirent structures in foo_readdir().

Revision 1.19.2.7 / (download) - annotate - [select for diffs], Sun Sep 16 19:04:29 2007 UTC (6 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.19.2.6: +4 -6 lines
Diff to previous 1.19.2.6 (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.8.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:24 2007 UTC (6 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.3: +8 -13 lines
Diff to previous 1.8.2.3 (colored)

sync with head.

Revision 1.19.2.6 / (download) - annotate - [select for diffs], Mon Aug 20 21:26:07 2007 UTC (6 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.19.2.5: +3 -3 lines
Diff to previous 1.19.2.5 (colored)

Sync with HEAD.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:57 2007 UTC (6 years, 11 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.22.10.2 / (download) - annotate - [select for diffs], Mon Jul 23 11:05:48 2007 UTC (7 years ago) by pooka
Branch: matt-mips64
Changes since 1.22.10.1: +708 -0 lines
Diff to previous 1.22.10.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Also set writesize when creating node.

noticed by Markus W Kilbinger

Revision 1.22.10.1, Mon Jul 23 11:05:47 2007 UTC (7 years ago) by pooka
Branch: matt-mips64
Changes since 1.22: +0 -708 lines
FILE REMOVED

file msdosfs_denode.c was added on branch matt-mips64 on 2007-07-23 11:05:48 +0000

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jul 23 11:05:47 2007 UTC (7 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Also set writesize when creating node.

noticed by Markus W Kilbinger

Revision 1.19.2.5 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:30 2007 UTC (7 years ago) by ad
Branch: vmlocking
Changes since 1.19.2.4: +4 -10 lines
Diff to previous 1.19.2.4 (colored)

Sync with head.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:09:24 2007 UTC (7 years ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.20: +4 -10 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jun 30 09:37:55 2007 UTC (7 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Changes since 1.20: +4 -10 lines
Diff to previous 1.20 (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.19.2.4 / (download) - annotate - [select for diffs], Sun Jun 17 21:31:07 2007 UTC (7 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.19.2.3: +5 -5 lines
Diff to previous 1.19.2.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.19.2.3 / (download) - annotate - [select for diffs], Sun May 13 17:36:31 2007 UTC (7 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.19.2.2: +4 -4 lines
Diff to previous 1.19.2.2 (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.17.4.3 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:57 2007 UTC (7 years, 4 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.17.4.2: +4 -4 lines
Diff to previous 1.17.4.2 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

sync with head.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Tue Mar 13 17:50:37 2007 UTC (7 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.19.2.1: +4 -4 lines
Diff to previous 1.19.2.1 (colored)

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

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:51:35 2007 UTC (7 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

Sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:32 2007 UTC (7 years, 4 months 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.19: +4 -4 lines
Diff to previous 1.19 (colored)

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

Revision 1.17.4.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:10 2007 UTC (7 years, 4 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.17.4.1: +4 -3 lines
Diff to previous 1.17.4.1 (colored) to branchpoint 1.17 (colored)

Sync with HEAD.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:59 2007 UTC (7 years, 4 months ago) by christos
Branch: MAIN
Branch point for: vmlocking
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:12 2007 UTC (7 years, 5 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

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

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:55 2007 UTC (7 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.2: +3 -2 lines
Diff to previous 1.8.2.2 (colored)

sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Feb 20 16:21:03 2007 UTC (7 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

Call genfs_node_destroy() where appropriate.

Revision 1.14.8.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:05 2007 UTC (7 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.14.8.1: +4 -4 lines
Diff to previous 1.14.8.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Sync with head.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:49:56 2006 UTC (7 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.1: +8 -12 lines
Diff to previous 1.8.2.1 (colored)

sync with head.

Revision 1.14.10.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:38 2006 UTC (7 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.14.10.1: +7 -7 lines
Diff to previous 1.14.10.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Nov 25 12:17:30 2006 UTC (7 years, 8 months ago) by scw
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RC1
Branch point for: yamt-idlelwp, wrstuden-fixsa, netbsd-4
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

Support FAT filesystems on non-DEV_BSIZE media.

Based on the patches provided in PR kern/17398 by Trevin Beattie.

Revision 1.14.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:18 2006 UTC (7 years, 8 months ago) by ad
Branch: newlock2
Changes since 1.14: +6 -10 lines
Diff to previous 1.14 (colored)

Sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:35 2006 UTC (7 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)

__unused removal on arguments; approved by core.

Revision 1.14.10.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:06 2006 UTC (7 years, 9 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.14: +6 -10 lines
Diff to previous 1.14 (colored)

sync with head

Revision 1.15 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:11 2006 UTC (7 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.14: +6 -10 lines
Diff to previous 1.14 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:56:57 2006 UTC (7 years, 10 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.12: +7 -6 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

sync with head

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:29 2006 UTC (8 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8: +37 -16 lines
Diff to previous 1.8 (colored)

sync with head.

Revision 1.12.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:37:51 2006 UTC (8 years, 1 month ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.12.6.1: +6 -5 lines
Diff to previous 1.12.6.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with head.

Revision 1.12.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:34 2006 UTC (8 years, 2 months ago) by tron
Branch: peter-altq
Changes since 1.12: +7 -6 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.12.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:35 2006 UTC (8 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.12: +7 -6 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Sun May 14 21:31:52 2006 UTC (8 years, 2 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.13: +6 -5 lines
Diff to previous 1.13 (colored)

integrate kauth.

Revision 1.12.10.3 / (download) - annotate - [select for diffs], Sat May 6 23:31:29 2006 UTC (8 years, 2 months ago) by christos
Branch: elad-kernelauth
Changes since 1.12.10.2: +3 -2 lines
Diff to previous 1.12.10.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:57 2006 UTC (8 years, 3 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Sync with head.

Revision 1.12.10.2 / (download) - annotate - [select for diffs], Wed Apr 19 05:03:55 2006 UTC (8 years, 3 months ago) by elad
Branch: elad-kernelauth
Changes since 1.12.10.1: +3 -3 lines
Diff to previous 1.12.10.1 (colored) to branchpoint 1.12 (colored)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Apr 15 02:44:16 2006 UTC (8 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Coverity CID 2508: Initialize variable

Revision 1.12.10.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:31:33 2006 UTC (8 years, 4 months ago) by elad
Branch: elad-kernelauth
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored)

Adapt to kernel authorization KPI.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:25 2005 UTC (8 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.11: +7 -7 lines
Diff to previous 1.11 (colored)

merge ktrace-lwp.

Revision 1.4.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:27 2005 UTC (8 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.6: +33 -14 lines
Diff to previous 1.4.2.6 (colored) next main 1.5 (colored)

Sync with HEAD. Here we go again...

Revision 1.11 / (download) - annotate - [select for diffs], Wed Nov 2 12:38:58 2005 UTC (8 years, 8 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.10: +4 -3 lines
Diff to previous 1.10 (colored)

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Thu Oct 20 03:18:45 2005 UTC (8 years, 9 months ago) by yamt
Branch: yamt-vop
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

adapt msdosfs.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Aug 29 23:57:35 2005 UTC (8 years, 11 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.9: +6 -6 lines
Diff to previous 1.9 (colored)

Remove __P()

Revision 1.7.10.1 / (download) - annotate - [select for diffs], Wed Aug 24 18:43:38 2005 UTC (8 years, 11 months ago) by riz
Branch: netbsd-3
CVS Tags: 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
Changes since 1.7: +25 -6 lines
Diff to previous 1.7 (colored)

Pull up following revision(s) (requested by yamt in ticket #688):
	sys/miscfs/genfs/genfs_vnops.c: revision 1.98 via patch
	sys/ufs/ffs/ffs_vfsops.c: revision 1.165
	sys/ufs/lfs/lfs_extern.h: revision 1.69
	sys/fs/filecorefs/filecore_vfsops.c: revision 1.20
	sys/nfs/nfs_node.c: revision 1.80
	sys/fs/smbfs/smbfs_node.c: revision 1.24
	sys/fs/cd9660/cd9660_vfsops.c: revision 1.24
	sys/fs/msdosfs/msdosfs_denode.c: revision 1.8
	sys/miscfs/genfs/genfs_node.h: revision 1.6
	sys/ufs/lfs/lfs_vfsops.c: revision 1.183
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.86
	sys/fs/adosfs/advfsops.c: revision 1.23
	sys/fs/ntfs/ntfs_vfsops.c: revision 1.31
- constify genfs_ops.
- use member designators.

        sys/miscfs/genfs/genfs_vnops.c: revision 1.99 via patch
genfs_getpages: don't forget to put the vnode onto the syncer's work que
ue
even in the case of PGO_LOCKED.

        sys/uvm/uvm_bio.c: revision 1.40
        sys/uvm/uvm_pager.h: revision 1.29
        sys/miscfs/genfs/genfs_vnops.c: revision 1.100 via patch
        sys/ufs/ufs/ufs_inode.c: revision 1.50
- introduce PGO_NOBLOCKALLOC and use it for ubc mapping
  to prevent unnecessary block allocations in the case that
  page size > block size.
- ufs_balloc_range: use VM_PROT_WRITE+PGO_NOBLOCKALLOC rather than
  VM_PROT_READ.

        sys/uvm/uvm_fault.c: revision 1.96
        sys/miscfs/genfs/genfs_vnops.c: revision 1.101 via patch
        sys/uvm/uvm_object.h: revision 1.19
        sys/miscfs/genfs/genfs_node.h: revision 1.7
ensure that vnodes with dirty pages are always on syncer's queue.
- genfs_putpages: wait for i/o completion of PG_RELEASED/PG_PAGEOUT pages by
  setting "wasclean" false when encountering them.
  suggested by Stephan Uphoff in PR/24596 (1).
- genfs_putpages: write protect pages when cleaning out, if
  we're going to take the vnode off the syncer's queue.
  uvm_fault: don't write-map pages unless its vnode is already on
  the syncer's queue.
  fix PR/24596 (3) but in the different way from the suggested fix.
  (to keep our current behaviour, ie. not to require explicit msync.
  discussed on tech-kern@.)
- genfs_putpages: don't mistakenly take a vnode off the queue
  by introducing a generation number in genfs_node.
  genfs_getpages: increment the generation number.
  suggested by Stephan Uphoff in PR/24596 (2).
- add some assertions.

        sys/miscfs/genfs/genfs_vnops.c: revision 1.102 via patch
genfs_putpages: don't bother to clean the vnode unless VONWORKLST.

        sys/ufs/ffs/ffs_vnops.c: revision 1.71
ffs_full_fsync: because VBLK/VCHR can be mmap'ed,
do VOP_PUTPAGES for them as well.

        sys/uvm/uvm_fault.c: revision 1.97
uvm_fault: check a correct object in the case of layered filesystems.
fix PR/30811 from Jukka Salmi.

        sys/uvm/uvm_object.h: revision 1.20
        sys/ufs/ffs/ffs_vfsops.c: revision 1.167
        sys/uvm/uvm_bio.c: revision 1.41
        sys/ufs/ufs/ufs_vnops.c: revision 1.129
        sys/uvm/uvm_mmap.c: revision 1.92
        sys/uvm/uvm_fault.c: revision 1.98
        sys/kern/vfs_subr.c: revision 1.252
        sys/fs/msdosfs/denode.h: revision 1.5
        sys/miscfs/genfs/genfs_vnops.c: revision 1.103 via patch
        sys/fs/msdosfs/msdosfs_denode.c: revision 1.9
        sys/sys/vnode.h: revision 1.141
        sys/ufs/ufs/ufs_inode.c: revision 1.51
        sys/ufs/ufs/ufs_extern.h: revision 1.45 via patch
        sys/miscfs/genfs/genfs_node.h: revision 1.8
        sys/ufs/lfs/lfs_vfsops.c: revision 1.184
        sys/uvm/uvm_pager.h: revision 1.30
        sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.87
update file timestamps for nfsd loaned-read and mmap.
PR/25279.  discussed on tech-kern@.

        sys/miscfs/genfs/genfs_vnops.c: revision 1.104 via patch
don't write-protect wired pages.  pointed by Chuck Silvers.
for now, leave a vnode on the syncer's queue, as suggested by him.

        sys/ufs/ffs/ffs_vnops.c: revision 1.72
revert VCHR part of ffs_vnops.c 1.71.
as VCHR uses the device pager, no point to call VOP_PUTPAGES here.
pointed by Chuck Silvers.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jul 23 12:18:41 2005 UTC (9 years ago) by yamt
Branch: MAIN
Changes since 1.8: +21 -2 lines
Diff to previous 1.8 (colored)

update file timestamps for nfsd loaned-read and mmap.
PR/25279.  discussed on tech-kern@.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 28 09:30:37 2005 UTC (9 years, 1 month ago) by yamt
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored)

- constify genfs_ops.
- use member designators.

Revision 1.4.2.6 / (download) - annotate - [select for diffs], Sun Oct 31 07:24:35 2004 UTC (9 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.5: +3 -3 lines
Diff to previous 1.4.2.5 (colored)

Fix comment that describe the argument structures.

Revision 1.4.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:01 2004 UTC (9 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.4: +10 -9 lines
Diff to previous 1.4.2.4 (colored)

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Tue Aug 24 17:57:37 2004 UTC (9 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.2: +3 -3 lines
Diff to previous 1.4.2.2 (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:42 2004 UTC (9 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.1: +18 -5 lines
Diff to previous 1.4.2.1 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Thu May 20 05:39:34 2004 UTC (10 years, 2 months ago) by atatat
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, matt-timespec, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: netbsd-3
Changes since 1.6: +5 -3 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Sun Apr 25 16:42:41 2004 UTC (10 years, 3 months ago) by simonb
Branch: MAIN
Changes since 1.5: +4 -5 lines
Diff to previous 1.5 (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.5 / (download) - annotate - [select for diffs], Sat Mar 27 04:43:43 2004 UTC (10 years, 4 months 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.4: +14 -2 lines
Diff to previous 1.4 (colored)

Manually attach malloc types when being built as an lkm.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:29 2003 UTC (11 years ago) by darrenr
Branch: ktrace-lwp
Changes since 1.4: +11 -10 lines
Diff to previous 1.4 (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:09 2003 UTC (11 years, 1 month ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.3: +9 -10 lines
Diff to previous 1.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.3 / (download) - annotate - [select for diffs], Sun Jun 29 18:43:24 2003 UTC (11 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (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 (11 years, 1 month ago) by darrenr
Branch: MAIN
Changes since 1.1: +11 -10 lines
Diff to previous 1.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:56:01 2002 UTC (11 years, 7 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.2.1: +682 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

With with HEAD.

Revision 1.1.2.1, Thu Dec 26 12:31:34 2002 UTC (11 years, 7 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.1: +0 -682 lines
FILE REMOVED

file msdosfs_denode.c was added on branch nathanw_sa on 2002-12-29 19:56:01 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 26 12:31:34 2002 UTC (11 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Branch point for: nathanw_sa

move msdosfs code from sys/msdosfs to sys/fs/msdosfs

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>