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


Default branch: MAIN


Revision 1.30 / (download) - annotate - [select for diffs], Fri Apr 8 10:17:54 2022 UTC (9 months, 3 weeks ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

fix various typos, mainly in comments, but also log messages, docs, game text.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Feb 27 14:16:32 2022 UTC (11 months ago) by riastradh
Branch: MAIN
Changes since 1.28: +11 -11 lines
Diff to previous 1.28 (colored)

lockstat(4): KNF.  No functional change intended.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Feb 27 14:16:12 2022 UTC (11 months ago) by riastradh
Branch: MAIN
Changes since 1.27: +35 -14 lines
Diff to previous 1.27 (colored)

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) - annotate - [select for diffs], Sat May 23 23:42:42 2020 UTC (2 years, 8 months ago) by ad
Branch: 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
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

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) - annotate - [select for diffs], Wed Apr 8 14:08:02 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.25: +13 -7 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Merge changes from current as of 20200406

Revision 1.26 / (download) - annotate - [select for diffs], Sat Nov 23 17:32:10 2019 UTC (3 years, 2 months ago) by ad
Branch: 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
Changes since 1.25: +13 -7 lines
Diff to previous 1.25 (colored)

- Increase the default number of buffers, and scale it by ncpu.
- Stop tracing when the device is closed.

Revision 1.15.44.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:58 2017 UTC (5 years, 1 month ago) by jdolecek
Branch: tls-maxphys
Changes since 1.15.44.2: +47 -17 lines
Diff to previous 1.15.44.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

update from HEAD

Revision 1.19.4.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:00 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.19.4.2: +2 -4 lines
Diff to previous 1.19.4.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Sync with HEAD

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:09 2017 UTC (5 years, 8 months ago) by chs
Branch: 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-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-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
Changes since 1.24: +2 -4 lines
Diff to previous 1.24 (colored)

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) - annotate - [select for diffs], Tue Sep 22 12:05:56 2015 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.19.4.1: +7 -5 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored)

Sync with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Thu Aug 20 14:40:17 2015 UTC (7 years, 5 months ago) by christos
Branch: 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
Changes since 1.23: +4 -3 lines
Diff to previous 1.23 (colored)

include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jun 7 06:08:37 2015 UTC (7 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored)

This uses CPU_INFO_FOREACH so it really should include <sys/cpu.h>

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:08 2015 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.19: +46 -16 lines
Diff to previous 1.19 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Wed Mar 11 16:00:54 2015 UTC (7 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.21: +8 -2 lines
Diff to previous 1.21 (colored)

add coverity annotations (variable is volatile so it might have side effects)

Revision 1.21 / (download) - annotate - [select for diffs], Mon Mar 9 01:41:41 2015 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.20: +18 -16 lines
Diff to previous 1.20 (colored)

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) - annotate - [select for diffs], Sun Mar 8 22:45:16 2015 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.19: +24 -2 lines
Diff to previous 1.19 (colored)

dtrace bits from riastradh

Revision 1.15.44.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:35 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.15.44.1: +15 -5 lines
Diff to previous 1.15.44.1 (colored) to branchpoint 1.15 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:50 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.17: +4 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Rebase.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jul 25 08:10:35 2014 UTC (8 years, 6 months ago) by dholland
Branch: 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
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored)

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) - annotate - [select for diffs], Thu May 22 11:40:19 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.15.34.1: +14 -5 lines
Diff to previous 1.15.34.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

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) - annotate - [select for diffs], Sun May 18 17:45:35 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.16: +14 -5 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head

Revision 1.18 / (download) - annotate - [select for diffs], Mon Apr 21 16:33:21 2014 UTC (8 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

increase LOCKSTAT_MAXBUFS, systems with lots of CPUs need more.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 16 05:20:26 2014 UTC (8 years, 10 months ago) by dholland
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.16: +13 -4 lines
Diff to previous 1.16 (colored)

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) - annotate - [select for diffs], Mon Feb 25 00:29:11 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

resync with head

Revision 1.15.34.1 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:13 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

sync with (a bit old) head

