Up to [cvs.netbsd.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.17 / (download) - annotate - [select for diffs], Sun Aug 7 21:13:05 2011 UTC (9 months, 2 weeks ago) by rmind
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.16: +5 -4
lines
Diff to previous 1.16 (colored)
Remove LW_AFFINITY flag and fix some bugs affinity mask handling.
Revision 1.16 / (download) - annotate - [select for diffs], Sun Aug 7 13:33:01 2011 UTC (9 months, 2 weeks ago) by rmind
Branch: MAIN
Changes since 1.15: +3 -3
lines
Diff to previous 1.15 (colored)
Add kcpuset(9) - a reworked dynamic CPU set implementation for kernel. Suitable for use during the early boot. MD and other implementations should be replaced with this interface. Discussed on: tech-kern@
Revision 1.13.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:31 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.13.2.1: +1 -1
lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)
Sync with HEAD.
Revision 1.6.2.3 / (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.6.2.2: +4 -4
lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)
sync with head.
Revision 1.13.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:55 2010 UTC (22 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.13.4.1: +3 -3
lines
Diff to previous 1.13.4.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)
sync with head
Revision 1.15 / (download) - annotate - [select for diffs], Thu Jul 1 02:38:31 2010 UTC (22 months, 3 weeks ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.14: +3 -3
lines
Diff to previous 1.14 (colored)
Remove pfind() and pgfind(), fix locking in various broken uses of these. Rename real routines to proc_find() and pgrp_find(), remove PFIND_* flags and have consistent behaviour. Provide proc_find_raw() for special cases. Fix memory leak in sysctl_proc_corename(). COMPAT_LINUX: rework ptrace() locking, minimise differences between different versions per-arch. Note: while this change adds some formal cosmetics for COMPAT_DARWIN and COMPAT_IRIX - locking there is utterly broken (for ages). Fixes PR/43176.
Revision 1.13.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:58 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.13: +3 -3
lines
Diff to previous 1.13 (colored)
sync with head
Revision 1.13.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:12 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.13: +3 -3
lines
Diff to previous 1.13 (colored)
Sync with HEAD.
Revision 1.14 / (download) - annotate - [select for diffs], Sun Apr 25 11:49:36 2010 UTC (2 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.13: +3 -3
lines
Diff to previous 1.13 (colored)
MAXCPUS -> maxcpus
Revision 1.6.2.2 / (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.6.2.1: +30 -2
lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored)
sync with head
Revision 1.13 / (download) - annotate - [select for diffs], Fri Oct 2 21:56:28 2009 UTC (2 years, 7 months ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
uebayasi-xip-base,
matt-premerge-20091211,
jym-xensuspend-nbase
Branch point for: uebayasi-xip,
rmind-uvmplock
Changes since 1.12: +30 -2
lines
Diff to previous 1.12 (colored)
Move psets security policy back to the subsystem and keep suser logic only in the suser secmodel code.
Revision 1.11.2.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.11: +8 -2
lines
Diff to previous 1.11 (colored) next main 1.12 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.6.2.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.6: +135 -46
lines
Diff to previous 1.6 (colored)
sync with head.
Revision 1.9.2.2 / (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.2.1: +8 -2
lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)
Sync with HEAD.
Revision 1.9.4.3 / (download) - annotate - [select for diffs], Sun Mar 8 03:15:36 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.4.2: +8 -2
lines
Diff to previous 1.9.4.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)
Pull up following revision(s) (requested by rmind in ticket #546): sys/kern/kern_lwp.c: revision 1.128 sys/kern/sys_pset.c: revision 1.12 sys/kern/sys_sched.c: revision 1.33 lwp_create: fix the locking bugs on affinity ingerition path (mea culpa). pset_assign: traverse the list of LWPs safely. sched_setaffinity: free cpuset (unused path) outside the lock. Reviewed (with feedback) by <ad>.
Revision 1.12 / (download) - annotate - [select for diffs], Tue Mar 3 21:55:06 2009 UTC (3 years, 2 months ago) by rmind
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-base
Changes since 1.11: +8 -2
lines
Diff to previous 1.11 (colored)
lwp_create: fix the locking bugs on affinity ingerition path (mea culpa). pset_assign: traverse the list of LWPs safely. sched_setaffinity: free cpuset (unused path) outside the lock. Reviewed (with feedback) by <ad>.
Revision 1.9.2.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:56 2009 UTC (3 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.9: +45 -9
lines
Diff to previous 1.9 (colored)
Sync with HEAD.
Revision 1.9.4.2 / (download) - annotate - [select for diffs], Mon Jan 26 00:35:44 2009 UTC (3 years, 3 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC2,
netbsd-5-0-RC1
Changes since 1.9.4.1: +3 -3
lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored)
Pull up following revision(s) (requested by rmind in ticket #312): sys/kern/sys_pset.c: revision 1.11 sys__pset_bind: obviously, sched_takecpu() should take "t" LWP, not "l".
Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 23 13:58:08 2009 UTC (3 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
sys__pset_bind: obviously, sched_takecpu() should take "t" LWP, not "l".
Revision 1.9.4.1 / (download) - annotate - [select for diffs], Thu Jan 22 20:42:46 2009 UTC (3 years, 4 months ago) by snj
Branch: netbsd-5
Changes since 1.9: +44 -8
lines
Diff to previous 1.9 (colored)
Pull up following revision(s) (requested by rmind in ticket #291): lib/libpthread/affinity.3: revision 1.4 lib/librt/pset.3: revision 1.8 sys/kern/sys_pset.c: revision 1.10 sys/kern/sys_sched.c: revision 1.32 - Make thread-affinity and processor-set interfaces mutually exlusive. - pset_assign: when CPU is assigned, migrate out all LWPs from it.
Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 20 01:57:35 2009 UTC (3 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.9: +44 -8
lines
Diff to previous 1.9 (colored)
- Make thread-affinity and processor-set interfaces mutually exlusive. - pset_assign: when CPU is assigned, migrate out all LWPs from it.
Revision 1.8.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.8: +10 -9
lines
Diff to previous 1.8 (colored) next main 1.9 (colored)
Sync with HEAD.
Revision 1.6.4.2 / (download) - annotate - [select for diffs], Fri Oct 10 22:34:14 2008 UTC (3 years, 7 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.6.4.1: +10 -9
lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)
Sync with HEAD.
Revision 1.4.8.3 / (download) - annotate - [select for diffs], Sun Oct 5 20:11:32 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.4.8.2: +8 -7
lines
Diff to previous 1.4.8.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)
Sync with HEAD.
Revision 1.9 / (download) - annotate - [select for diffs], Tue Sep 30 16:28:45 2008 UTC (3 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
netbsd-5-base,
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
Changes since 1.8: +10 -9
lines
Diff to previous 1.8 (colored)
- Schedule bound threads even if CPU is offline. Might be revisited later, when decision what to do with already bound threads will be made. - Do not allow to assign offline CPU to the processor-set. Quick fix for PR/39349.
Revision 1.4.8.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:14 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.4.8.1: +75 -29
lines
Diff to previous 1.4.8.1 (colored) to branchpoint 1.4 (colored)
Sync with HEAD.
Revision 1.7.2.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:39 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.7: +77 -31
lines
Diff to previous 1.7 (colored) next main 1.8 (colored)
Sync with head.
Revision 1.6.4.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:51 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.6: +88 -42
lines
Diff to previous 1.6 (colored)
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.8 / (download) - annotate - [select for diffs], Sun Jun 22 12:59:18 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.7: +77 -31
lines
Diff to previous 1.7 (colored)
- Ensure that at least one cpu stays in the default pset, otherwise the system will lock up. - Use cpu_lock, there's no need for a seperate psets_lock. - Add a sysctl to return the list of psets as a string.
Revision 1.4.12.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.4.12.1: +13 -13
lines
Diff to previous 1.4.12.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)
sync with head
Revision 1.4.8.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:12 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.4: +22 -20
lines
Diff to previous 1.4 (colored)
Sync with HEAD.
Revision 1.7 / (download) - annotate - [select for diffs], Mon May 26 17:45:51 2008 UTC (4 years ago) by rmind
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3
Branch point for: simonb-wapbl
Changes since 1.6: +13 -13
lines
Diff to previous 1.6 (colored)
Adjust and thus unify my license.
Revision 1.4.12.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.4: +11 -9
lines
Diff to previous 1.4 (colored)
sync with head.
Revision 1.6 / (download) - annotate - [select for diffs], Thu Apr 24 18:39:24 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp,
wrstuden-revivesa
Changes since 1.5: +5 -5
lines
Diff to previous 1.5 (colored)
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since we no longer need to guard against access from hardware interrupt handlers. Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the child process share the parent's lock so that signal state may be kept in sync. Partially addresses PR kern/37437.
Revision 1.5 / (download) - annotate - [select for diffs], Thu Apr 24 15:35:30 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.4: +8 -6
lines
Diff to previous 1.4 (colored)
Network protocol interrupts can now block on locks, so merge the globals proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock). Implications: - Inspecting process state requires thread context, so signals can no longer be sent from a hardware interrupt handler. Signal activity must be deferred to a soft interrupt or kthread. - As the proc state locking is simplified, it's now safe to take exit() and wait() out from under kernel_lock. - The system spends less time at IPL_SCHED, and there is less lock activity.
Revision 1.4.10.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.4.10.1: +508 -0
lines
Diff to previous 1.4.10.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)
sync with HEAD
Revision 1.4.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:47 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.4.2.1: +508 -0
lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)
Sync with HEAD.
Revision 1.2.4.3 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:18 2008 UTC (4 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.2: +13 -9
lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)
sync with head.
Revision 1.4.10.1, Wed Jan 30 17:54:56 2008 UTC (4 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.4: +0 -508
lines
FILE REMOVED
file sys_pset.c was added on branch matt-armv6 on 2008-03-23 02:05:00 +0000
Revision 1.4.2.1, Wed Jan 30 17:54:56 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.4: +0 -508
lines
FILE REMOVED
file sys_pset.c was added on branch mjf-devfs on 2008-02-18 21:06:47 +0000
Revision 1.4 / (download) - annotate - [select for diffs], Wed Jan 30 17:54:56 2008 UTC (4 years, 3 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-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,
ad-socklock-base1
Branch point for: yamt-pf42,
mjf-devfs2,
mjf-devfs,
matt-armv6
Changes since 1.3: +13 -8
lines
Diff to previous 1.3 (colored)
Use proper kauth(9) actions/requests for native scheduler stuff and the recently introduced processor-sets. Discussed with and okay rmind@, yamt@, and christos@.
Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 24 14:41:12 2008 UTC (4 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.2: +2 -3
lines
Diff to previous 1.2 (colored)
Fix the return values to conform the standard and/or be compatible with other systems. Reported by <drochner>.
Revision 1.2.4.2 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:25 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.1: +504 -0
lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored)
sync with head
Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:26 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.2.2.1: +504 -0
lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)
Sync with HEAD
Revision 1.2.4.1, Tue Jan 15 09:11:29 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2: +0 -504
lines
FILE REMOVED
file sys_pset.c was added on branch yamt-lazymbuf on 2008-01-21 09:46:25 +0000
Revision 1.2.2.1, Tue Jan 15 09:11:29 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.2: +0 -504
lines
FILE REMOVED
file sys_pset.c was added on branch bouyer-xeni386 on 2008-01-19 12:15:25 +0000
Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 15 09:11:29 2008 UTC (4 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase,
bouyer-xeni386-base
Branch point for: yamt-lazymbuf,
bouyer-xeni386
Changes since 1.1: +4 -3
lines
Diff to previous 1.1 (colored)
sys__pset_bind: don't leave pset busy.
Revision 1.1 / (download) - annotate - [select for diffs], Tue Jan 15 03:41:49 2008 UTC (4 years, 4 months ago) by rmind
Branch: MAIN
Implementation of processor-sets, affinity and POSIX real-time extensions. Add schedctl(8) - a program to control scheduling of processes and threads. Notes: - This is supported only by SCHED_M2; - Migration of LWP mechanism will be revisited; Proposed on: <tech-kern>. Reviewed by: <ad>.