CVS log for src/sys/sys/mutex.h
Up to [cvs.NetBSD.org] / src / sys / sys
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Sep 7 20:05:41 2023 UTC (14 months, 3 weeks 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.27: preferred, colored
Changes since revision 1.27: +1 -2
lines
Remove dodgy and unused mutex_owner_running() & rw_owner_running().
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Apr 12 06:35:40 2023 UTC (19 months, 3 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -2
lines
kern: Nix mutex_owner.
There is no valid reason to use this except in assertions of the form
KASSERT(mutex_owner(lock) == curlwp),
which is more obviously spelled as
KASSERT(mutex_owned(lock)).
Exception: There's one horrible kludge in zfs that abuses this, which
should be eliminated.
XXX kernel revbump -- deleting symbol
PR kern/47114
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Oct 26 23:21:20 2022 UTC (2 years, 1 month ago) by riastradh
Branches: MAIN
CVS tags: netbsd-10-base,
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.25: preferred, colored
Changes since revision 1.25: +2 -1
lines
mutex(9): Properly declare _mutex_init in sys/mutex.h.
Revision 1.22.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:03 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +5 -9
lines
Merge changes from current as of 20200406
Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Jan 1 21:34:39 2020 UTC (4 years, 11 months ago) by ad
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,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -1
lines
Add some new functions for lock objects:
mutex_obj_refcnt(), mutex_obj_tryalloc()
rw_obj_refcnt(), rw_obj_tryalloc()
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 9 21:08:56 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -2
lines
Add mutex_owner_running().
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Nov 30 15:34:07 2019 UTC (5 years ago) by riastradh
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -8
lines
Nix vestigial references to MUTEX_GIVE and MUTEX_RECEIVE in comments.
Revision 1.20.20.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:20 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +4 -3
lines
update from HEAD
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Sep 16 23:25:35 2017 UTC (7 years, 2 months ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
phil-wifi-base,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
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
Branch point for: phil-wifi
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -4
lines
add missing const
Revision 1.20.38.1: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:16 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +2 -1
lines
Sync with HEAD
Revision 1.20.52.2: download - view: text, markup, annotated - select for diffs
Tue May 2 03:19:22 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.20.52.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.52.1: +1 -1
lines
Sync with HEAD - tag prg-localcount2-base1
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon May 1 21:35:26 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
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,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -1
lines
Introduce mutex_ownable() to determine if it is possible for the current
process to acquire a mutex.
Revision 1.20.52.1: download - view: text, markup, annotated - select for diffs
Sun Apr 30 04:56:55 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -1
lines
Introduce mutex_ownable(9) and use it in localcount_release(9).
Commit of same code to head is awaiting discussion on tech-kern.
Revision 1.20.10.2: download - view: text, markup, annotated - select for diffs
Mon Dec 26 16:03:10 2011 UTC (12 years, 11 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.20.10.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.10.1: +1 -0
lines
- use O->A loan to serve read(2). based on a patch from Chuck Silvers
- associated O->A loan fixes.
Revision 1.20.10.1: download - view: text, markup, annotated - select for diffs
Fri Nov 18 00:57:33 2011 UTC (13 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -1
lines
- use mutex obj for pageable object
- add a function to wait for a mutex obj being available
- replace some "livelock" kpauses with it
Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:44:32 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +7 -2
lines
Sync with HEAD.
Revision 1.15.4.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:42 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.15.4.2: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.4.2: +7 -2
lines
sync with head
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Feb 8 09:54:27 2010 UTC (14 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base7,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
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,
prg-localcount2-base,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
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,
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,
netbsd-6-base,
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,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
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,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
localcount-20160914,
khorben-n900,
jruoho-x86intr-base,
jruoho-x86intr,
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-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
jdolecek-ncq-base,
jdolecek-ncq,
cherry-xenmp-base,
cherry-xenmp,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
agc-symver-base,
agc-symver
Branch point for: yamt-pagecache,
tls-maxphys,
prg-localcount2,
nick-nhusb
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -2
lines
Re-apply:
Invert the sense of the bit to mark if LOCKDEBUG is enabled to
disabled.
This will help my fellow developers spot "use before initialised"
problems that hppa picks up very well.
but fix the !LOCKDEBUG case by defining the "no debug" bits to zero so
they have no effect on lock stubs.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Feb 6 04:50:19 2010 UTC (14 years, 9 months ago) by cube
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2
lines
Revert commit from Fri Feb 5 06:43:17 UTC 2010 by skrll:
Invert the sense of the bit to mark if LOCKDEBUG is enabled to disabled.
This will help my fellow developers spot "use before initialised" problems
that hppa picks up very well.
It has to be done differently, because the semantics of mtx_owner in the non-
LOCKDEBUG case can vary significantly between archs, and thus it is not
possible to simply flip a bit to 1.
Ok core@, as at least i386 is unbootable right now.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Feb 5 06:43:17 2010 UTC (14 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
Invert the sense of the bit to mark if LOCKDEBUG is enabled to disabled.
This will help my fellow developers spot "use before initialised" problems
that hppa picks up very well.
Revision 1.15.4.2: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:53 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.15.4.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.4.1: +4 -5
lines
sync with head
Revision 1.16.14.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:23:03 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +4 -5
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon May 11 22:37:21 2009 UTC (15 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -5
lines
Obsolete comment.
Revision 1.14.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:33 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.14.6.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.6.1: +0 -7
lines
Sync with HEAD.
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:49 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +1 -8
lines
sync with head.
Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:51 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -8
lines
sync with head.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:24:11 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base3,
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-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
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,
mjf-devfs2-base,
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,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -8
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:43:12 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +7 -2
lines
Sync with HEAD.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Mar 27 19:11:05 2008 UTC (16 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base
Branch point for: yamt-pf42,
yamt-nfs-mp
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +7 -2
lines
Add code for dynamically allocated mutexes, as posted on tech-kern.
Revision 1.1.18.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:47:54 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.18.4: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.18.4: +2 -1
lines
sync with head
Revision 1.10.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:58:13 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.10.8.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.8.1: +13 -15
lines
sync with HEAD
Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:58:04 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +2 -1
lines
Sync with HEAD
Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:46:40 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
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: +2 -1
lines
Sync with HEAD.
Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:39:56 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.1: +2 -1
lines
Sync with head.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Dec 24 14:57:56 2007 UTC (16 years, 11 months ago) by ad
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
vmlocking2-base3,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1
lines
Add back mutex_owner() for Solaris compat.
Revision 1.10.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:38:48 2007 UTC (16 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.10.6.2: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.6.2: +6 -10
lines
Sync with HEAD.
Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:21:33 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +12 -15
lines
Sync with HEAD.
Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:58:07 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +6 -10
lines
Sync with head.
Revision 1.1.18.4: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:34:56 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.18.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.18.3: +12 -15
lines
sync with head
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Dec 5 07:06:55 2007 UTC (17 years ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +6 -10
lines
Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written
for Solaris.
Revision 1.10.6.2: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:56:16 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.10.6.1: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.6.1: +7 -6
lines
Sync with HEAD.
Revision 1.10.12.2: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:19:50 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.10.12.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.12.1: +6 -5
lines
Sync with HEAD
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Nov 21 10:19:11 2007 UTC (17 years ago) by yamt
Branches: MAIN
CVS tags: vmlocking2-base1,
vmlocking-nbase,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: vmlocking2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +7 -6
lines
make kmutex_t and krwlock_t smaller by killing lock id.
ok'ed by Andrew Doran.
Revision 1.10.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:34:52 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2
lines
sync with HEAD
Revision 1.1.18.3: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:36:31 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.18.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.18.2: +2 -2
lines
sync with head.
Revision 1.10.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:49:20 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2
lines
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.10.12.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:40:12 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2
lines
Sync with HEAD.
Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:17:25 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.1: +2 -2
lines
Sync with head.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:16:48 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: jmcneill-base
Branch point for: mjf-devfs
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2
lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.1.18.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:46:29 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.18.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.18.1: +10 -6
lines
sync with head.
Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:12:32 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +2 -2
lines
Sync with head.
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:58:16 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2
lines
Sync with head.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue May 29 21:23:30 2007 UTC (17 years, 6 months ago) by alc
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6,
jmcneill-pm,
bouyer-xenamd64
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2
lines
fix typo in comment
Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 06:00:53 2007 UTC (17 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.5.2.1: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.1: +9 -4
lines
Sync with HEAD.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Mar 10 16:01:13 2007 UTC (17 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -2
lines
Add a MUTEX_NODEBUG type that avoids allocating debugging resources for
the lock. To be used for e.g. struct vm_page until a better way is found.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Mar 9 04:50:36 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3
lines
Correct a comment.
Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:55:15 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -10
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Feb 26 19:11:28 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -2
lines
- Nuke mutex_owner()
- mutex_getowner() -> mutex_owner()
Revision 1.1.18.1: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:12:13 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +212 -0
lines
sync with head.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Feb 19 00:31:21 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -9
lines
MUTEX_NO_SPIN_ACTIVE_P() needs to be a macro, otherwise we end up in
circular dependency hell.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Feb 16 13:56:24 2007 UTC (17 years, 9 months ago) by tsutsui
Branches: MAIN
Branch point for: yamt-idlelwp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1
lines
Include <machine/cpu.h> for struct cpu_info.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Feb 16 03:10:12 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +12 -1
lines
Add MUTEX_NO_SPIN_ACTIVE_P() to check if spin mutexes are held on
the current cpu. A generic version is provided if the architecture
does not provide one.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Feb 15 15:49:27 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1
lines
- Add a mutex_wakeup() which clears the waiters flag and wakes all waiters.
Will be needed to fix a problem with mutexes on sparc.
- mutex_tryenter(): fix a false "locking against myself" error.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:37 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +204 -0
lines
Merge newlock2 to head.
Revision 1.1.36.11: download - view: text, markup, annotated - select for diffs
Thu Feb 1 05:36:20 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.36.10: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.36.10: +6 -2
lines
Handle hppa weirdness.
Revision 1.1.36.10: download - view: text, markup, annotated - select for diffs
Tue Jan 30 15:18:28 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.36.9: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.36.9: +4 -2
lines
Don't pull in <machine/intr.h> unless _KERNEL.
Revision 1.1.36.9: download - view: text, markup, annotated - select for diffs
Sat Jan 27 14:00:02 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.36.8: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.36.8: +9 -9
lines
Rename some functions to better describe what they do.
Revision 1.1.36.8: download - view: text, markup, annotated - select for diffs
Wed Jan 17 20:26:36 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.36.7: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.36.7: +7 -6
lines
Fix detection of deadlock against the big lock.
Revision 1.1.36.7: download - view: text, markup, annotated - select for diffs
Fri Jan 12 20:18:29 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.36.6: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.36.6: +2 -2
lines
Fix 'SPL NOT LOWERED ON SYSCALL EXIT' with amd64.
Revision 1.1.36.6: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:24 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.36.5: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.36.5: +4 -3
lines
Sync with head.
Revision 1.1.36.5: download - view: text, markup, annotated - select for diffs
Thu Jan 11 22:23:00 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.36.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.36.4: +6 -7
lines
Checkpoint work in progress.
Revision 1.1.36.4: download - view: text, markup, annotated - select for diffs
Fri Dec 29 20:27:45 2006 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.1.36.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.36.3: +68 -44
lines
Checkpoint work in progress.
Revision 1.1.36.3: download - view: text, markup, annotated - select for diffs
Fri Nov 17 16:34:40 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.1.36.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.36.2: +16 -17
lines
Checkpoint work in progress.
Revision 1.1.36.2: download - view: text, markup, annotated - select for diffs
Fri Oct 20 19:45:12 2006 UTC (18 years, 1 month ago) by ad
Branches: newlock2
Diff to: previous 1.1.36.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.36.1: +24 -8
lines
- Update for lockdebug changes.
- Define mutex_getspl(), mutex_setspl() for modifying saved SPL value.
Revision 1.1.36.1: download - view: text, markup, annotated - select for diffs
Sun Sep 10 23:42:41 2006 UTC (18 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +158 -0
lines
Add updated locking primatives.
Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Fri Mar 22 00:15:55 2002 UTC (22 years, 8 months ago) by thorpej
Branches: newlock
Diff to: previous 1.1.2.6: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.6: +6 -1
lines
Add some minimal mutex debugging infrastructure.
* struct mutex_debug_info, which MD code adds to the kmutex_t
when MUTEX_DEBUG is defined, contains the PC values of the
last-locked and last-unlocked.
* MD code is expected to set last-locked in the enter fast path.
* MD code is expected to always call mutex_vector_exit() in the
exit case.
Note: this code relies on MD code performing a tail-call to the
slow-path.
Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Mon Mar 18 01:16:44 2002 UTC (22 years, 8 months ago) by thorpej
Branches: newlock
Diff to: previous 1.1.2.5: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.5: +3 -3
lines
Move the inclusion of <machine/*_impl.h> to the end so that MD
code can define CPP macros for the various entry points.
Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Tue Mar 12 16:52:00 2002 UTC (22 years, 8 months ago) by thorpej
Branches: newlock
Diff to: previous 1.1.2.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.4: +5 -3
lines
Protect prototypes with _KERNEL
Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Tue Mar 12 00:07:30 2002 UTC (22 years, 8 months ago) by thorpej
Branches: newlock
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.3: +2 -1
lines
Implement mutex_owned() (returns true if current thread owns mutex).
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 11 17:08:34 2002 UTC (22 years, 8 months ago) by thorpej
Branches: newlock
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +3 -1
lines
Implement mutex_owner().
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 11 00:43:13 2002 UTC (22 years, 8 months ago) by thorpej
Branches: newlock
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +2 -2
lines
Split the "simplelock" stuff out of lock.h into simplelock.h. The
new __cpu_simple_lock_t basic atomic primitive is still useful, even
with the new mutex implementation.
In mutex.h, use simplelock.h rather than lock.h.
Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 10 21:39:48 2002 UTC (22 years, 8 months ago) by thorpej
Branches: newlock
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +138 -0
lines
New kernel mutex implementation, modeled after those found in Solaris
and described in:
Solaris Internals: Core Kernel Architecture, Jim Mauro and
Richard McDougall, section 3.5.
Both adaptive (spin/sleep) and spin (spin + block interrupts) mutexes
are implemented. See <sys/mutex.h> for the support that machine-dependent
code must supply.
Revision 1.1
Sun Mar 10 21:39:48 2002 UTC (22 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
yamt-pdpolicy,
yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
newlock2-nbase,
newlock2-base,
nathanw_sa_before_merge,
nathanw_sa_base,
ktrace-lwp-base,
ktrace-lwp,
kqueue-base,
kent-audio2-base,
kent-audio2,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
gehenna-devsw-base,
gehenna-devsw,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-nbase,
eeh-devprop-base,
eeh-devprop
Branch point for: yamt-lazymbuf,
newlock2,
newlock
FILE REMOVED
file mutex.h was initially added on branch newlock.
CVSweb <webmaster@jp.NetBSD.org>