Revision 1.15.48.1 / (download) - annotate - [select for diffs], Sun Jan 13 16:13:09 2013 UTC (10 years ago) by bouyer
Branch: netbsd-5-2
CVS Tags: netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

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) - annotate - [select for diffs], Sun Jan 13 16:13:08 2013 UTC (10 years ago) by bouyer
Branch: netbsd-5-1
CVS Tags: netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

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) - annotate - [select for diffs], Sun Jan 13 16:13:03 2013 UTC (10 years ago) by bouyer
Branch: netbsd-5-0
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

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) - annotate - [select for diffs], Sun Jan 13 16:12:56 2013 UTC (10 years ago) by bouyer
Branch: netbsd-5
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

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) - annotate - [select for diffs], Mon Dec 17 00:23:10 2012 UTC (10 years, 1 month ago) by riz
Branch: 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
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

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) - annotate - [select for diffs], Mon Dec 17 00:23:01 2012 UTC (10 years, 1 month ago) by riz
Branch: 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
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

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) - annotate - [select for diffs], Mon Dec 10 06:07:34 2012 UTC (10 years, 1 month ago) by msaitoh
Branch: 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
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Fix off by one.

Revision 1.13.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:11 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.13.6.1: +12 -9 lines
Diff to previous 1.13.6.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.13.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:30 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.13: +12 -9 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

sync with head.

Revision 1.13.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:49 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.13: +12 -9 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:46 2008 UTC (14 years, 9 months ago) by martin
Branch: 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
Changes since 1.14: +2 -9 lines
Diff to previous 1.14 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.14 / (download) - annotate - [select for diffs], Mon Apr 28 15:36:01 2008 UTC (14 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.13: +12 -2 lines
Diff to previous 1.13 (colored)

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) - annotate - [select for diffs], Sat Apr 5 23:33:20 2008 UTC (14 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.13: +5 -2 lines
Diff to previous 1.13 (colored)

- 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) - annotate - [select for diffs], Mon Feb 18 21:05:32 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.10.14.2: +4 -3 lines
Diff to previous 1.10.14.2 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Revision 1.5.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:42:26 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.2.5: +8 -6 lines
Diff to previous 1.5.2.5 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

sync with head

Revision 1.10.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:14 2008 UTC (15 years ago) by matt
Branch: matt-armv6
Changes since 1.10.8.1: +8 -6 lines
Diff to previous 1.10.8.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync with HEAD

Revision 1.11.6.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:10:55 2008 UTC (15 years ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.11.6.1: +2 -1 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 4 21:17:48 2008 UTC (15 years, 1 month ago) by ad
Branch: 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
Changes since 1.12: +4 -3 lines
Diff to previous 1.12 (colored)

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) - annotate - [select for diffs], Wed Jan 2 21:53:47 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.11: +6 -5 lines
Diff to previous 1.11 (colored)

Sync with HEAD

Revision 1.10.14.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:44:46 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.10.14.1: +6 -5 lines
Diff to previous 1.10.14.1 (colored) to branchpoint 1.10 (colored)

