The NetBSD Project

CVS log for src/sys/dev/lockstat.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Apr 8 10:17:54 2022 UTC (4 years, 7 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, netbsd-10-base, netbsd-10-2-RELEASE, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
fix various typos, mainly in comments, but also log messages, docs, game text.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Feb 27 14:16:32 2022 UTC (4 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +11 -11 lines
lockstat(4): KNF.  No functional change intended.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Feb 27 14:16:12 2022 UTC (4 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +35 -14 lines
lockstat(4): Membar audit.

- Serialize updates to lockstat_enabled, lockstat_dev_enabled, and
  lockstat_dtrace_enabled with a new __cpu_simple_lock.

- Use xc_barrier to obviate any need for additional membars in
  lockstat_event.

- Use atomic_load/store_* for access that might not be serialized by
  lockstat_lock or lockstat_enabled_lock.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat May 23 23:42:42 2020 UTC (6 years, 5 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4 lines
Move proc_lock into the data segment.  It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.

Revision 1.25.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:02 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +13 -7 lines
Merge changes from current as of 20200406

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Nov 23 17:32:10 2019 UTC (6 years, 11 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, 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.25: preferred, colored
Changes since revision 1.25: +13 -7 lines
- Increase the default number of buffers, and scale it by ncpu.
- Stop tracing when the device is closed.

Revision 1.15.44.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:58 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.15.44.2: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.44.2: +47 -17 lines
update from HEAD

Revision 1.19.4.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:00 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.19.4.2: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.4.2: +2 -4 lines
Sync with HEAD

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:09 2017 UTC (9 years, 5 months ago) by chs
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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-9-base, netbsd-9-5-RELEASE, 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, 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, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -4 lines
remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.19.4.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:56 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.19.4.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.4.1: +7 -5 lines
Sync with HEAD

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Aug 20 14:40:17 2015 UTC (11 years, 2 months ago) by christos
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, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -3 lines
include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Jun 7 06:08:37 2015 UTC (11 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -2 lines
This uses CPU_INFO_FOREACH so it really should include <sys/cpu.h>

Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:08 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +46 -16 lines
Sync with HEAD

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Mar 11 16:00:54 2015 UTC (11 years, 8 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +8 -2 lines
add coverity annotations (variable is volatile so it might have side effects)

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Mar 9 01:41:41 2015 UTC (11 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +18 -16 lines
Introduce a new flag LB_DTRACE for dtrace lockstat events.
Split lockstat_enabled into two parts, one controlled by dtrace called
"lockstat_dtrace_enabled" and one by the lockstat device called
"lockstat_dev_enabled". Create a macro that needs to be called when either
of them changes LOCKSTAT_ENABLED_UPDATE().

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Mar 8 22:45:16 2015 UTC (11 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +24 -2 lines
dtrace bits from riastradh

Revision 1.15.44.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:35 2014 UTC (12 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.15.44.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.44.1: +15 -5 lines
Rebase to HEAD as of a few days ago.

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:50 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -3 lines
Rebase.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:35 2014 UTC (12 years, 3 months ago) by dholland
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, 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
Branch point for: nick-nhusb
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -2 lines
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.15.34.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:19 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.15.34.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.34.1: +14 -5 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.16.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:35 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +14 -5 lines
sync with head

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Apr 21 16:33:21 2014 UTC (12 years, 6 months ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
increase LOCKSTAT_MAXBUFS, systems with lots of CPUs need more.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:20:26 2014 UTC (12 years, 8 months ago) by dholland
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +13 -4 lines
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.15.44.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:11 2013 UTC (13 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
resync with head

Revision 1.15.34.1: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:33:13 2013 UTC (13 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
sync with (a bit old) head

Revision 1.15.48.1: download - view: text, markup, annotated - select for diffs
Sun Jan 13 16:13:09 2013 UTC (13 years, 10 months ago) by bouyer
Branches: netbsd-5-2
CVS tags: netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #1826):
	sys/dev/lockstat.c: revision 1.16
Fix off by one.

Revision 1.15.24.1: download - view: text, markup, annotated - select for diffs
Sun Jan 13 16:13:08 2013 UTC (13 years, 10 months ago) by bouyer
Branches: netbsd-5-1
CVS tags: netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #1826):
	sys/dev/lockstat.c: revision 1.16
Fix off by one.

Revision 1.15.16.1: download - view: text, markup, annotated - select for diffs
Sun Jan 13 16:13:03 2013 UTC (13 years, 10 months ago) by bouyer
Branches: netbsd-5-0
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #1826):
	sys/dev/lockstat.c: revision 1.16
Fix off by one.

Revision 1.15.10.1: download - view: text, markup, annotated - select for diffs
Sun Jan 13 16:12:56 2013 UTC (13 years, 10 months ago) by bouyer
Branches: netbsd-5
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #1826):
	sys/dev/lockstat.c: revision 1.16
Fix off by one.

Revision 1.15.46.1: download - view: text, markup, annotated - select for diffs
Mon Dec 17 00:23:10 2012 UTC (13 years, 11 months 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, netbsd-6-0-1-RELEASE
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #752):
	sys/dev/lockstat.c: revision 1.16
Fix off by one.

Revision 1.15.40.1: download - view: text, markup, annotated - select for diffs
Mon Dec 17 00:23:01 2012 UTC (13 years, 11 months 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.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #752):
	sys/dev/lockstat.c: revision 1.16
Fix off by one.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Dec 10 06:07:34 2012 UTC (13 years, 11 months ago) by msaitoh
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
Fix off by one.

Revision 1.13.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:11 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.13.6.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.6.1: +12 -9 lines
Sync with HEAD.

Revision 1.13.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:30 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +12 -9 lines
sync with head.

Revision 1.13.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:23:49 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +12 -9 lines
sync with head.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:46 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, 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-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-6-base, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, 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-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, mjf-devfs2-base, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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-premerge-20101231, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, 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, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-pagecache, tls-maxphys, netbsd-6-0, netbsd-6, netbsd-5-2, netbsd-5-1, netbsd-5-0, netbsd-5
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Apr 28 15:36:01 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +12 -2 lines
Add MI code to support in-kernel preemption. Preemption is deferred by
one of the following:

- Holding kernel_lock (indicating that the code is not MT safe).
- Bracketing critical sections with kpreempt_disable/kpreempt_enable.
- Holding the interrupt priority level above IPL_NONE.

Statistics on kernel preemption are reported via event counters, and
where preemption is deferred for some reason, it's also reported via
lockstat. The LWP priority at which preemption is triggered is tuneable
via sysctl.

Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 5 23:33:20 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -2 lines
- add "file-system DEVFS" and "pseudo-device devfsctl" to conf/std seeing
  as these are always needed.

- convert many, many drivers over to the New Devfs World Order. For a
  list of device drivers yet to be converted see,
  http://www.netbsd.org/~mjf/devfs-todo.html.

- add a new device_unregister_all(device_t) function to remove all device
  names associated with a device_t, which saves us having to construct
  device names when the driver is detached.

- add a DEV_AUDIO type for devices.

Revision 1.10.14.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:32 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.10.14.2: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.14.2: +4 -3 lines
Sync with HEAD.

Revision 1.5.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:42:26 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.2.5: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.5: +8 -6 lines
sync with head

Revision 1.10.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:52:14 2008 UTC (18 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: +8 -6 lines
sync with HEAD

Revision 1.11.6.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:10:55 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.11.6.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.6.1: +2 -1 lines
Sync with HEAD

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Jan 4 21:17:48 2008 UTC (18 years, 10 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -3 lines
Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.

Revision 1.11.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:53:47 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -5 lines
Sync with HEAD

Revision 1.10.14.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:44:46 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.10.14.1: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.14.1: +6 -5 lines
Sync with HEAD.

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:45:58 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +6 -5 lines
Sync with head.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Dec 20 21:09:00 2007 UTC (18 years, 11 months ago) by ad
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -5 lines
Use new style memory barriers.

Revision 1.10.14.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:47:41 2007 UTC (19 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +36 -112 lines
Sync with HEAD.

Revision 1.5.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:44:01 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.2.4: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.4: +36 -112 lines
sync with head.

Revision 1.10.12.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:00:51 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +36 -112 lines
Sync with HEAD

Revision 1.10.8.1: download - view: text, markup, annotated - select for diffs
Thu Nov 8 10:59:47 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +36 -112 lines
sync with -HEAD

Revision 1.10.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 21:16:23 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +36 -112 lines
Sync with HEAD.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Nov 6 18:02:43 2007 UTC (19 years ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, bouyer-xeni386
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +36 -112 lines
Merge from vmlocking.

Revision 1.8.2.4: download - view: text, markup, annotated - select for diffs
Mon Oct 29 16:33:14 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.8.2.3: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.3: +9 -3 lines
Prevent the device from being accessed by an LWP other than the LWP that
first opened it.

Revision 1.8.2.3: download - view: text, markup, annotated - select for diffs
Mon Oct 29 00:22:43 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.8.2.2: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.2: +3 -3 lines
lockstat_event: splhigh() before calling curcpu(), since it can change if
the LWP is preempted.

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Sun Oct 28 15:44:57 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.1: +30 -112 lines
- Use kmem_alloc/kmem_free.
- Simplify locking.
- Mark MPSAFE.

Revision 1.5.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:33:13 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.2.3: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.3: +15 -8 lines
sync with head.

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:21:07 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +14 -7 lines
Sync with head.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jul 14 13:30:44 2007 UTC (19 years, 4 months ago) by ad
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, matt-mips64-base, matt-mips64, jmcneill-base, hpcarm-cleanup
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +12 -5 lines
- Increase default number of trace buffers to 10000.
- New options:
     -f         Trace only by calling functions.
     -m         Merge call sites within unique functions.
     -M         Merge lock addresses within unique objects.

Revision 1.8.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:05:02 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +4 -4 lines
Sync with head.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jun 15 20:17:07 2007 UTC (19 years, 5 months ago) by ad
Branches: MAIN
CVS tags: mjf-ufs-trans-base
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4 lines
splstatclock, spllock -> splhigh

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:53:04 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
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
Sun Mar 4 06:01:42 2007 UTC (19 years, 8 months ago) by christos
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.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:54 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.2.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.2: +7 -19 lines
sync with head.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Feb 15 20:32:47 2007 UTC (19 years, 9 months ago) by ad
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -5 lines
Count the number of CPUs at boot and stash in 'ncpu'. Eventually should
have each CPU register at attach, so we can figure out the topology for
the scheduler.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:26 2007 UTC (19 years, 9 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -16 lines
Merge newlock2 to head.

Revision 1.2.2.5: download - view: text, markup, annotated - select for diffs
Tue Feb 6 20:32:57 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.2.2.4: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.4: +5 -5 lines
Avoid shadowing global 'time'. Noted by mhitch.
k

Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 12 00:57:34 2007 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.3: +5 -3 lines
Sync with head.

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:50 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.1: +581 -0 lines
sync with head.

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 29 20:27:43 2006 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +12 -8 lines
Checkpoint work in progress.

Revision 1.5.2.1
Mon Dec 25 11:57:40 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.5: +0 -581 lines
file lockstat.c was added on branch yamt-lazymbuf on 2006-12-30 20:47:50 +0000

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Dec 25 11:57:40 2006 UTC (19 years, 10 months ago) by ad
Branches: MAIN
CVS tags: newlock2-nbase, newlock2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +22 -13 lines
lockstat: improve reporting slightly, and fix a bug where the command
could spin while resorting lists.

Revision 1.2.8.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:53 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.2.8.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.8.1: +9 -9 lines
sync with head.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:03 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +8 -5 lines
Sync with head.

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 17 16:34:35 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -12 lines
Checkpoint work in progress.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:45 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +9 -9 lines
__unused removal on arguments; approved by core.

Revision 1.2.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:28 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -6 lines
sync with head

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Oct 12 06:56:47 2006 UTC (20 years, 1 month ago) by xtraeme
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -6 lines
Use __unused in function arguments where appropiate. (hi christos)

Revision 1.2.6.2: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:26 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.1: +569 -0 lines
sync with head.

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:49:09 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.1: +569 -0 lines
sync with head

Revision 1.2.6.1
Thu Sep 7 01:03:02 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
FILE REMOVED
Changes since revision 1.2: +0 -569 lines
file lockstat.c was added on branch yamt-pdpolicy on 2006-09-14 12:31:26 +0000

Revision 1.2.4.1
Thu Sep 7 01:03:02 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
FILE REMOVED
Changes since revision 1.2: +0 -569 lines
file lockstat.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:49:09 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Sep 7 01:03:02 2006 UTC (20 years, 2 months ago) by ad
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, yamt-pdpolicy, rpaulo-netinet-merge-pcb, newlock2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -5 lines
- Add a couple of XXX comments.
- lb->lb_cpu doesn't need to be filled in lockstat_event().

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Sep 7 00:20:28 2006 UTC (20 years, 2 months ago) by ad
Branches: MAIN
Add the 'lockstat' driver, which collects basic information about lock events.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>