CVS log for src/sys/kern/subr_pserialize.c
Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Oct 4 20:28:06 2023 UTC (16 months, 1 week ago) by ad
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +6 -9
lines
Eliminate l->l_ncsw and l->l_nivcsw. From memory think they were added
before we had per-LWP struct rusage; the same is now tracked there.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Apr 16 04:52:19 2023 UTC (21 months, 4 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -5
lines
pserialize(9): Fix buggy assertion inside assertion.
If there has been a context switch, then we can't be in a pserialize
read section -- _and_ whatever we read out of curcpu() is stale, so
we can't assert anything based on it. So just delete the assertion.
Reported-by: syzbot+d7065ab16d7cd9cc09af@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?id=0c63db890575d29c6a51fb24b003d3bab1f7f04b
Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Apr 14 16:51:46 2023 UTC (22 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
pserialize(9): Fix bug in recent micro-optimization.
curcpu() is always a valid struct cpu_info pointer, but curlwp->l_cpu
is not necessarily -- early at boot on some architectures (like x86,
apparently) it may be null.
Not clear that l->l_cpu is always a cost win over curcpu(): on some
architectures curcpu() is basically a macro for curlwp->l_cpu, while
on others it is a fixed VA. So let's use the one that always works
instead of the one that's sometimes cheaper and sometimes crashier.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Apr 9 08:28:24 2023 UTC (22 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3
lines
pserialize(9): Micro-optimize pserialize_read_exit.
Most of the time we're not cold, so let's convince gcc to make that a
statically predicted-not-taken branch.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Apr 9 08:17:45 2023 UTC (22 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +21 -6
lines
pserialize(9): Micro-optimize pserialize_not_in_read_section_p.
Load l_ncsw to test whether we have been preempted, rather than
loading and storing l_nopreempt (via function call) to prevent it.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Nov 15 10:29:56 2022 UTC (2 years, 2 months ago) by macallan
Branches: MAIN
CVS tags: netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -3
lines
don't KASSERT(kpreempt_disabled()) while cold
pserialize_read_*() can be called *very* early in kernel startup these days
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Oct 10 11:20:46 2021 UTC (3 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -12
lines
pserialize(9): Lift rule that pserialize_perform be serialized.
There may have been a technical reason for this back when we were
following the expired passive serialization patent to the letter, but
no more -- and this is a real burden for some applications.
Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:04 2020 UTC (4 years, 10 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.1: +40 -211
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Dec 5 03:21:29 2019 UTC (5 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -5
lines
Switch psz_ev_excl to static evcnt.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Dec 5 03:21:17 2019 UTC (5 years, 2 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +8 -6
lines
Restore psz_lock just for the event count.
Cost of mutex_enter/exit is negligible compared to the xcall we just
did, so this is not going to meaningfully affect performance.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Dec 3 13:30:52 2019 UTC (5 years, 2 months ago) by martin
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -2
lines
Stopgap hack to unbreak the build: #ifdef __HAVE_ATOMIC64_LOADSTORE
the event counter update. From rmind@
Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Dec 3 05:07:49 2019 UTC (5 years, 2 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +35 -208
lines
Rip out pserialize(9) logic now that the RCU patent has expired.
pserialize_perform() is now basically just xc_barrier(XC_HIGHPRI).
No more tentacles throughout the scheduler. Simplify the psz read
count for diagnostic assertions by putting it unconditionally into
cpu_info.
From rmind@, tidied up by me.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Oct 6 15:11:17 2019 UTC (5 years, 4 months ago) by uwe
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -5
lines
xc_barrier - convenience function to xc_broadcast() a nop.
Make the intent more clear and also avoid a bunch of (xcfunc_t)nullop
casts that gcc 8 -Wcast-function-type is not happy about.
Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:03 2019 UTC (5 years, 8 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -5
lines
Sync with HEAD
Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:42 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.1: +2 -5
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Aug 14 01:06:01 2018 UTC (6 years, 6 months ago) by ozaki-r
Branches: MAIN
CVS tags: phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -5
lines
Change the place to check if a context switch doesn't happen within a pserialize read section
The previous place (pserialize_switchpoint) was not a good place because at that
point a suspect thread is already switched so that a backtrace gotten on
a KASSERT failure doesn't point out where a context switch happens.
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Sun Apr 22 07:20:27 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -3
lines
Sync with HEAD
Revision 1.8.10.3: download - view: text, markup, annotated - select for diffs
Tue Apr 17 08:34:36 2018 UTC (6 years, 9 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Diff to: previous 1.8.10.2: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.10.2: +6 -3
lines
Pull up following revision(s) (requested by hannken in ticket #771):
sys/kern/subr_pserialize.c: revision 1.11
Function pserialize_perform() usually succeeds after two cross calls
so defer kpause() to iterations three and above.
Speeds up VOP_REVOKE() on /proc/XXX/status by a factor of ~12.
Ok: core@
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Apr 16 20:25:21 2018 UTC (6 years, 9 months ago) by hannken
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422
Branch point for: phil-wifi
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -3
lines
Function pserialize_perform() usually succeeds after two cross calls
so defer kpause() to iterations three and above.
Speeds up VOP_REVOKE() on /proc/XXX/status by a factor of ~12.
Ok: core@
Revision 1.8.10.2: download - view: text, markup, annotated - select for diffs
Mon Jan 22 12:30:20 2018 UTC (7 years ago) by martin
Branches: netbsd-8
Diff to: previous 1.8.10.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.10.1: +7 -2
lines
Pull up following revision(s) (requested by jdolecek in ticket #506):
sys/kern/kern_softint.c: revision 1.45
sys/rump/librump/rumpkern/rump.c: revision 1.331
sys/kern/subr_pserialize.c: revision 1.10
sys/kern/subr_psref.c: revision 1.10
Prevent panic or hangup in softint_disestablish(), pserialize_perform() or
psref_target_destroy() while mp_online == false.
See http://mail-index.netbsd.org/tech-kern/2017/12/25/msg022829.html
Set mp_online = true. This change might fix PR#52886.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Dec 28 03:39:48 2017 UTC (7 years, 1 month ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -2
lines
Prevent panic or hangup in softint_disestablish(), pserialize_perform() or
psref_target_destroy() while mp_online == false.
See http://mail-index.netbsd.org/tech-kern/2017/12/25/msg022829.html
Revision 1.5.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:45 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.5.6.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.6.1: +96 -4
lines
update from HEAD
Revision 1.8.10.1: download - view: text, markup, annotated - select for diffs
Thu Nov 30 14:40:46 2017 UTC (7 years, 2 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +95 -3
lines
Pull up following revision(s) (requested by ozaki-r in ticket #405):
sys/sys/pserialize.h: revision 1.2
sys/kern/kern_lock.c: revision 1.160
sys/kern/subr_pserialize.c: revision 1.9
sys/rump/librump/rumpkern/emul.c: revision 1.184
sys/rump/librump/rumpkern/emul.c: revision 1.185
sys/rump/librump/rumpkern/rump.c: revision 1.330
Implement debugging feature for pserialize(9)
The debugging feature detects violations of pserialize constraints.
It causes a panic:
- if a context switch happens in a read section, or
- if a sleepable function is called in a read section.
The feature is enabled only if LOCKDEBUG is on.
Discussed on tech-kern@
Add missing inclusion of pserialize.h (fix build)
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Nov 21 08:49:14 2017 UTC (7 years, 2 months ago) by ozaki-r
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +95 -3
lines
Implement debugging feature for pserialize(9)
The debugging feature detects violations of pserialize constraints.
It causes a panic:
- if a context switch happens in a read section, or
- if a sleepable function is called in a read section.
The feature is enabled only if LOCKDEBUG is on.
Discussed on tech-kern@
Revision 1.7.14.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:07 2015 UTC (9 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -3
lines
Sync with HEAD
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jun 12 19:18:30 2015 UTC (9 years, 8 months ago) by dholland
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3
lines
Typo in comment.
Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:03 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.2: +17 -26
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.5.6.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:54 2013 UTC (11 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +20 -25
lines
resync with head
Revision 1.5.8.2: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:42:50 2013 UTC (12 years ago) by riz
Branches: netbsd-6-0
CVS tags: netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE
Diff to: previous 1.5.8.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.8.1: +17 -26
lines
Pull up following revision(s) (requested by rmind in ticket #811):
sys/kern/subr_pserialize.c: revision 1.7
- pserialize_switchpoint: check for passing twice, not more than needed.
- pserialize_perform: avoid a possible race with softint handler.
Reported by hannken@.
Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:42:32 2013 UTC (12 years ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.1: +17 -26
lines
Pull up following revision(s) (requested by rmind in ticket #811):
sys/kern/subr_pserialize.c: revision 1.7
- pserialize_switchpoint: check for passing twice, not more than needed.
- pserialize_perform: avoid a possible race with softint handler.
Reported by hannken@.
Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Fri Feb 8 19:32:07 2013 UTC (12 years ago) by riz
Branches: netbsd-6
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +8 -4
lines
Pull up following revision(s) (requested by rmind in ticket #782):
sys/rump/include/machine/intr.h: revision 1.19
sys/kern/subr_pserialize.c: revision 1.6
sys/kern/kern_softint.c: revision 1.39
- softint_dispatch: perform pserialize(9) switchpoint when softintr processing
finishes (without blocking). Problem reported by hannken@, thanks!
- pserialize_read_enter: use splsoftserial(), not splsoftclock().
- pserialize_perform: add xcall(9) barrier as interrupts may be coalesced.
Provide splsoftserial.
GRRR RUMP
Revision 1.5.8.1: download - view: text, markup, annotated - select for diffs
Fri Feb 8 19:31:19 2013 UTC (12 years ago) by riz
Branches: netbsd-6-0
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +8 -4
lines
Pull up following revision(s) (requested by rmind in ticket #782):
sys/rump/include/machine/intr.h: revision 1.19
sys/kern/subr_pserialize.c: revision 1.6
sys/kern/kern_softint.c: revision 1.39
- softint_dispatch: perform pserialize(9) switchpoint when softintr processing
finishes (without blocking). Problem reported by hannken@, thanks!
- pserialize_read_enter: use splsoftserial(), not splsoftclock().
- pserialize_perform: add xcall(9) barrier as interrupts may be coalesced.
Provide splsoftserial.
GRRR RUMP
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Feb 7 23:37:58 2013 UTC (12 years ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: nick-nhusb
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +17 -26
lines
- pserialize_switchpoint: check for passing twice, not more than needed.
- pserialize_perform: avoid a possible race with softint handler.
Reported by hannken@.
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:22 2013 UTC (12 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +8 -4
lines
sync with head
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jan 7 23:21:32 2013 UTC (12 years, 1 month ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base8
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +8 -4
lines
- softint_dispatch: perform pserialize(9) switchpoint when softintr processing
finishes (without blocking). Problem reported by hannken@, thanks!
- pserialize_read_enter: use splsoftserial(), not splsoftclock().
- pserialize_perform: add xcall(9) barrier as interrupts may be coalesced.
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:28 2012 UTC (12 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
sync with head
Revision 1.4.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:35:32 2012 UTC (12 years, 11 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -3
lines
merge to -current.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jan 29 22:55:40 2012 UTC (13 years ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
netbsd-6-base,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-1-RELEASE,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10
Branch point for: tls-maxphys,
netbsd-6-0,
netbsd-6
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
- Add mi_cpu_init() and initialise cpu_lock and kcpuset_attached/running there.
- Add kcpuset_running which gets set in idle_loop().
- Use kcpuset_running in pserialize_perform().
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 7 21:38:32 2011 UTC (13 years, 6 months ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4
lines
- Add an argument to kcpuset_create() for zeroing.
- Add kcpuset_atomic_set(), kcpuset_atomic_clear() and kcpuset_merge().
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Aug 7 13:33:01 2011 UTC (13 years, 6 months ago) by rmind
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +7 -8
lines
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.2: download - view: text, markup, annotated - select for diffs
Mon Aug 1 15:26:31 2011 UTC (13 years, 6 months ago) by he
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -2
lines
Need to include <sys/evcnt.h> explicitly to build this on at least amiga.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jul 30 17:01:04 2011 UTC (13 years, 6 months ago) by christos
Branches: MAIN
Add an implementation of passive serialization as described in expired
US patent 4809168. This is a reader / writer synchronization mechanism,
designed for lock-less read operations.
CVSweb <webmaster@jp.NetBSD.org>