Up to [cvs.netbsd.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.30 / (download) - annotate - [select for diffs], Wed Jul 27 14:35:33 2011 UTC (9 months, 4 weeks ago) by uebayasi
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.29: +2 -4
lines
Diff to previous 1.29 (colored)
These don't need uvm/uvm_extern.h.
Revision 1.28.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:27 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.28: +4 -4
lines
Diff to previous 1.28 (colored) next main 1.29 (colored)
Sync with HEAD.
Revision 1.28.4.1 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:07 2011 UTC (13 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.28: +4 -4
lines
Diff to previous 1.28 (colored) next main 1.29 (colored)
sync with head
Revision 1.29 / (download) - annotate - [select for diffs], Thu Apr 14 20:19:35 2011 UTC (13 months, 1 week ago) by jym
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp
Changes since 1.28: +4 -4
lines
Diff to previous 1.28 (colored)
Typo fix.
Revision 1.16.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:16 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.16.4.2: +7 -39
lines
Diff to previous 1.16.4.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)
sync with head
Revision 1.28 / (download) - annotate - [select for diffs], Sat Dec 5 22:38:19 2009 UTC (2 years, 5 months ago) by pooka
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,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: rmind-uvmplock,
jruoho-x86intr
Changes since 1.27: +2 -17
lines
Diff to previous 1.27 (colored)
tsleep() on lbolt is now illegal. Convert cv_wakeup(&lbolt) to cv_broadcast(&lbolt) and get rid of the prior.
Revision 1.27 / (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.26: +7 -24
lines
Diff to previous 1.26 (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.16.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:46 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.16.4.1: +133 -86
lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored)
sync with head.
Revision 1.25.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:38 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.25: +25 -8
lines
Diff to previous 1.25 (colored) next main 1.26 (colored)
Sync with HEAD.
Revision 1.14.14.5 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:18 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.14.14.4: +23 -6
lines
Diff to previous 1.14.14.4 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)
Sync with HEAD.
Revision 1.26 / (download) - annotate - [select for diffs], Fri Dec 19 07:57:28 2008 UTC (3 years, 5 months ago) by thorpej
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-base2,
nick-hppapmap-base,
mjf-devfs2-base,
jymxensuspend-base,
jym-xensuspend-base,
jym-xensuspend
Changes since 1.25: +25 -8
lines
Diff to previous 1.25 (colored)
Make condvars really opaque -- hide the wait message member from consumers of the API.
Revision 1.14.14.4 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:13 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.14.14.3: +11 -13
lines
Diff to previous 1.14.14.3 (colored) to branchpoint 1.14 (colored)
Sync with HEAD.
Revision 1.17.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:50 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.17: +113 -83
lines
Diff to previous 1.17 (colored) next main 1.18 (colored)
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.22.2.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:35 2008 UTC (3 years, 11 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.22: +13 -15
lines
Diff to previous 1.22 (colored) next main 1.23 (colored)
Sync with head.
Revision 1.16.2.3 / (download) - annotate - [select for diffs], Tue Jun 17 09:15:02 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.16.2.2: +15 -17
lines
Diff to previous 1.16.2.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)
sync with head.
Revision 1.25 / (download) - annotate - [select for diffs], Mon Jun 16 12:03:01 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4,
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,
netbsd-5-base,
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-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.24: +3 -13
lines
Diff to previous 1.24 (colored)
PR kern/38761: new (?) race in buffer cache code Back out the workaround from cv_has_waiters(), which is not longer needed. Removal was missed earlier.
Revision 1.24 / (download) - annotate - [select for diffs], Mon Jun 16 10:03:47 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.23: +15 -14
lines
Diff to previous 1.23 (colored)
PR kern/38761: new (?) race in buffer cache code - Back out the previous workaround now that the sleep queue code has been changed to never let the queue become empty if there are valid waiters. - Use sleepq_hashlock() to improve clarity. - Sprinkle some assertions.
Revision 1.23 / (download) - annotate - [select for diffs], Sun Jun 15 09:56:18 2008 UTC (3 years, 11 months ago) by chris
Branch: MAIN
Changes since 1.22: +15 -8
lines
Diff to previous 1.22 (colored)
Fix for biowait hangs, and possibly other condvar hangs. Also should fix PR kern/38761. The condvar must access the sleepq with the sleepq lock held, doing so is causing inconsistent sleepq state to be read. This is because some accesses to the sleepq don't come via the cv code, but are call directly into sleepq_changepri and sleepq_lendpri, which take the sleepq lock, and removes then re-inserts lwps into the sleepq. Running a build.sh with -j8 now completes on my quad-core, also tested by Simon@ on a 8-core server and matt@ on a quad-core. I believe there is room to be more efficient with this, as we now take the sleepq lock for all cv_broadcast and cv_signal calls. I'll look into this and post a diff to tech-kern.
Revision 1.14.14.3 / (download) - annotate - [select for diffs], Thu Jun 5 19:14:36 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.14.14.2: +2 -2
lines
Diff to previous 1.14.14.2 (colored) to branchpoint 1.14 (colored)
Sync with HEAD. Also fix build.
Revision 1.22 / (download) - annotate - [select for diffs], Wed Jun 4 11:22:55 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
Branch point for: simonb-wapbl
Changes since 1.21: +4 -4
lines
Diff to previous 1.21 (colored)
Disable the wakeup assertion for the time being because the tty code triggers it.
Revision 1.16.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:39 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.16.2.1: +109 -77
lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored)
sync with head
Revision 1.14.14.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:07 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.14.14.1: +107 -82
lines
Diff to previous 1.14.14.1 (colored) to branchpoint 1.14 (colored)
Sync with HEAD.
Revision 1.21 / (download) - annotate - [select for diffs], Sat May 31 16:25:23 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base3
Changes since 1.20: +8 -8
lines
Diff to previous 1.20 (colored)
Fix wmesg for !LOCKDEBUG.
Revision 1.20 / (download) - annotate - [select for diffs], Sat May 31 13:36:25 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.19: +105 -77
lines
Diff to previous 1.19 (colored)
- Give each condition variable its own sleep queue head. Helps the system to scale more gracefully when there are thousands of active threads. Proposed on tech-kern@. - Use LOCKDEBUG to catch some errors in the use of condition variables: freeing an active CV re-initializing an active CV using multiple distinct mutexes during concurrent waits not holding the interlocking mutex when calling cv_broadcast/cv_signal waking waiters and destroying the CV before they run and exit it
Revision 1.19 / (download) - annotate - [select for diffs], Mon May 26 12:58:24 2008 UTC (4 years ago) by ad
Branch: MAIN
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored)
Broken assertion.
Revision 1.18 / (download) - annotate - [select for diffs], Mon May 26 12:08:39 2008 UTC (4 years ago) by ad
Branch: MAIN
Changes since 1.17: +16 -12
lines
Diff to previous 1.17 (colored)
Take the mutex pointer and waiters count out of sleepq_t: the values can be or are maintained elsewhere. Now a sleepq_t is just a TAILQ_HEAD.
Revision 1.16.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:07 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.16: +2 -9
lines
Diff to previous 1.16 (colored)
sync with head.
Revision 1.16.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:24 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.16: +2 -9
lines
Diff to previous 1.16 (colored)
sync with head.
Revision 1.17 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:02 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.16: +2 -9
lines
Diff to previous 1.16 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.14.14.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:00 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.14: +46 -14
lines
Diff to previous 1.14 (colored)
Sync with HEAD.
Revision 1.3.4.7 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:01 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.6: +6 -6
lines
Diff to previous 1.3.4.6 (colored) next main 1.4 (colored)
sync with head.
Revision 1.14.10.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:13 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.14: +46 -14
lines
Diff to previous 1.14 (colored) next main 1.15 (colored)
sync with head.
Revision 1.12.4.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:58 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.12.4.1: +46 -14
lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)
sync with HEAD
Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 17 16:54:51 2008 UTC (4 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp
Changes since 1.15: +6 -6
lines
Diff to previous 1.15 (colored)
Add a boolean parameter to syncobj_t::sobj_unsleep. If true we want the existing behaviour: the unsleep method unlocks and wakes the swapper if needs be. If false, the caller is doing a batch operation and will take care of that later. This is kind of ugly, but it's difficult for the caller to know which lock to release in some situations.
Revision 1.3.4.6 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:32 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.5: +42 -10
lines
Diff to previous 1.3.4.5 (colored)
sync with head.
Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 5 17:05:21 2008 UTC (4 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.14: +42 -10
lines
Diff to previous 1.14 (colored)
- Add cv_is_valid(), for use in assertions. Performs basic sanity checks. - Add more assertions.
Revision 1.13.4.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:48:35 2007 UTC (4 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.13: +6 -29
lines
Diff to previous 1.13 (colored) next main 1.14 (colored)
Sync with HEAD.
Revision 1.3.4.5 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:39 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.4: +6 -29
lines
Diff to previous 1.3.4.4 (colored)
sync with head.
Revision 1.13.2.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:01:57 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.13: +6 -29
lines
Diff to previous 1.13 (colored) next main 1.14 (colored)
Sync with HEAD
Revision 1.12.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:31 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.12: +6 -29
lines
Diff to previous 1.12 (colored)
sync with HEAD
Revision 1.12.2.2 / (download) - annotate - [select for diffs], Tue Nov 6 19:25:26 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.12.2.1: +6 -29
lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)
Sync with HEAD.
Revision 1.14 / (download) - annotate - [select for diffs], Tue Nov 6 00:42:41 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-base,
jmcneill-pm-base,
jmcneill-base,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Changes since 1.13: +6 -29
lines
Diff to previous 1.13 (colored)
Merge scheduler changes from the vmlocking branch. All discussed on tech-kern: - Invert priority space so that zero is the lowest priority. Rearrange number and type of priority levels into bands. Add new bands like 'kernel real time'. - Ignore the priority level passed to tsleep. Compute priority for sleep dynamically. - For SCHED_4BSD, make priority adjustment per-LWP, not per-process.
Revision 1.5.2.9 / (download) - annotate - [select for diffs], Thu Nov 1 21:58:16 2007 UTC (4 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.5.2.8: +5 -28
lines
Diff to previous 1.5.2.8 (colored) next main 1.6 (colored)
- Fix interactivity problems under high load. Beacuse soft interrupts
are being stacked on top of regular LWPs, more often than not aston()
was being called on a soft interrupt thread instead of a user thread,
meaning that preemption was not happening on EOI.
- Don't use bool in a couple of data structures. Sub-word writes are not
always atomic and may clobber other fields in the containing word.
- For SCHED_4BSD, make p_estcpu per thread (l_estcpu). Rework how the
dynamic priority level is calculated - it's much better behaved now.
- Kill the l_usrpri/l_priority split now that priorities are no longer
directly assigned by tsleep(). There are three fields describing LWP
priority:
l_priority: Dynamic priority calculated by the scheduler.
This does not change for kernel/realtime threads,
and always stays within the correct band. Eg for
timeshared LWPs it never moves out of the user
priority range. This is basically what l_usrpri
was before.
l_inheritedprio: Lent to the LWP due to priority inheritance
(turnstiles).
l_kpriority: A boolean value set true the first time an LWP
sleeps within the kernel. This indicates that the LWP
should get a priority boost as compensation for blocking.
lwp_eprio() now does the equivalent of sched_kpri() if
the flag is set. The flag is cleared in userret().
- Keep track of scheduling class (OTHER, FIFO, RR) in struct lwp, and use
this to make decisions in a few places where we previously tested for a
kernel thread.
- Partially fix itimers and usr/sys/intr time accounting in the presence
of software interrupts.
- Use kthread_create() to create idle LWPs. Move priority definitions
from the various modules into sys/param.h.
- newlwp -> lwp_create
Revision 1.3.4.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:20 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.3: +3 -3
lines
Diff to previous 1.3.4.3 (colored)
sync with head.
Revision 1.12.2.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:28 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (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.5.2.8 / (download) - annotate - [select for diffs], Thu Oct 18 15:47:32 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.5.2.7: +3 -3
lines
Diff to previous 1.5.2.7 (colored)
Update for soft interrupt changes. See kern_softint.c 1.1.2.17 for details.
Revision 1.12.6.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:38 2007 UTC (4 years, 7 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored) next main 1.13 (colored)
sync with head.
Revision 1.13 / (download) - annotate - [select for diffs], Mon Oct 8 14:07:08 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base
Branch point for: mjf-devfs,
bouyer-xenamd64
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
Merge from vmlocking: relax an assertion if panicstr != NULL.
Revision 1.3.4.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:43 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.2: +77 -57
lines
Diff to previous 1.3.4.2 (colored)
sync with head.
Revision 1.5.2.7 / (download) - annotate - [select for diffs], Mon Aug 20 21:27:28 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.5.2.6: +32 -9
lines
Diff to previous 1.5.2.6 (colored)
Sync with HEAD.
Revision 1.9.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:49:06 2007 UTC (4 years, 9 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.9: +32 -9
lines
Diff to previous 1.9 (colored) next main 1.10 (colored)
Sync with HEAD.
Revision 1.12.8.2 / (download) - annotate - [select for diffs], Thu Aug 2 22:01:41 2007 UTC (4 years, 9 months ago) by ad
Branch: matt-mips64
Changes since 1.12.8.1: +374 -0
lines
Diff to previous 1.12.8.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)
cv_wakeup: the entire queue has to be searched, as we can't know how many waiters there are.
Revision 1.12.8.1, Thu Aug 2 22:01:40 2007 UTC (4 years, 9 months ago) by ad
Branch: matt-mips64
Changes since 1.12: +0 -374
lines
FILE REMOVED
file kern_condvar.c was added on branch matt-mips64 on 2007-08-02 22:01:41 +0000
Revision 1.12 / (download) - annotate - [select for diffs], Thu Aug 2 22:01:40 2007 UTC (4 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base2,
yamt-x86pmap-base,
nick-csl-alignment-base5,
matt-mips64-base
Branch point for: yamt-x86pmap,
matt-mips64,
matt-armv6,
jmcneill-pm
Changes since 1.11: +4 -8
lines
Diff to previous 1.11 (colored)
cv_wakeup: the entire queue has to be searched, as we can't know how many waiters there are.
Revision 1.11 / (download) - annotate - [select for diffs], Wed Aug 1 23:21:14 2007 UTC (4 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.10: +23 -2
lines
Diff to previous 1.10 (colored)
Ressurect cv_wakeup() and use it on lbolt. Should fix PR kern/36714. (background/foreground signal lossage in -current with various programs).
Revision 1.10 / (download) - annotate - [select for diffs], Wed Aug 1 20:30:38 2007 UTC (4 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.9: +15 -9
lines
Diff to previous 1.9 (colored)
Improve assertions slightly. When awakening assert that the CV has not been destroyed.
Revision 1.5.2.6 / (download) - annotate - [select for diffs], Sun Jul 15 15:52:53 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.5.2.5: +5 -5
lines
Diff to previous 1.5.2.5 (colored)
Sync with head.
Revision 1.5.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:09:43 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.5: +53 -58
lines
Diff to previous 1.5 (colored) next main 1.6 (colored)
Sync with head.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Jul 9 21:10:51 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base,
mjf-ufs-trans-base,
hpcarm-cleanup
Branch point for: nick-csl-alignment
Changes since 1.8: +3 -2
lines
Diff to previous 1.8 (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.5.2.5 / (download) - annotate - [select for diffs], Mon Jul 9 20:33:14 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.5.2.4: +3 -3
lines
Diff to previous 1.5.2.4 (colored)
KASSERT((l->l_flag & LW_INTR) == 0) -> KASSERT((l->l_flag & LW_INTR) == 0 || panicstr != NULL)
Revision 1.5.2.4 / (download) - annotate - [select for diffs], Sun Jun 17 21:31:20 2007 UTC (4 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.5.2.3: +3 -2
lines
Diff to previous 1.5.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.8 / (download) - annotate - [select for diffs], Thu May 17 14:51:38 2007 UTC (5 years ago) by yamt
Branch: MAIN
Changes since 1.7: +12 -15
lines
Diff to previous 1.7 (colored)
merge yamt-idlelwp branch. asked by core@. some ports still needs work. from doc/BRANCHES: idle lwp, and some changes depending on it. 1. separate context switching and thread scheduling. (cf. gmcgarry_ctxsw) 2. implement idle lwp. 3. clean up related MD/MI interfaces. 4. make scheduler(s) modular.
Revision 1.3.2.3 / (download) - annotate - [select for diffs], Thu Apr 19 04:19:43 2007 UTC (5 years, 1 month ago) by ad
Branch: yamt-idlelwp
Changes since 1.3.2.2: +12 -15
lines
Diff to previous 1.3.2.2 (colored) next main 1.4 (colored)
Pull up a change from the vmlocking branch: - Ensure that LWPs going to sleep are on the sleep queue before releasing any interlocks. This is so that calls to turnstile_wakeup will have the correct locks held when adjusting priority. Avoids another deadlock. - Assume that LWPs blocked on a turnstile will never be swapped out. - LWPs blocking on a turnstile must have kernel priority, as they are consuming kernel resources.
Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:48 2007 UTC (5 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.3.2.1: +42 -45
lines
Diff to previous 1.3.2.1 (colored)
sync with head.
Revision 1.5.2.3 / (download) - annotate - [select for diffs], Tue Apr 10 18:34:04 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.5.2.2: +7 -10
lines
Diff to previous 1.5.2.2 (colored)
- Ensure that that LWPs going to sleep are on the sleep queue and so have their syncobj pointer updated, so that calls to turnstile_wakeup will have the correct locks held when adjusting the current LWP's priority. Avoids another deadlock. - Assume that LWPs blocked on a turnstile will never be swapped out. - LWPs blocking on a turnstile must have kernel priority, as they are consuming kernel resources.
Revision 1.5.2.2 / (download) - annotate - [select for diffs], Tue Apr 10 13:26:37 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.5.2.1: +42 -45
lines
Diff to previous 1.5.2.1 (colored)
Sync with head.
Revision 1.5.6.1 / (download) - annotate - [select for diffs], Thu Mar 29 19:27:56 2007 UTC (5 years, 1 month ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.5: +42 -45
lines
Diff to previous 1.5 (colored) next main 1.6 (colored)
Pullup to -current
Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 29 17:39:34 2007 UTC (5 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic
Changes since 1.6: +4 -4
lines
Diff to previous 1.6 (colored)
Make cv_has_waiters() return type bool.
Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 29 17:34:39 2007 UTC (5 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.5: +40 -43
lines
Diff to previous 1.5 (colored)
- cv_wakeup: remove this. There are ~zero situations where it's useful. - cv_wait and friends: after resuming execution, check to see if we have been restarted as a result of cv_signal. If we have, but cannot take the wakeup (because of eg a pending Unix signal or timeout) then try to ensure that another LWP sees it. This is necessary because there may be multiple waiters, and at least one should take the wakeup if possible. Prompted by a discussion with pooka@. - typedef struct lwp lwp_t; - int -> bool, struct lwp -> lwp_t in a few places.
Revision 1.5.2.1 / (download) - annotate - [select for diffs], Wed Mar 21 20:10:20 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.5: +7 -7
lines
Diff to previous 1.5 (colored)
GC the simplelock/spinlock debugging stuff.
Revision 1.3.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:19 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.3: +10 -8
lines
Diff to previous 1.3 (colored)
- sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 27 15:07:28 2007 UTC (5 years, 2 months ago) by yamt
Branch: MAIN
Branch point for: vmlocking,
reinoud-bufcleanup,
mjf-ufs-trans
Changes since 1.4: +3 -3
lines
Diff to previous 1.4 (colored)
typedef pri_t and use it instead of int and u_char.
Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 26 09:20:52 2007 UTC (5 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: ad-audiomp-base,
ad-audiomp
Changes since 1.3: +7 -5
lines
Diff to previous 1.3 (colored)
implement priority inheritance.
Revision 1.3.4.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:04 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.1: +354 -0
lines
Diff to previous 1.3.4.1 (colored)
sync with head.
Revision 1.3.4.1, Sun Feb 11 15:41:53 2007 UTC (5 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3: +0 -354
lines
FILE REMOVED
file kern_condvar.c was added on branch yamt-lazymbuf on 2007-02-26 09:11:04 +0000
Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 11 15:41:53 2007 UTC (5 years, 3 months ago) by yamt
Branch: MAIN
Branch point for: yamt-lazymbuf,
yamt-idlelwp
Changes since 1.2: +6 -10
lines
Diff to previous 1.2 (colored)
unwrap short lines.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:30 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.1: +358 -0
lines
Diff to previous 1.1 (colored)
Merge newlock2 to head.
Revision 1.1.2.7 / (download) - annotate - [select for diffs], Fri Feb 9 19:58:10 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.1.2.6: +29 -5
lines
Diff to previous 1.1.2.6 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
- Change syncobj_t::sobj_changepri() to alter both the user priority and the effective priority of LWPs. How the effective priority is adjusted depends on the type of object. - Add a couple of comments to sched_kpri() and remrunqueue().
Revision 1.1.2.6 / (download) - annotate - [select for diffs], Mon Feb 5 13:16:11 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.1.2.5: +7 -23
lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored)
Redo previous to be less ugly.
Revision 1.1.2.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.1.2.4: +57 -6
lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (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.1.2.4 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:43 2006 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.1.2.3: +35 -24
lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)
Checkpoint work in progress.
Revision 1.1.2.3 / (download) - annotate - [select for diffs], Fri Nov 17 16:53:08 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.1.2.2: +6 -5
lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)
Fix an obvious sleep/wakeup bug introduced in previous.
Revision 1.1.2.2 / (download) - annotate - [select for diffs], Fri Nov 17 16:34:35 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.1.2.1: +83 -45
lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)
Checkpoint work in progress.
Revision 1.1.2.1 / (download) - annotate - [select for diffs], Fri Oct 20 19:40:17 2006 UTC (5 years, 7 months ago) by ad
Branch: newlock2
Changes since 1.1: +249 -0
lines
Diff to previous 1.1 (colored)
Add a condition variable implementation (untested).
Revision 1.1, Fri Oct 20 19:40:17 2006 UTC (5 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
newlock2-nbase,
newlock2-base
Branch point for: newlock2
FILE REMOVED
file kern_condvar.c was initially added on branch newlock2.