Up to [cvs.netbsd.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.12.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:35 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.12: +8 -8
lines
Diff to previous 1.12 (colored) next main 1.13 (colored)
Sync with HEAD.
Revision 1.11.4.2 / (download) - annotate - [select for diffs], Tue May 31 03:05:02 2011 UTC (11 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.11.4.1: +8 -8
lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)
sync with head
Revision 1.13 / (download) - annotate - [select for diffs], Fri May 13 22:16:44 2011 UTC (12 months, 1 week ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
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,
cherry-xenmp-base,
cherry-xenmp,
HEAD
Changes since 1.12: +8 -8
lines
Diff to previous 1.12 (colored)
Sprinkle __cacheline_aligned and __read_mostly.
Revision 1.11.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:30 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.11: +238 -77
lines
Diff to previous 1.11 (colored) next main 1.12 (colored)
Sync with HEAD.
Revision 1.8.2.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:42 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.8.2.3: +238 -77
lines
Diff to previous 1.8.2.3 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)
sync with head.
Revision 1.11.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:54 2010 UTC (22 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.11: +238 -77
lines
Diff to previous 1.11 (colored)
sync with head
Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 22 18:29:01 2010 UTC (23 months ago) by rmind
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.11: +238 -77
lines
Diff to previous 1.11 (colored)
Implement high priority (XC_HIGHPRI) xcall(9) mechanism - a facility to execute functions from software interrupt context, at SOFTINT_CLOCK. Functions must be lightweight. Will be used for passive serialization. OK ad@.
Revision 1.8.2.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.8.2.2: +3 -3
lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored)
sync with head
Revision 1.11 / (download) - annotate - [select for diffs], Mon Nov 30 15:37:56 2009 UTC (2 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
uebayasi-xip-base1,
uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip,
rmind-uvmplock
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
explicitly initialize static boolean
Revision 1.9.14.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.9: +3 -3
lines
Diff to previous 1.9 (colored) next main 1.10 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.8.2.2 / (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.8.2.1: +3 -3
lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)
sync with head.
Revision 1.9.8.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.9: +3 -3
lines
Diff to previous 1.9 (colored) next main 1.10 (colored)
Sync with HEAD.
Revision 1.9.10.1 / (download) - annotate - [select for diffs], Sun Mar 15 19:53:45 2009 UTC (3 years, 2 months 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-RC3,
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.9: +3 -3
lines
Diff to previous 1.9 (colored) next main 1.10 (colored)
Pull up following revision(s) (requested by uebayasi in ticket #549): sys/kern/subr_xcall.c: revision 1.10 xc_lowpri: don't truncate `where' from uint64_t to u_int.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 5 13:18:51 2009 UTC (3 years, 2 months ago) by uebayasi
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,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base
Changes since 1.9: +3 -3
lines
Diff to previous 1.9 (colored)
xc_lowpri: don't truncate `where' from uint64_t to u_int.
Revision 1.5.16.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:11 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.5.16.1: +5 -10
lines
Diff to previous 1.5.16.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)
Sync with HEAD.
Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:10 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.7: +5 -10
lines
Diff to previous 1.7 (colored) next main 1.8 (colored)
sync with head.
Revision 1.8.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:27 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.8: +2 -9
lines
Diff to previous 1.8 (colored)
sync with head.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:04 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-hppapmap-base2,
netbsd-5-base,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
mjf-devfs2-base,
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,
netbsd-5,
jym-xensuspend
Changes since 1.8: +2 -9
lines
Diff to previous 1.8 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 24 13:56:30 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.7: +5 -3
lines
Diff to previous 1.7 (colored)
xc_broadcast: don't try to run cross calls on CPUs that are not yet running.
Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 14 00:18:43 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.6: +4 -4
lines
Diff to previous 1.6 (colored)
Fix comments.
Revision 1.5.16.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.5: +3 -3
lines
Diff to previous 1.5 (colored)
Sync with HEAD.
Revision 1.5.12.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.5: +3 -3
lines
Diff to previous 1.5 (colored) next main 1.6 (colored)
sync with head.
Revision 1.5.2.3 / (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.5.2.2: +3 -3
lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)
sync with HEAD
Revision 1.4.2.4 / (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.4.2.3: +3 -3
lines
Diff to previous 1.4.2.3 (colored) next main 1.5 (colored)
sync with head.
Revision 1.6 / (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.5: +3 -3
lines
Diff to previous 1.5 (colored)
Use cpu index instead of the machine dependend, not very expressive cpuid when naming user-visible kernel entities.
Revision 1.4.4.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:48:52 2007 UTC (4 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.4: +2 -4
lines
Diff to previous 1.4 (colored) next main 1.5 (colored)
Sync with HEAD.
Revision 1.4.2.3 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:50 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.2.2: +2 -4
lines
Diff to previous 1.4.2.2 (colored)
sync with head.
Revision 1.3.2.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:02:24 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.3: +6 -5
lines
Diff to previous 1.3 (colored) next main 1.4 (colored)
Sync with HEAD
Revision 1.5.2.2 / (download) - annotate - [select for diffs], Tue Nov 6 23:32:21 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.5.2.1: +264 -0
lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored)
sync with HEAD
Revision 1.3.4.4 / (download) - annotate - [select for diffs], Tue Nov 6 19:25:34 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.3.4.3: +2 -4
lines
Diff to previous 1.3.4.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
Sync with HEAD.
Revision 1.5.2.1, Tue Nov 6 00:42:44 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.5: +0 -264
lines
FILE REMOVED
file subr_xcall.c was added on branch matt-armv6 on 2007-11-06 23:32:20 +0000
Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 6 00:42:44 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,
matt-armv6,
keiichi-mipv6
Changes since 1.4: +2 -4
lines
Diff to previous 1.4 (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.1.2.6 / (download) - annotate - [select for diffs], Thu Nov 1 21:58:22 2007 UTC (4 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.1.2.5: +2 -4
lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored) next main 1.2 (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.3 / (download) - annotate - [select for diffs], Sun Oct 28 20:11:12 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.3.4.2: +6 -3
lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored)
Sync with HEAD.
Revision 1.4.2.2 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:34 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.2.1: +266 -0
lines
Diff to previous 1.4.2.1 (colored)
sync with head.
Revision 1.4.2.1, Sat Oct 27 01:22:53 2007 UTC (4 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4: +0 -266
lines
FILE REMOVED
file subr_xcall.c was added on branch yamt-lazymbuf on 2007-10-27 11:35:34 +0000
Revision 1.4 / (download) - annotate - [select for diffs], Sat Oct 27 01:22:53 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
Branch point for: yamt-lazymbuf,
mjf-devfs
Changes since 1.3: +6 -3
lines
Diff to previous 1.3 (colored)
Tweak comments.
Revision 1.3.4.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:42 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.3.4.1: +263 -0
lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)
Sync with HEAD. Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
Revision 1.1.2.5 / (download) - annotate - [select for diffs], Tue Oct 16 10:53:25 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.1.2.4: +3 -3
lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored)
Fix scheduler priority lossage. From rmind@.
Revision 1.1.4.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:46 2007 UTC (4 years, 7 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.1: +263 -0
lines
Diff to previous 1.1 (colored) next main 1.2 (colored)
sync with head.
Revision 1.1.2.4 / (download) - annotate - [select for diffs], Tue Oct 9 15:22:21 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.1.2.3: +2 -264
lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)
Sync with head.
Revision 1.1.2.3 / (download) - annotate - [select for diffs], Tue Oct 9 13:44:29 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.1.2.2: +265 -2
lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)
Sync with head.
Revision 1.3.4.1, Mon Oct 8 17:26:40 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.3: +0 -263
lines
FILE REMOVED
file subr_xcall.c was added on branch jmcneill-pm on 2007-10-26 15:48:41 +0000
Revision 1.3 / (download) - annotate - [select for diffs], Mon Oct 8 17:26:40 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base
Branch point for: jmcneill-pm,
bouyer-xenamd64
Changes since 1.2: +3 -2
lines
Diff to previous 1.2 (colored)
Include sys/cpu.h for archs that don't have CPU_INFO_ITERATOR. Spotted by dsieger@.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Oct 8 15:12:08 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.1: +262 -0
lines
Diff to previous 1.1 (colored)
Merge file descriptor locking, cwdi locking and cross-call changes from the vmlocking branch.
Revision 1.1.2.2 / (download) - annotate - [select for diffs], Thu Aug 30 20:02:33 2007 UTC (4 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.1.2.1: +35 -19
lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)
- Instead of xc_broadcast()/xc_unicast() waiting for completion, have them return a value which can later be passed to xc_wait(). Allows the caller to go and do other stuff in the meantime. - Fix the xcall thread to work properly in the event of a spurious wakeup.
Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sun Aug 26 12:04:47 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.1: +246 -0
lines
Diff to previous 1.1 (colored)
- Add a generic cross-call facility. Right now this only does threaded cross calls but that should be extended to do IPIs. These are deliberately set up as bound kthreads (and not soft interrupts or something else) so that the called functions can use the spl framework or disable preemption in order to guarantee exclusive access to CPU-local data. - Use cross calls to take CPUs online or offline. Ok to do since bound LWPs still execute on offline CPUs. As a result schedstate_percpu's::spc_flags is CPU-local again and doesn't need locking.
Revision 1.1, Sun Aug 26 12:04:47 2007 UTC (4 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base2,
yamt-x86pmap-base
Branch point for: yamt-x86pmap,
vmlocking
FILE REMOVED
file subr_xcall.c was initially added on branch vmlocking.