The NetBSD Project

CVS log for src/sys/kern/subr_workqueue.c

[BACK] Up to [cvs.netbsd.org] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.32 / (download) - annotate - [select for diffs], Sun Oct 23 21:41:23 2011 UTC (7 months ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, netbsd-6-base, netbsd-6, 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-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, HEAD
Changes since 1.31: +5 -4 lines
Diff to previous 1.31 (colored)

Turn a workqueue(9) name into an array in the struct workqueue, rather
than a const char *. This avoids keeping a reference to a string
owned by caller (string could be allocated on stack).

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 27 14:35:34 2011 UTC (9 months, 4 weeks ago) by uebayasi
Branch: MAIN
Changes since 1.30: +2 -4 lines
Diff to previous 1.30 (colored)

These don't need uvm/uvm_extern.h.

Revision 1.24.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:19 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.24.4.2: +2 -6 lines
Diff to previous 1.24.4.2 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

sync with head

Revision 1.30 / (download) - annotate - [select for diffs], Wed Nov 11 14:54:40 2009 UTC (2 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.29: +2 -4 lines
Diff to previous 1.29 (colored)

workqueue_finiqueue: remove unused variable.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:06 2009 UTC (2 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.28: +2 -4 lines
Diff to previous 1.28 (colored)

Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.

Revision 1.24.4.2 / (download) - annotate - [select for diffs], Wed Aug 19 18:48:17 2009 UTC (2 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.24.4.1: +3 -3 lines
Diff to previous 1.24.4.1 (colored) to branchpoint 1.24 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Aug 16 10:59:25 2009 UTC (2 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

struct lwp -> lwp_t for consistency

Revision 1.26.8.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:57 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.26: +8 -2 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

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

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:48 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.24: +11 -5 lines
Diff to previous 1.24 (colored)

sync with head.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:00 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.26: +8 -2 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Sat Apr 4 16:58:25 2009 UTC (3 years, 1 month ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, 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
Changes since 1.26: +8 -2 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Pull up following revision(s) (requested by ad in ticket #651):
	sys/kern/subr_workqueue.c: revision 1.27
workqueue_finiqueue: our stack could be swapped out while enqueued to
a worker thread.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Apr 3 19:34:19 2009 UTC (3 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: 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, jymxensuspend-base, jym-xensuspend-base
Changes since 1.26: +8 -2 lines
Diff to previous 1.26 (colored)

workqueue_finiqueue: our stack could be swapped out while enqueued to
a worker thread.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:28 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Revision 1.22.12.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:53 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.22.12.2: +2 -2 lines
Diff to previous 1.22.12.2 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Sync with HEAD.

Revision 1.24.6.2 / (download) - annotate - [select for diffs], Wed Sep 24 16:38:57 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.24.6.1: +4 -4 lines
Diff to previous 1.24.6.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.24.6.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:31:43 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Sep 15 10:43:29 2008 UTC (3 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, nick-hppapmap-base2, netbsd-5-base, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, jym-xensuspend
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

Replace intptr_t in few places to uintptr_t.

Revision 1.24.8.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:38:12 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with head.

Revision 1.22.12.2 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:20 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.22.12.1: +1 -1 lines
Diff to previous 1.22.12.1 (colored) to branchpoint 1.22 (colored)

Sync with HEAD.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jul 2 14:47:34 2008 UTC (3 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Switch from KASSERT to CTASSERT for those asserts testing sizes of types.

Revision 1.22.12.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:04 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.22: +7 -13 lines
Diff to previous 1.22 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Mar 27 18:30:15 2008 UTC (4 years, 1 month 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, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl
Changes since 1.23: +6 -12 lines
Diff to previous 1.23 (colored)

Replace use of CACHE_LINE_SIZE in some obvious places.

Revision 1.22.8.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:14 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:00 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.21.2.1: +3 -3 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

sync with HEAD

Revision 1.3.6.7 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:34 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.6.6: +3 -3 lines
Diff to previous 1.3.6.6 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Mar 10 22:20:14 2008 UTC (4 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Use cpu index instead of the machine dependend, not very expressive
cpuid when naming user-visible kernel entities.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:20 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

sync with HEAD

Revision 1.17.4.2 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:25 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.17.4.1: +3 -3 lines
Diff to previous 1.17.4.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

Sync with HEAD.

Revision 1.21.8.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:38 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.21.10.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:57:47 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with head.

Revision 1.3.6.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:33:09 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.6.5: +3 -3 lines
Diff to previous 1.3.6.5 (colored) to branchpoint 1.3 (colored)

sync with head

Revision 1.22 / (download) - annotate - [select for diffs], Wed Dec 5 07:06:54 2007 UTC (4 years, 5 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, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, jmcneill-pm-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written
for Solaris.

Revision 1.3.6.5 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:07 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.6.4: +132 -63 lines
Diff to previous 1.3.6.4 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.12.2.7 / (download) - annotate - [select for diffs], Mon Aug 20 21:27:38 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.12.2.6: +93 -81 lines
Diff to previous 1.12.2.6 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:49:15 2007 UTC (4 years, 9 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.15: +93 -81 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with HEAD.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Thu Aug 9 02:37:20 2007 UTC (4 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.17: +79 -75 lines
Diff to previous 1.17 (colored)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Aug 7 12:50:26 2007 UTC (4 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking2-base1, vmlocking-nbase, vmlocking-base, nick-csl-alignment-base5, matt-armv6-prevmlocking, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, mjf-devfs, matt-armv6
Changes since 1.20: +4 -18 lines
Diff to previous 1.20 (colored)

don't bother to set thread's priority by ourselves,
as kthread_create does it for us now.  from Andrew Doran.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Aug 7 10:42:22 2007 UTC (4 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.19: +39 -54 lines
Diff to previous 1.19 (colored)

- don't assume the order of cpus in a CPU_INFO_FOREACH loop.
- remove unused structure members.
- simplify.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Sun Aug 5 13:47:26 2007 UTC (4 years, 9 months ago) by ad
Branch: matt-mips64
Changes since 1.19.2.1: +336 -0 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Current convention is to name/number objects after ci->ci_cpuid, so do
that when creating the kthreads. We may want to change this.

Revision 1.19.2.1, Sun Aug 5 13:47:25 2007 UTC (4 years, 9 months ago) by ad
Branch: matt-mips64
Changes since 1.19: +0 -336 lines
FILE REMOVED

file subr_workqueue.c was added on branch matt-mips64 on 2007-08-05 13:47:26 +0000

Revision 1.19 / (download) - annotate - [select for diffs], Sun Aug 5 13:47:25 2007 UTC (4 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: matt-mips64-base
Branch point for: matt-mips64
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Current convention is to name/number objects after ci->ci_cpuid, so do
that when creating the kthreads. We may want to change this.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Aug 5 01:19:17 2007 UTC (4 years, 9 months ago) by rmind
Branch: MAIN
Changes since 1.17: +83 -50 lines
Diff to previous 1.17 (colored)

Improve per-CPU support for the workqueue(9):
 - Make structures CPU-cache friendly, as suggested and explained
   by Andrew Doran.  CACHE_LINE_SIZE definition is invented.
 - Use current CPU if NULL is passed to the workqueue_enqueue().
 - Implemented MI CPU index, which could be used as an index of array.
   Removed linked-lists usage for work queues.

The roundup2() function avoids division, but works only with power of 2.

Reviewed by: <ad>, <yamt>, <tech-kern>

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jul 20 12:43:26 2007 UTC (4 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: hpcarm-cleanup
Branch point for: jmcneill-pm
Changes since 1.16: +16 -8 lines
Diff to previous 1.16 (colored)

hide internals of struct work.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jul 18 18:17:03 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

workqueue_destroy: fix a use-after-free.

Revision 1.12.2.6 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:44 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.12.2.5: +77 -20 lines
Diff to previous 1.12.2.5 (colored) to branchpoint 1.12 (colored)

Sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jul 13 07:21:31 2007 UTC (4 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: nick-csl-alignment-base
Branch point for: nick-csl-alignment
Changes since 1.14: +18 -3 lines
Diff to previous 1.14 (colored)

Make MP parts friendly with various ports (especially UP):
 - #ifdef code parts, which uses CPU_INFO_FOREACH/CPU_INFO_ITERATOR
 - use ci_cpuid only in MP case
 - include machine/cpu.h

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jul 12 20:39:56 2007 UTC (4 years, 10 months ago) by rmind
Branch: MAIN
Changes since 1.13: +65 -23 lines
Diff to previous 1.13 (colored)

Implementation of per-CPU work-queues support for workqueue(9) interface.
WQ_PERCPU flag for workqueue and additional argument for workqueue_enqueue()
to assign a CPU might be used. Notes:
 - For now, the list is used for workqueue_queue, which is non-optimal,
   and will be changed with array, where index would be CPU ID.
 - The data structures should be changed to be cache-friendly.

Reviewed by: <yamt>, <tech-kern>

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:10:08 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.12: +12 -12 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 9 21:10:55 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: mjf-ufs-trans-base
Changes since 1.12: +12 -12 lines
Diff to previous 1.12 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.12.2.5 / (download) - annotate - [select for diffs], Sun Jul 1 19:48:28 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.12.2.4: +3 -3 lines
Diff to previous 1.12.2.4 (colored) to branchpoint 1.12 (colored)

s/MUTEX_SPIN/MUTEX_DRIVER/ as it's called with IPL_NONE now.

Revision 1.12.2.4 / (download) - annotate - [select for diffs], Sun May 13 17:36:36 2007 UTC (5 years ago) by ad
Branch: vmlocking
Changes since 1.12.2.3: +6 -5 lines
Diff to previous 1.12.2.3 (colored) to branchpoint 1.12 (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.12.2.3 / (download) - annotate - [select for diffs], Tue Apr 10 11:37:02 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.12.2.2: +6 -6 lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored)

Allow workqueues to be marked as MP safe.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Tue Apr 10 00:06:44 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.12.2.1: +6 -6 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored)

- Add two new arguments to kthread_create1: pri_t pri, bool mpsafe.
- Fork kthreads off proc0 as new LWPs, not new processes.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Wed Mar 21 19:59:18 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.12: +3 -4 lines
Diff to previous 1.12 (colored)

Eliminate a needless test.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:30 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

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

Revision 1.12 / (download) - annotate - [select for diffs], Tue Feb 27 15:07:29 2007 UTC (5 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

typedef pri_t and use it instead of int and u_char.

Revision 1.3.6.4 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:16 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.6.3: +35 -60 lines
Diff to previous 1.3.6.3 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 11 15:37:20 2007 UTC (5 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.10: +3 -4 lines
Diff to previous 1.10 (colored)

workqueue_exit: update a comment.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Feb 11 15:36:35 2007 UTC (5 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

use cv_signal rather than cv_broadcast where appropriate.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:31 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.8: +34 -58 lines
Diff to previous 1.8 (colored)

Merge newlock2 to head.

Revision 1.3.10.5 / (download) - annotate - [select for diffs], Sat Feb 3 16:32:50 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.3.10.4: +5 -9 lines
Diff to previous 1.3.10.4 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

- Require that cv_signal/cv_broadcast be called with the interlock held.
- Provide 'async' versions that's don't need the interlock.

Revision 1.3.10.4 / (download) - annotate - [select for diffs], Thu Jan 25 20:18:37 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.3.10.3: +20 -21 lines
Diff to previous 1.3.10.3 (colored) to branchpoint 1.3 (colored)

Eliminate some uses of mtsleep().

Revision 1.3.10.3 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:07 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.3.10.2: +7 -7 lines
Diff to previous 1.3.10.2 (colored) to branchpoint 1.3 (colored)

Sync with head.

Revision 1.3.6.3 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:06 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.6.2: +65 -13 lines
Diff to previous 1.3.6.2 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 21 15:55:25 2006 UTC (5 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Changes since 1.7: +4 -8 lines
Diff to previous 1.7 (colored)

merge yamt-splraiseipl branch.

	- finish implementing splraiseipl (and makeiplcookie).
	  http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
	- complete workqueue(9) and fix its ipl problem, which is reported
	  to cause audio skipping.
	- fix netbt (at least compilation problems) for some ports.
	- fix PR/33218.

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:45 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.5.2.3: +6 -6 lines
Diff to previous 1.5.2.3 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

sync with head.

Revision 1.3.10.2 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:23 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.3.10.1: +63 -7 lines
Diff to previous 1.3.10.1 (colored) to branchpoint 1.3 (colored)

Sync with head.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 1 10:17:59 2006 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.6: +6 -6 lines
Diff to previous 1.6 (colored)

remove some __unused from function parameters.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:11 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.5.2.2: +6 -6 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored)

sync with head

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

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

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Mon Sep 18 10:41:45 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.5.2.1: +0 -4 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored)

don't bother to wrap splraiseipl and IPL_xxx with #if notyet.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Mon Sep 18 10:05:26 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

adapt to new api.  (#if 0'ed code)

Revision 1.5 / (download) - annotate - [select for diffs], Sat Sep 16 11:15:00 2006 UTC (5 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base
Branch point for: yamt-splraiseipl
Changes since 1.4: +58 -0 lines
Diff to previous 1.4 (colored)

add workqueue_destroy().

Revision 1.4 / (download) - annotate - [select for diffs], Sat Sep 16 11:14:36 2006 UTC (5 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.3: +5 -7 lines
Diff to previous 1.3 (colored)

workqueue_create: use kmem_alloc rather than malloc.

Revision 1.3.10.1 / (download) - annotate - [select for diffs], Mon Sep 11 00:05:43 2006 UTC (5 years, 8 months ago) by ad
Branch: newlock2
Changes since 1.3: +11 -34 lines
Diff to previous 1.3 (colored)

Use mutexes to protect workqueues.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:16 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

sync with head

Revision 1.3.6.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:38 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.6.1: +211 -0 lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:09 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Sync with head.

Revision 1.2.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:41 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

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

Revision 1.2.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:41 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.2.10.1 / (download) - annotate - [select for diffs], Thu May 11 23:30:15 2006 UTC (6 years ago) by elad
Branch: elad-kernelauth
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

sync with head

Revision 1.3.6.1, Tue May 2 13:26:07 2006 UTC (6 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3: +0 -211 lines
FILE REMOVED

file subr_workqueue.c was added on branch yamt-lazymbuf on 2006-06-21 15:09:38 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Tue May 2 13:26:07 2006 UTC (6 years ago) by rpaulo
Branch: MAIN
CVS Tags: 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, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-lazymbuf, newlock2
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Use for in a forever loop as per KNF.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:30 2005 UTC (6 years, 5 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.1: +2 -2 lines
Diff to previous 1.1 (colored)

merge ktrace-lwp.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:45 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.1: +211 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD. Here we go again...

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Nov 2 11:58:11 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-vop
Changes since 1.1.2.1: +211 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.1.4.1, Sat Oct 29 11:10:37 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1: +0 -211 lines
FILE REMOVED

file subr_workqueue.c was added on branch ktrace-lwp on 2005-11-10 14:09:45 +0000

Revision 1.1.2.1, Sat Oct 29 11:10:37 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-vop
Changes since 1.1: +0 -211 lines
FILE REMOVED

file subr_workqueue.c was added on branch yamt-vop on 2005-11-02 11:58:11 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sat Oct 29 11:10:37 2005 UTC (6 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Branch point for: yamt-vop, ktrace-lwp

add a simple "do it in thread context" framework.

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>