Sync with HEAD.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:45:58 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.11: +6 -5 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 20 21:09:00 2007 UTC (15 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.11: +6 -5 lines
Diff to previous 1.11 (colored)

Use new style memory barriers.

Revision 1.10.14.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:47:41 2007 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.10: +36 -112 lines
Diff to previous 1.10 (colored)

Sync with HEAD.

Revision 1.5.2.5 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:01 2007 UTC (15 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.2.4: +36 -112 lines
Diff to previous 1.5.2.4 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.10.12.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:00:51 2007 UTC (15 years, 2 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.10: +36 -112 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD

Revision 1.10.8.1 / (download) - annotate - [select for diffs], Thu Nov 8 10:59:47 2007 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.10: +36 -112 lines
Diff to previous 1.10 (colored)

sync with -HEAD

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 21:16:23 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.10: +36 -112 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Nov 6 18:02:43 2007 UTC (15 years, 2 months ago) by ad
Branch: 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
Changes since 1.10: +36 -112 lines
Diff to previous 1.10 (colored)

Merge from vmlocking.

Revision 1.8.2.4 / (download) - annotate - [select for diffs], Mon Oct 29 16:33:14 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.8.2.3: +9 -3 lines
Diff to previous 1.8.2.3 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Prevent the device from being accessed by an LWP other than the LWP that
first opened it.

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Mon Oct 29 00:22:43 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.8.2.2: +3 -3 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored)

lockstat_event: splhigh() before calling curcpu(), since it can change if
the LWP is preempted.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sun Oct 28 15:44:57 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.8.2.1: +30 -112 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)

- Use kmem_alloc/kmem_free.
- Simplify locking.
- Mark MPSAFE.

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:33:13 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.2.3: +15 -8 lines
Diff to previous 1.5.2.3 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Sun Jul 15 13:21:07 2007 UTC (15 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.8: +14 -7 lines
Diff to previous 1.8 (colored)

Sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jul 14 13:30:44 2007 UTC (15 years, 6 months ago) by ad
Branch: 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
Changes since 1.9: +12 -5 lines
Diff to previous 1.9 (colored)

- 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) - annotate - [select for diffs], Wed Jul 11 20:05:02 2007 UTC (15 years, 6 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jun 15 20:17:07 2007 UTC (15 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: mjf-ufs-trans-base
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

splstatclock, spllock -> splhigh

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:53:04 2007 UTC (15 years, 10 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:42 2007 UTC (15 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:09:54 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.2.2: +7 -19 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Feb 15 20:32:47 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.6: +3 -5 lines
Diff to previous 1.6 (colored)

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) - annotate - [select for diffs], Fri Feb 9 21:55:26 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.5: +6 -16 lines
Diff to previous 1.5 (colored)

Merge newlock2 to head.

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Tue Feb 6 20:32:57 2007 UTC (15 years, 11 months ago) by ad
Branch: newlock2
Changes since 1.2.2.4: +5 -5 lines
Diff to previous 1.2.2.4 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Avoid shadowing global 'time'. Noted by mhitch.
k

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:34 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.2.2.3: +5 -3 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored)

Sync with head.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:50 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.2.1: +581 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:43 2006 UTC (16 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.2.2.2: +12 -8 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored)

Checkpoint work in progress.

Revision 1.5.2.1, Mon Dec 25 11:57:40 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5: +0 -581 lines
FILE REMOVED

file lockstat.c was added on branch yamt-lazymbuf on 2006-12-30 20:47:50 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Mon Dec 25 11:57:40 2006 UTC (16 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Branch point for: yamt-lazymbuf
Changes since 1.4: +22 -13 lines
Diff to previous 1.4 (colored)

lockstat: improve reporting slightly, and fix a bug where the command
could spin while resorting lists.

Revision 1.2.8.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:53 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.2.8.1: +9 -9 lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:03 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.2.2.1: +8 -5 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Sync with head.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Fri Nov 17 16:34:35 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.2: +5 -12 lines
Diff to previous 1.2 (colored)

Checkpoint work in progress.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:45 2006 UTC (16 years, 2 months ago) by christos
Branch: 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
Changes since 1.3: +9 -9 lines
Diff to previous 1.3 (colored)

__unused removal on arguments; approved by core.

Revision 1.2.8.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:28 2006 UTC (16 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.2: +9 -6 lines
Diff to previous 1.2 (colored)

sync with head

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 12 06:56:47 2006 UTC (16 years, 3 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.2: +9 -6 lines
Diff to previous 1.2 (colored)

Use __unused in function arguments where appropiate. (hi christos)

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:26 2006 UTC (16 years, 4 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2.6.1: +569 -0 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sat Sep 9 02:49:09 2006 UTC (16 years, 4 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.2.4.1: +569 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head

Revision 1.2.6.1, Thu Sep 7 01:03:02 2006 UTC (16 years, 4 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2: +0 -569 lines
FILE REMOVED

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 (16 years, 4 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.2: +0 -569 lines
FILE REMOVED

file lockstat.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:49:09 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Thu Sep 7 01:03:02 2006 UTC (16 years, 4 months ago) by ad
Branch: 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
Changes since 1.1: +4 -5 lines
Diff to previous 1.1 (colored)

- Add a couple of XXX comments.
- lb->lb_cpu doesn't need to be filled in lockstat_event().

Revision 1.1 / (download) - annotate - [select for diffs], Thu Sep 7 00:20:28 2006 UTC (16 years, 4 months ago) by ad
Branch: MAIN

Add the 'lockstat' driver, which collects basic information about lock events.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>