The NetBSD Project

CVS log for src/sys/arch/i386/i386/lock_stubs.S

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.38 / (download) - annotate - [select for diffs], Thu Sep 8 06:57:44 2022 UTC (4 months, 3 weeks ago) by knakahara
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.37: +5 -5 lines
Diff to previous 1.37 (colored)

Fix PR port-i386/57000 (boot failure on qemu).

Revision 1.37 / (download) - annotate - [select for diffs], Wed Sep 7 00:40:18 2022 UTC (4 months, 3 weeks ago) by knakahara
Branch: MAIN
Changes since 1.36: +25 -6 lines
Diff to previous 1.36 (colored)

NetBSD/x86: Raise the number of interrupt sources per CPU from 32 to 56.

There has been no objection for three years.
    https://mail-index.netbsd.org/port-amd64/2019/09/22/msg003012.html
Implemented by nonaka@n.o, updated by me.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Apr 6 22:47:57 2022 UTC (9 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.35: +5 -5 lines
Diff to previous 1.35 (colored)

Nix trailing whitespace in files of membars, atomics, and lock stubs.

Will be touching many of these files soon for functional changes.

No functional change intended.

Revision 1.35 / (download) - annotate - [select for diffs], Fri May 1 09:40:47 2020 UTC (2 years, 8 months ago) by maxv
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.34: +5 -5 lines
Diff to previous 1.34 (colored)

Switch the rest of i386 to the x86_hotpatch mechanism.

Revision 1.34 / (download) - annotate - [select for diffs], Fri May 1 09:17:58 2020 UTC (2 years, 8 months ago) by maxv
Branch: MAIN
Changes since 1.33: +10 -6 lines
Diff to previous 1.33 (colored)

Use absolute jumps, and drop the PC-relative patching. We want exact
templates.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:17 2020 UTC (2 years, 9 months ago) by bouyer
Branch: MAIN
Changes since 1.32: +6 -15 lines
Diff to previous 1.32 (colored)

Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM
guests in GENERIC.
Xen support can be disabled at runtime with
boot -c
disable hypervisor

Revision 1.32.6.1 / (download) - annotate - [select for diffs], Wed Apr 15 16:04:06 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.32: +6 -15 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

On amd64, always use the cmpxchg8b version of spllower. All x86_64 host should
have it and we already rely on it in lock stubs.
On i386, always use i686_mutex_spin_exit and cx8_spllower for Xen;
Xen doesn't run on CPUs on CPUs lacking the required instructions anyway.
Skip x86_patch only for XENPV, and adjust for changes in assembly functions.
Tested on Xen PV and PVHVM, and on bare metal core i5.

Revision 1.32.2.2 / (download) - annotate - [select for diffs], Wed Jan 22 11:40:16 2020 UTC (3 years ago) by ad
Branch: ad-namecache
Changes since 1.32.2.1: +126 -0 lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Back out previous.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sun Jan 19 21:08:29 2020 UTC (3 years ago) by ad
Branch: ad-namecache
Changes since 1.32: +2 -128 lines
Diff to previous 1.32 (colored)

Adaptive rwlocks proposed on tech-kern and working well on this branch
with vnode locks.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Dec 8 20:00:56 2019 UTC (3 years, 1 month 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, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: bouyer-xenpvh, ad-namecache
Changes since 1.31: +7 -10 lines
Diff to previous 1.31 (colored)

After lots of testing I'm not convinced of the benefit to the tweak
I made to rw_enter(), so undo it to return to baseline.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Nov 23 16:36:38 2019 UTC (3 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.30: +12 -9 lines
Diff to previous 1.30 (colored)

For this case during build.sh:

        rw_enter(lock, RW_READ);

Having instrumented it, it turns out that >99.5% of the time the lock is
completely unknowned.  Make this assumption in the assembly stub for
rw_enter(), and avoid the initial read of the lock word.  Where there are
existing read holds, we'll do an additional CMPXCHG but should already have
the cache line in the EXCLUSIVE state.

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:20 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.28: +6 -6 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD

Revision 1.30 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:32 2019 UTC (3 years, 11 months ago) by cherry
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, 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
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored)

We reorganise definitions for XEN source support as follows:

XEN - common sources required for baseline XEN support.
XENPV - sources required for support of XEN in PV mode.
XENPVHVM - sources required for support for XEN in HVM mode.
XENPVH - sources required for support for XEN in PVH mode.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:34 2018 UTC (4 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jul 14 14:29:40 2018 UTC (4 years, 6 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Drop NENTRY() from the x86 kernels, use ENTRY(). With PMCs (and other hardware
tracing facilities) we have a much better ways of monitoring the CPU activity
than GPROF, without software modification.

Also I think GPROF has never worked, because the 'start' functions of both
i386 and amd64 use ENTRY(), and it would have caused a function call while the
kernel was not yet relocated.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jan 7 13:43:24 2018 UTC (5 years ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-base, 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
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.27: +7 -17 lines
Diff to previous 1.27 (colored)

Switch x86_retpatch[] -> HOTPATCH().

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jan 7 13:15:24 2018 UTC (5 years ago) by maxv
Branch: MAIN
Changes since 1.26: +6 -11 lines
Diff to previous 1.26 (colored)

Switch x86_lockpatch[] -> HOTPATCH().

Revision 1.25.18.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:06 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.25: +4 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.25.8.1 / (download) - annotate - [select for diffs], Thu May 22 11:39:51 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.25: +4 -3 lines
Diff to previous 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.22.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:12 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.25: +4 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jan 12 20:31:50 2014 UTC (9 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.25: +4 -3 lines
Diff to previous 1.25 (colored)

Try to reserve space in a way that results in the same allocation for
both LLVM and GNU as.

Revision 1.22.4.4 / (download) - annotate - [select for diffs], Mon Mar 28 23:58:10 2011 UTC (11 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.22.4.3: +2 -2 lines
Diff to previous 1.22.4.3 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Cure sync hiccups. Code with compile errors is not really useful, heh.

Revision 1.22.4.3 / (download) - annotate - [select for diffs], Mon Mar 28 23:04:40 2011 UTC (11 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.22.4.2: +4 -4 lines
Diff to previous 1.22.4.2 (colored) to branchpoint 1.22 (colored)

Sync with HEAD. TODO before merge:
- shortcut for suspend code in sysmon, when powerd(8) is not running.
Borrow ``xs_watch'' thread context?
- bug hunting in xbd + xennet resume. Rings are currently thrashed upon
resume, so current implementation force flush them on suspend. It's not
really needed.

Revision 1.23.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:50:39 2011 UTC (11 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.23.4.1: +4 -4 lines
Diff to previous 1.23.4.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

sync with head

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jan 12 23:12:12 2011 UTC (12 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jym-xensuspend-nbase, jym-xensuspend-base, 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, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Allow use of traditional CPP to be set on a per platform base in sys.mk.
Honour this for dependency processing in bsd.dep.mk.  Switch i386 and
amd64 assembly to use ISO C90 preprocessor concat and drop the
-traditional-cpp on this platform.

Revision 1.13.10.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:11 2010 UTC (12 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.13.10.2: +4 -4 lines
Diff to previous 1.13.10.2 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

sync with head.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:16:53 2010 UTC (12 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

sync with head

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:29 2010 UTC (12 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Revision 1.21.6.1.2.1.2.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:33:50 2010 UTC (12 years, 9 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.21.6.1.2.1: +2 -2 lines
Diff to previous 1.21.6.1.2.1 (colored) next main 1.21.6.2 (colored)

sync to netbsd-5

Revision 1.24 / (download) - annotate - [select for diffs], Wed Apr 7 11:16:30 2010 UTC (12 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

Fix fmt'ing error in comment from rev 1.22.

Revision 1.22.4.2 / (download) - annotate - [select for diffs], Sun Nov 1 13:58:21 2009 UTC (13 years, 3 months ago) by jym
Branch: jym-xensuspend
Changes since 1.22.4.1: +0 -0 lines
Diff to previous 1.22.4.1 (colored) to branchpoint 1.22 (colored)

Sync with HEAD.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:17:49 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.22: +31 -19 lines
Diff to previous 1.22 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.21.6.2 / (download) - annotate - [select for diffs], Wed May 13 00:35:16 2009 UTC (13 years, 8 months ago) by snj
Branch: netbsd-5
CVS Tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.21.6.1: +31 -19 lines
Diff to previous 1.21.6.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Pull up following revision(s) (requested by ad in ticket #725):
	sys/arch/amd64/amd64/lock_stubs.S: revision 1.22
	sys/arch/i386/i386/lock_stubs.S: revision 1.23
	sys/arch/x86/x86/patch.c: revision 1.18
A workaround for a bug with some Opteron revisions where locked operations
sometimes do not serve as memory barriers, allowing memory references to
bleed outside of critical sections.  It is possible that this is the
reason for pkgbuild's longstanding crashiness.
This is not complete (atomic ops need some work too).

Revision 1.21.6.1.2.1 / (download) - annotate - [select for diffs], Wed May 13 00:28:25 2009 UTC (13 years, 8 months ago) by snj
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.21.6.1: +31 -19 lines
Diff to previous 1.21.6.1 (colored) next main 1.21.6.2 (colored)

Pull up following revision(s) (requested by ad in ticket #725):
	sys/arch/amd64/amd64/lock_stubs.S: revision 1.22
	sys/arch/i386/i386/lock_stubs.S: revision 1.23
	sys/arch/x86/x86/patch.c: revision 1.18
A workaround for a bug with some Opteron revisions where locked operations
sometimes do not serve as memory barriers, allowing memory references to
bleed outside of critical sections.  It's possible that this is the
reason for pkgbuild's longstanding crashiness.
This is not complete (atomic ops need some work too).

Revision 1.13.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:16 2009 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.13.10.1: +68 -66 lines
Diff to previous 1.13.10.1 (colored) to branchpoint 1.13 (colored)

sync with head.

Revision 1.21.4.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:08 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.21.4.1: +31 -19 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Apr 24 17:45:40 2009 UTC (13 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: 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, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.22: +31 -19 lines
Diff to previous 1.22 (colored)

A workaround for a bug with some Opteron revisions where locked operations
sometimes do not serve as memory barriers, allowing memory references to
bleed outside of critical sections.  It's possible that this is the
reason for pkgbuild's longstanding crashiness.

This is not complete (atomic ops need some work too).

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Mon Feb 2 03:01:12 2009 UTC (13 years, 11 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2
Branch point for: netbsd-5-0
Changes since 1.21: +31 -38 lines
Diff to previous 1.21 (colored)

Pull up following revision(s) (requested by ad in ticket #342):
	sys/arch/amd64/amd64/lock_stubs.S: revision 1.21
	sys/arch/i386/i386/lock_stubs.S: revision 1.22
- Fix a bug in amd64 rw_tryenter() where it could return failure even after
  acquiring a lock, if aligned on a 4GB boundary.
- Microoptimize more.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:15 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.21: +31 -38 lines
Diff to previous 1.21 (colored)

Sync with HEAD.

Revision 1.13.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:03 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.13.6.2: +29 -36 lines
Diff to previous 1.13.6.2 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:13 2008 UTC (14 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.21: +31 -38 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Dec 5 13:08:11 2008 UTC (14 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.21: +31 -38 lines
Diff to previous 1.21 (colored)

- Fix a bug in amd64 rw_tryenter() where it could return failure even after
  acquiring a lock, if aligned on a 4GB boundary.

- Microoptimize more.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:27 2008 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.19.2.1: +6 -9 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:53 2008 UTC (14 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.20: +6 -9 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with head.

Revision 1.13.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:32:57 2008 UTC (14 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.13.6.1: +4 -7 lines
Diff to previous 1.13.6.1 (colored) to branchpoint 1.13 (colored)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jun 27 18:16:02 2008 UTC (14 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-0-RC1, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5, haad-dm
Changes since 1.20: +6 -9 lines
Diff to previous 1.20 (colored)

mutex_spin_enter: xchg is usually cheaper than cmpxchg, so use it.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:26 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.19: +6 -6 lines
Diff to previous 1.19 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.13.8.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:04:47 2008 UTC (14 years, 7 months ago) by yamt
Branch: yamt-pf42
Changes since 1.13.8.1: +6 -6 lines
Diff to previous 1.13.8.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

sync with head

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

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Sun May 25 15:56:12 2008 UTC (14 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl
Changes since 1.19: +6 -6 lines
Diff to previous 1.19 (colored)

enable profiling of assembly functions.

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

sync with head.

Revision 1.13.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:22:34 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.13: +50 -33 lines
Diff to previous 1.13 (colored)

sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Tue May 6 23:03:03 2008 UTC (14 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

doh

Revision 1.18 / (download) - annotate - [select for diffs], Tue May 6 22:57:39 2008 UTC (14 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.17: +13 -11 lines
Diff to previous 1.17 (colored)

rw_tryenter: there is a few instruction race between reading rw_owner and
doing the cmpxchg, where another thread can successfully get a read hold
on the lock. That shouldn't fail anyone trying trying to get a read
hold. So for read locks, never bail just because the CAS fails, only bail
if we the status bits in the lock word say we can't have it.

Revision 1.17 / (download) - annotate - [select for diffs], Sat May 3 05:58:45 2008 UTC (14 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.16: +14 -2 lines
Diff to previous 1.16 (colored)

sprinkle END/IDTVEC_END.

Revision 1.16 / (download) - annotate - [select for diffs], Sat May 3 05:40:21 2008 UTC (14 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

rename END to ENDLABEL.  i'll use END for other purpose.  ok by Andrew Doran.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:24 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
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 13:09:00 2008 UTC (14 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.13: +27 -17 lines
Diff to previous 1.13 (colored)

- mutex_spin_enter: avoid SPL NOT LOWERED... errors when running with
  preemption. This could also fix similar errors seen with softints.
- Adjust code slightly to try and avoid mispredicted branches. The branch
  hint prefixes are apparently of little use.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:06 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.4.2.2: +43 -4 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with HEAD

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:38 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.6.2.3: +43 -4 lines
Diff to previous 1.6.2.3 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with HEAD.

Revision 1.2.4.8 / (download) - annotate - [select for diffs], Mon Feb 4 09:22:06 2008 UTC (14 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.7: +43 -4 lines
Diff to previous 1.2.4.7 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 25 19:02:32 2008 UTC (15 years 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, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.12: +43 -4 lines
Diff to previous 1.12 (colored)

- Prevent LOCKDEBUG from complaining if we do rw_tryenter() on a lock
  that we already own.
- Add an assembly stub for rw_tryenter().

Revision 1.2.4.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:37:01 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.6: +44 -49 lines
Diff to previous 1.2.4.6 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:46:37 2008 UTC (15 years ago) by matt
Branch: matt-armv6
Changes since 1.4.2.1: +87 -147 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored)

sync with HEAD

Revision 1.10.6.2 / (download) - annotate - [select for diffs], Wed Jan 2 21:48:17 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.10.6.1: +40 -47 lines
Diff to previous 1.10.6.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with HEAD

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Thu Dec 27 00:43:07 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.6.2.2: +44 -49 lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored)

Sync with HEAD.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:42:20 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.10: +44 -49 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 20 23:46:10 2007 UTC (15 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: vmlocking2-base3, matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.11: +42 -49 lines
Diff to previous 1.11 (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.10.6.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:54:42 2007 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

Sync with HEAD

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Thu Dec 13 05:05:17 2007 UTC (15 years, 1 month ago) by yamt
Branch: yamt-kmem
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Dec 11 23:06:13 2007 UTC (15 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: yamt-kmem-base3
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

Use __KERNEL_RCSID().  For these .S files, the following style was
adopted, a la .C files and <sys/cdefs.h>:
  *  move <machine/asm.h> to the top
  *  use __KERNEL_RCSID() immediately after it

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:17:10 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.6.2.1: +1 -29 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored)

Sync with HEAD.

Revision 1.2.4.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:24:59 2007 UTC (15 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.5: +1 -29 lines
Diff to previous 1.2.4.5 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.2.8.7 / (download) - annotate - [select for diffs], Mon Dec 3 19:03:28 2007 UTC (15 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.2.8.6: +23 -23 lines
Diff to previous 1.2.8.6 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.2.8.6 / (download) - annotate - [select for diffs], Mon Dec 3 18:36:42 2007 UTC (15 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.2.8.5: +44 -91 lines
Diff to previous 1.2.8.5 (colored) to branchpoint 1.2 (colored)

Sync with HEAD.

Revision 1.3.8.4 / (download) - annotate - [select for diffs], Mon Dec 3 16:14:03 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.3.8.3: +1 -29 lines
Diff to previous 1.3.8.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 28 18:19:20 2007 UTC (15 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base2, yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: yamt-kmem, vmlocking2, bouyer-xeni386
Changes since 1.9: +1 -11 lines
Diff to previous 1.9 (colored)

x86_mb_nop is now unused.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 28 15:26:00 2007 UTC (15 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.8: +1 -19 lines
Diff to previous 1.8 (colored)

Hook in the atomic ops from libkern.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:46:27 2007 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.6: +82 -109 lines
Diff to previous 1.6 (colored)

Sync with HEAD.

Revision 1.2.4.5 / (download) - annotate - [select for diffs], Thu Nov 15 11:42:56 2007 UTC (15 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.4: +82 -109 lines
Diff to previous 1.2.4.4 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Nov 13 15:58:33 2007 UTC (15 years, 2 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.5: +82 -109 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with HEAD

Revision 1.3.8.3 / (download) - annotate - [select for diffs], Sun Nov 11 16:46:31 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.3.8.2: +82 -109 lines
Diff to previous 1.3.8.2 (colored) to branchpoint 1.3 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Nov 11 01:27:43 2007 UTC (15 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Make xen build again.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Nov 10 20:06:24 2007 UTC (15 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.6: +82 -109 lines
Diff to previous 1.6 (colored)

- When computing the TSC frequency, call i8254_delay() and not DELAY().
- Use atomics to adjust the pmap reference count, instead of taking locks.
- Implement I386_{SET,GET}_{FS,GS}BASE, allowing %fs and %gs to be used
  as per-thread registers. This is compatible with FreeBSD.
- Run patches after we have attached CPUs, since we then know if the
  system is uniprocessor or not. Eliminates a lot of #ifdef MULTIPROCESSOR
  and makes running MP kernels on UP systems cheaper.
- Patch out many of the 'lock' prefixes to nops if uniprocessor.
- Do a wbinvd after patching to ensure that the trace/instruction cache
  is up to date.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:17:29 2007 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.4: +11 -11 lines
Diff to previous 1.4 (colored)

sync with HEAD

Revision 1.2.4.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:26:37 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.3: +11 -11 lines
Diff to previous 1.2.4.3 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 17 19:54:45 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.5: +1 -1 lines
Diff to previous 1.5 (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.2.8.5 / (download) - annotate - [select for diffs], Tue Oct 9 13:37:55 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.2.8.4: +11 -11 lines
Diff to previous 1.2.8.4 (colored) to branchpoint 1.2 (colored)

Sync with head.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:34:53 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.4: +11 -11 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.2.16.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:23:45 2007 UTC (15 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.2.16.1: +40 -63 lines
Diff to previous 1.2.16.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.3.8.2 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:18 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.3.8.1: +11 -11 lines
Diff to previous 1.3.8.1 (colored) to branchpoint 1.3 (colored)

Sync with HEAD.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Sep 26 22:05:24 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.4: +11 -11 lines
Diff to previous 1.4 (colored)

Enable mcount for more of the assembly stubs.

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:26:41 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.2: +32 -54 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.2.8.4 / (download) - annotate - [select for diffs], Tue Aug 21 00:29:33 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.2.8.3: +5 -11 lines
Diff to previous 1.2.8.3 (colored) to branchpoint 1.2 (colored)

Make !LOCKDEBUG work again.

Revision 1.2.8.3 / (download) - annotate - [select for diffs], Mon Aug 20 18:38:12 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.2.8.2: +3 -17 lines
Diff to previous 1.2.8.2 (colored) to branchpoint 1.2 (colored)

Sync with HEAD.

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:47:24 2007 UTC (15 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.3: +30 -53 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.3.8.1 / (download) - annotate - [select for diffs], Thu Aug 9 02:36:57 2007 UTC (15 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.3: +30 -53 lines
Diff to previous 1.3 (colored)

Sync with HEAD.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Tue Aug 7 18:05:21 2007 UTC (15 years, 5 months ago) by matt
Branch: matt-mips64
Changes since 1.3: +30 -53 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 5 10:51:03 2007 UTC (15 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base
Branch point for: yamt-x86pmap, matt-armv6
Changes since 1.3: +30 -53 lines
Diff to previous 1.3 (colored)

Don't rely on the ci_self150 hack.

Revision 1.2.8.2 / (download) - annotate - [select for diffs], Sun Jul 29 10:18:48 2007 UTC (15 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.2.8.1: +22 -33 lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored)

- When zeroing/copying pages, use SSE2 movtni to avoid polluting the cache.
- By default, align assembly routines on 32-byte starting boundaries.
- There are now 8 interrupt priority levels, half of which are softints.
  Update intrdefs.h to match.
- Always clear/set spinlock words - removes lots of ifdefs.
- Remove the horrible ci_self150 hack that I introduced.
- Overhaul how TLB shootdown is performed. Inspired by a similar change in
  OpenBSD but implemented quite differently. This should be a lot faster
  but I have not benchmarked it yet.

Revision 1.2.10.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:00:00 2007 UTC (15 years, 6 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Sync with head.

Revision 1.2.8.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:30 2007 UTC (15 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored)

Sync with head.

Revision 1.2.16.1 / (download) - annotate - [select for diffs], Tue May 22 17:26:58 2007 UTC (15 years, 8 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored)

Update to HEAD.

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 17 14:51:20 2007 UTC (15 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, hpcarm-cleanup
Branch point for: nick-csl-alignment, matt-mips64, jmcneill-pm
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.2.14.1 / (download) - annotate - [select for diffs], Tue Apr 17 06:50:14 2007 UTC (15 years, 9 months ago) by thorpej
Branch: thorpej-atomic
Changes since 1.2: +1 -40 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

G/C _lock_cas() -- the atomic ops API provides what the locking
primitives need.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Sat Mar 24 18:02:42 2007 UTC (15 years, 10 months ago) by ad
Branch: yamt-idlelwp
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

If cmpxchg8b fails, don't immediatley enter Xspllower - retry first.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:06:56 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.1: +403 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.2.4.1, Fri Feb 9 21:55:04 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2: +0 -403 lines
FILE REMOVED

file lock_stubs.S was added on branch yamt-lazymbuf on 2007-02-26 09:06:56 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:04 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, reinoud-bufcleanup, post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-lazymbuf, yamt-idlelwp, vmlocking, thorpej-atomic, ppcoea-renovation, mjf-ufs-trans
Changes since 1.1: +403 -0 lines
Diff to previous 1.1 (colored)

Merge newlock2 to head.

Revision 1.1.2.14 / (download) - annotate - [select for diffs], Fri Feb 2 08:12:49 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.1.2.13: +46 -1 lines
Diff to previous 1.1.2.13 (colored) to branchpoint 1.1 (colored) next main 1.2 (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.1.2.13 / (download) - annotate - [select for diffs], Sun Jan 28 12:12:50 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.1.2.12: +15 -2 lines
Diff to previous 1.1.2.12 (colored) to branchpoint 1.1 (colored)

xen MD changes.

Revision 1.1.2.12 / (download) - annotate - [select for diffs], Sat Jan 27 14:00:01 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.1.2.11: +12 -12 lines
Diff to previous 1.1.2.11 (colored) to branchpoint 1.1 (colored)

Rename some functions to better describe what they do.

Revision 1.1.2.11 / (download) - annotate - [select for diffs], Sat Jan 27 07:09:02 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.1.2.10: +86 -65 lines
Diff to previous 1.1.2.10 (colored) to branchpoint 1.1 (colored)

If running on a PPro or later, at boot patch in versions of spllower() and
similar that use cmpxchg8b instead of cli/sti. Cuts the clock cycles for
splx() by a factor of ~6 on the P4, and ~3 on the PIII when bracketed by
serializing instructions (and hopefully more when not).

Revision 1.1.2.10 / (download) - annotate - [select for diffs], Tue Jan 16 01:26:19 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.1.2.9: +2 -2 lines
Diff to previous 1.1.2.9 (colored) to branchpoint 1.1 (colored)

Minor corrections.

Revision 1.1.2.9 / (download) - annotate - [select for diffs], Fri Jan 12 20:18:29 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.1.2.8: +7 -14 lines
Diff to previous 1.1.2.8 (colored) to branchpoint 1.1 (colored)

Fix 'SPL NOT LOWERED ON SYSCALL EXIT' with amd64.

Revision 1.1.2.8 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:50 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.1.2.7: +2 -2 lines
Diff to previous 1.1.2.7 (colored) to branchpoint 1.1 (colored)

Sync with head.

Revision 1.1.2.7 / (download) - annotate - [select for diffs], Thu Jan 11 22:22:56 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.1.2.6: +160 -116 lines
Diff to previous 1.1.2.6 (colored) to branchpoint 1.1 (colored)

Checkpoint work in progress.

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:41 2006 UTC (16 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.1.2.5: +79 -256 lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored)

Checkpoint work in progress.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Fri Nov 17 16:34:32 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.1.2.4: +121 -125 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored)

Checkpoint work in progress.

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Fri Oct 20 19:41:41 2006 UTC (16 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.1.2.3: +4 -6 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)

Tweak slightly, and fix a bug in the 80386 case.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Mon Sep 11 18:54:52 2006 UTC (16 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.1.2.2: +5 -6 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

Tweak slightly, no functional change.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Sep 11 01:24:29 2006 UTC (16 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.1.2.1: +59 -41 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Fix a thinko.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sun Sep 10 23:42:41 2006 UTC (16 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.1: +453 -0 lines
Diff to previous 1.1 (colored)

Add updated locking primatives.

Revision 1.1, Sun Sep 10 23:42:41 2006 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, newlock2-nbase, newlock2-base
Branch point for: newlock2
FILE REMOVED

file lock_stubs.S was initially added on branch newlock2.

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>