The NetBSD Project

CVS log for src/sys/arch/x86/include/lock.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / x86 / include

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.29 / (download) - annotate - [select for diffs], Sat Feb 12 17:17:54 2022 UTC (11 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored)

__cpu_simple_lock(9): Omit needless barriers in init.

It is, and always has been, the caller's responsibility to ensure the
lock is initialized before it can be used -- otherwise the memory
could hold garbage; it is nonsensical to even attempt locking
operations on it before initialization.

So there's no need to issue explicit barriers here.  The barrier
seems to have been introduced in sys/arch/alpha/alpha/lock_machdep.c
rev. 1.1 (since moved to inline asm in alpha/include/lock.h) and then
copied & pasted into several other architectures.

Revision 1.25.24.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:50 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.25.24.2: +3 -3 lines
Diff to previous 1.25.24.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

update from HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Sat Sep 16 23:55:45 2017 UTC (5 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, 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-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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-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, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

more const

Revision 1.25.14.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:13 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.25.14.1: +23 -31 lines
Diff to previous 1.25.14.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (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.25.24.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:04 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.25.24.1: +23 -31 lines
Diff to previous 1.25.24.1 (colored) to branchpoint 1.25 (colored)

resync with head

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jan 22 22:09:44 2013 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, khorben-n900, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Changes since 1.26: +23 -31 lines
Diff to previous 1.26 (colored)

Allow for non inlined definitions for RUMP

Revision 1.25.24.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:51 2012 UTC (10 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.25.14.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:32 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

sync with head

Revision 1.25.26.1 / (download) - annotate - [select for diffs], Fri Oct 19 17:33:37 2012 UTC (10 years, 3 months 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.25: +2 -2 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pull up following revision(s) (requested by apb in ticket #606):
	sys/arch/x86/include/lock.h: revision 1.26
Change "=r" to "=qQ" in a register constraint in an asm statement
for a register that is used with the "xchgb" instruction in the
definition of __cpu_simple_lock_try().  This fixes PR 45673, or at
least works around the gcc bug that might be behind PR 45673.
The output from "objdump -d" before and after this change is
identical, for the amd64 GENERIC kernel, the i386 GENERIC kernel,
and the i386 MONOLITHIC kernel.

Revision 1.25.20.1 / (download) - annotate - [select for diffs], Wed Oct 17 22:39:26 2012 UTC (10 years, 3 months 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.25: +2 -2 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pull up following revision(s) (requested by apb in ticket #606):
	sys/arch/x86/include/lock.h: revision 1.26
Change "=r" to "=qQ" in a register constraint in an asm statement
for a register that is used with the "xchgb" instruction in the
definition of __cpu_simple_lock_try().  This fixes PR 45673, or at
least works around the gcc bug that might be behind PR 45673.
The output from "objdump -d" before and after this change is
identical, for the amd64 GENERIC kernel, the i386 GENERIC kernel,
and the i386 MONOLITHIC kernel.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Oct 11 11:12:21 2012 UTC (10 years, 3 months ago) by apb
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Change "=r" to "=qQ" in a register constraint in an asm statement
for a register that is used with the "xchgb" instruction in the
definition of __cpu_simple_lock_try().  This fixes PR 45673, or at
least works around the gcc bug that might be behind PR 45673.

The output from "objdump -d" before and after this change is
identical, for the amd64 GENERIC kernel, the i386 GENERIC kernel,
and the i386 MONOLITHIC kernel.

Revision 1.23.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:09 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.23.10.1: +5 -3 lines
Diff to previous 1.23.10.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

sync with head.

Revision 1.24.8.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:09 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.24: +5 -3 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with HEAD.

Revision 1.23.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:38 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.23.6.1: +4 -2 lines
Diff to previous 1.23.6.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jan 15 01:20:31 2009 UTC (14 years ago) by pooka
Branch: MAIN
CVS Tags: 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-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, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, netbsd-6-base, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, mjf-devfs2-base, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, 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, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys, netbsd-6-0, netbsd-6
Changes since 1.24: +5 -3 lines
Diff to previous 1.24 (colored)

The last _KERNEL -> _HARDKERNEL in locking operations.

Revision 1.23.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:50 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.23: +1 -8 lines
Diff to previous 1.23 (colored)

Sync with HEAD.

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

sync with head.

Revision 1.23.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:28 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.23: +1 -8 lines
Diff to previous 1.23 (colored)

sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:40 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, 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, 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, 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: nick-hppapmap
Changes since 1.23: +1 -8 lines
Diff to previous 1.23 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.14.24.4 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:28 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.14.24.3: +2 -2 lines
Diff to previous 1.14.24.3 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

sync with HEAD

Revision 1.18.2.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:16 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.18.2.2: +9 -5 lines
Diff to previous 1.18.2.2 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Sync with HEAD.

Revision 1.9.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:40:08 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.2.4: +35 -34 lines
Diff to previous 1.9.2.4 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with head

Revision 1.19.6.3 / (download) - annotate - [select for diffs], Thu Jan 10 23:44:07 2008 UTC (15 years ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.19.6.2: +1 -1 lines
Diff to previous 1.19.6.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Sync with HEAD

Revision 1.14.24.3 / (download) - annotate - [select for diffs], Wed Jan 9 01:49:48 2008 UTC (15 years ago) by matt
Branch: matt-armv6
Changes since 1.14.24.2: +35 -34 lines
Diff to previous 1.14.24.2 (colored) to branchpoint 1.14 (colored)

sync with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jan 9 00:23:18 2008 UTC (15 years ago) by yamt
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, 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.22: +2 -2 lines
Diff to previous 1.22 (colored)

fix SPINLOCK_BACKOFF_HOOK.

Revision 1.19.6.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:10:34 2008 UTC (15 years ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.19.6.1: +4 -0 lines
Diff to previous 1.19.6.1 (colored) to branchpoint 1.19 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jan 4 21:17:42 2008 UTC (15 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.21: +5 -1 lines
Diff to previous 1.21 (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.19.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:51:20 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.19: +31 -34 lines
Diff to previous 1.19 (colored)

Sync with HEAD

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:43:23 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.18.2.1: +27 -30 lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored)

Sync with HEAD.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:42:55 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.19: +31 -34 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Dec 25 18:33:34 2007 UTC (15 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h

Revision 1.20 / (download) - annotate - [select for diffs], Thu Dec 20 23:46:11 2007 UTC (15 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.19: +27 -30 lines
Diff to previous 1.19 (colored)

- Make __cpu_simple_lock and similar real functions and patch at runtime.
- Remove old x86 atomic ops.
- Drop text alignment back to 16 on i386 (really, this time).
- Minor cleanup.

Revision 1.14.6.2 / (download) - annotate - [select for diffs], Mon Dec 3 18:40:07 2007 UTC (15 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.14.6.1: +3 -18 lines
Diff to previous 1.14.6.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Sync with HEAD.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:46:59 2007 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.18: +3 -18 lines
Diff to previous 1.18 (colored)

Sync with HEAD.

Revision 1.9.2.4 / (download) - annotate - [select for diffs], Thu Nov 15 11:43:38 2007 UTC (15 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.2.3: +3 -18 lines
Diff to previous 1.9.2.3 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:00:16 2007 UTC (15 years, 2 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.17: +3 -18 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with HEAD

Revision 1.14.22.2 / (download) - annotate - [select for diffs], Sun Nov 11 16:47:01 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.14.22.1: +3 -18 lines
Diff to previous 1.14.22.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Sync with HEAD.

Revision 1.14.24.2 / (download) - annotate - [select for diffs], Thu Nov 8 10:59:42 2007 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.14.24.1: +3 -18 lines
Diff to previous 1.14.24.1 (colored) to branchpoint 1.14 (colored)

sync with -HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Wed Nov 7 16:02:27 2007 UTC (15 years, 3 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.18: +3 -18 lines
Diff to previous 1.18 (colored)

__cpu_simple_locks really should be simple, otherwise they can cause
problems for e.g. profiling.

Revision 1.14.24.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:23:36 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.14: +31 -19 lines
Diff to previous 1.14 (colored)

sync with HEAD

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:28:55 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.2.2: +31 -19 lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Oct 17 19:58:15 2007 UTC (15 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base
Branch point for: mjf-devfs
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:42 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.14: +31 -19 lines
Diff to previous 1.14 (colored)

Sync with head.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:33:32 2007 UTC (15 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.16: +5 -19 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head.

Revision 1.14.14.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:50 2007 UTC (15 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.14: +31 -19 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync with HEAD

Revision 1.14.22.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:49 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.14: +31 -19 lines
Diff to previous 1.14 (colored)

Sync with HEAD.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Sep 26 20:59:59 2007 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Changes since 1.16: +5 -19 lines
Diff to previous 1.16 (colored)

Make it build in userspace again.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Sep 11 21:01:40 2007 UTC (15 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-x86pmap-base
Branch point for: yamt-x86pmap
Changes since 1.15: +15 -15 lines
Diff to previous 1.15 (colored)

Always provide __cpu_simple_lock_{set,clear}.

Fixes LOCKDEBUG kernel builds.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Sep 10 11:34:10 2007 UTC (15 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.14: +27 -1 lines
Diff to previous 1.14 (colored)

Merge nick-csl-alignment.

Revision 1.14.18.2 / (download) - annotate - [select for diffs], Wed Aug 15 08:24:07 2007 UTC (15 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.14.18.1: +13 -13 lines
Diff to previous 1.14.18.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Provide __SIMPLELOCK_{UN,}LOCKED_P and __cpu_simple_lock_{set,clear}
for all architectures.

Revision 1.14.18.1 / (download) - annotate - [select for diffs], Wed Jul 18 13:36:18 2007 UTC (15 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.14: +27 -1 lines
Diff to previous 1.14 (colored)

Initial work on provided correctly aligned __cpu_simple_lock_t for hppa
and first attempt at adapting i386 to the changes.

More to come.

Revision 1.14.12.1 / (download) - annotate - [select for diffs], Wed Apr 18 04:45:13 2007 UTC (15 years, 9 months ago) by thorpej
Branch: thorpej-atomic
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Convert i386 and amd64 to the new atomic ops API.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:49 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.2.1: +28 -5 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Feb 10 16:19:39 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, thorpej-atomic, ppcoea-renovation, nick-csl-alignment, matt-armv6, jmcneill-pm
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

NSPR builds seem to choke on 'inline'. Replace it with __inline.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:14 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.12: +28 -5 lines
Diff to previous 1.12 (colored)

Merge newlock2 to head.

Revision 1.11.20.4 / (download) - annotate - [select for diffs], Fri Feb 2 08:12:49 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.11.20.3: +8 -4 lines
Diff to previous 1.11.20.3 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

- Define memory barrier ops in lock_stubs.S.
- If lfence/mfence are available, patch them in at boot.
- Patch to a no-op if !MULTIPROCESSOR. XXX Should be determined at runtime.

Revision 1.11.20.3 / (download) - annotate - [select for diffs], Fri Jan 12 01:01:01 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.11.20.2: +53 -1 lines
Diff to previous 1.11.20.2 (colored) to branchpoint 1.11 (colored)

Sync with head.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:22 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9: +55 -3 lines
Diff to previous 1.9 (colored)

sync with head.

Revision 1.11.20.2 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:42 2006 UTC (16 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.11.20.1: +7 -6 lines
Diff to previous 1.11.20.1 (colored) to branchpoint 1.11 (colored)

Checkpoint work in progress.

Revision 1.11.22.1 / (download) - annotate - [select for diffs], Mon Dec 18 11:42:05 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.11: +55 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Dec 18 07:34:42 2006 UTC (16 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, newlock2-nbase, newlock2-base
Changes since 1.11: +55 -3 lines
Diff to previous 1.11 (colored)

__cpu_simple_unlock(): add a note about memory ordering and why this is
correct, contrary to Intel's documentation.

Revision 1.11.20.1 / (download) - annotate - [select for diffs], Fri Oct 20 19:30:31 2006 UTC (16 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.11: +21 -3 lines
Diff to previous 1.11 (colored)

Define memory barriers: mb_read(), mb_write(), mb_memory()

Revision 1.11 / (download) - annotate - [select for diffs], Wed Dec 28 19:09:30 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, 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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, 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, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.10: +9 -9 lines
Diff to previous 1.10 (colored)

inline -> __inline

Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:42 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.9: +9 -9 lines
Diff to previous 1.9 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.2.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:00:20 2005 UTC (17 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.5: +4 -4 lines
Diff to previous 1.2.2.5 (colored) next main 1.3 (colored)

Sync with HEAD. Here we go again...

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:29 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with -current

Revision 1.8.10.1 / (download) - annotate - [select for diffs], Thu Apr 21 17:06:35 2005 UTC (17 years, 9 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Pull up revision 1.9 (requested by yamt in ticket #174):
make multi inclusion protection macros consistent.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Apr 16 07:45:59 2005 UTC (17 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

make multi inclusion protection macros consistent.

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Mon Nov 29 07:24:06 2004 UTC (18 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.4: +1 -11 lines
Diff to previous 1.2.2.4 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Nov 25 04:50:48 2004 UTC (18 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: netbsd-3, kent-audio2
Changes since 1.7: +1 -11 lines
Diff to previous 1.7 (colored)

remove __lockbarrier, which i forgot to remove in the previous.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Tue Nov 2 07:50:57 2004 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.3: +10 -7 lines
Diff to previous 1.2.2.3 (colored)

Sync with HEAD.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Oct 31 10:39:34 2004 UTC (18 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

use __insn_barrier rather than homegrown equivalents.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Oct 23 21:25:22 2004 UTC (18 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.5: +6 -3 lines
Diff to previous 1.5 (colored)

__cpu_simple_lock: loop without locking cache or asserting LOCK#.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:24:30 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.2: +1 -1 lines
Diff to previous 1.2.2.2 (colored)

Fix the sync with head I botched.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:42:37 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.1: +0 -0 lines
Diff to previous 1.2.2.1 (colored)

Sync with HEAD.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:43:04 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2: +13 -14 lines
Diff to previous 1.2 (colored)

Sync with HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 27 13:43:48 2003 UTC (19 years, 3 months ago) by junyoung
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.4: +9 -9 lines
Diff to previous 1.4 (colored)

Nuke __P().

Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 26 11:15:16 2003 UTC (19 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.3: +5 -1 lines
Diff to previous 1.3 (colored)

define SPINLOCK_SPIN_HOOK to let LK_SPIN lockmgr locks call x86_pause.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 26 22:46:01 2003 UTC (19 years, 4 months ago) by nathanw
Branch: MAIN
Changes since 1.2: +1 -6 lines
Diff to previous 1.2 (colored)

Move __cpu_simple_lock_t and __SIMPLELOCK_{UN,}LOCKED to machine/types.h
so that they can be used in a namespace-friendly way.

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 8 01:04:34 2003 UTC (19 years, 9 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.1: +5 -4 lines
Diff to previous 1.1 (colored)

Add x86_pause() inline function, containing the "pause" instruction
for i386, and nothing for amd64. Sprinkle it in various spinloops,
as recommended by Intel.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 27 00:10:57 2003 UTC (19 years, 11 months ago) by fvdl
Branch: MAIN

Move a few more files to x86/include. Trim the list of files to install
in /usr/include a bit.

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>