The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.58 / (download) - annotate - [select for diffs], Wed Mar 1 08:38:50 2023 UTC (13 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.57: +41 -5 lines
Diff to previous 1.57 (unified)

x86: Expand on comments on ordering around stores to ci_curlwp.

No functional change intended.

PR kern/57240

Revision 1.57 / (download) - annotate - [select for diffs], Thu Sep 8 06:57:44 2022 UTC (19 months, 1 week ago) by knakahara
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.56: +5 -5 lines
Diff to previous 1.56 (unified)

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

Revision 1.56 / (download) - annotate - [select for diffs], Wed Sep 7 00:40:18 2022 UTC (19 months, 1 week ago) by knakahara
Branch: MAIN
Changes since 1.55: +59 -21 lines
Diff to previous 1.55 (unified)

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.55 / (download) - annotate - [select for diffs], Sun May 17 12:12:22 2020 UTC (3 years, 11 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.54: +10 -4 lines
Diff to previous 1.54 (unified)

comments

Revision 1.54 / (download) - annotate - [select for diffs], Fri May 1 09:40:47 2020 UTC (3 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.53: +8 -8 lines
Diff to previous 1.53 (unified)

Switch the rest of i386 to the x86_hotpatch mechanism.

Revision 1.53 / (download) - annotate - [select for diffs], Fri May 1 09:23:43 2020 UTC (3 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.52: +2 -10 lines
Diff to previous 1.52 (unified)

Remove dead code, we are in an #ifndef XENPV block here.

Revision 1.52 / (download) - annotate - [select for diffs], Fri May 1 09:17:58 2020 UTC (3 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.51: +7 -6 lines
Diff to previous 1.51 (unified)

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

Revision 1.51 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:17 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.50: +28 -50 lines
Diff to previous 1.50 (unified)

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.50.4.6 / (download) - annotate - [select for diffs], Wed Apr 15 16:04:06 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.50.4.5: +6 -5 lines
Diff to previous 1.50.4.5 (unified) to branchpoint 1.50 (unified) next main 1.51 (unified)

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.43.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:52 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.43.2.2: +8 -3 lines
Diff to previous 1.43.2.2 (unified) to branchpoint 1.43 (unified) next main 1.44 (unified)

Mostly merge changes from HEAD upto 20200411

Revision 1.50.4.5 / (download) - annotate - [select for diffs], Sun Apr 12 17:25:52 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.50.4.4: +3 -30 lines
Diff to previous 1.50.4.4 (unified) to branchpoint 1.50 (unified)

Get rid of xen-specific ci_x* interrupt handling:
- use the general SIR mechanism, reserving 3 more slots for IPL_VM, IPL_SCHED
  and IPL_HIGH
- remove specific handling from C sources, or change to ipending
- convert IPL number to SIR number in various places
- Remove XUNMASK/XPENDING in assembly or change to IUNMASK/IPENDING
- remove Xen-specific ci_xsources, ci_xmask, ci_xunmask, ci_xpending from
  struct cpu_info
- for now remove a KASSERT that there are no pending interrupts in
  idle_block(). We can get there with some software interrupts pending
  in autoconf XXX needs to be looked at.

Revision 1.50.4.4 / (download) - annotate - [select for diffs], Sat Apr 11 18:26:07 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.50.4.3: +10 -14 lines
Diff to previous 1.50.4.3 (unified) to branchpoint 1.50 (unified)

Move softint and preemtion-related functions out of x86/x86/intr.c to
  its own file, x86/x86/x86_softintr.c
Add x86/x86/x86_softintr.c for native and XenPV
Make sure XenPV also check ci_ioending, which is used for softints.
Switch XenPV to fast softints and allow kernel preemption.
kpreempt_disable() before calling pmap_changeprot_local()
run  xen_wallclock_time() and xen_global_systime_ns() at splshed() to
  avoid being interrupted.

XXX amd64 lock stubs are racy for XPENDING

Revision 1.50.4.3 / (download) - annotate - [select for diffs], Sat Apr 11 12:01:42 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.50.4.2: +5 -9 lines
Diff to previous 1.50.4.2 (unified) to branchpoint 1.50 (unified)

calling stipending() is only needed in the PV case; in PVHVM
hypervisor_callback() will be called again as soon as we enable interrupts.

Use the PVHVM XENINTRSTUB for PV too; asjust Xdoreti as needed.
merge hypervisor_callback with hypervisor_pvhvm_callback. The reetrancy should
not be an issue, as we're already re-enabling events in
do_hupervisor_callback (that it, outside of the critical section).
We now can call Xdoreti in both cases.

Revision 1.50.4.2 / (download) - annotate - [select for diffs], Sat Apr 11 10:11:31 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.50.4.1: +14 -7 lines
Diff to previous 1.50.4.1 (unified) to branchpoint 1.50 (unified)

Include ci_isources[] for XenPV too.
Adjust spllower() to XenPV needs, and switch XenPV to the native spllower().
Remove xen_spllower().

Revision 1.50.4.1 / (download) - annotate - [select for diffs], Fri Apr 10 14:42:00 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.50: +9 -4 lines
Diff to previous 1.50 (unified)

spllower(): Also check Xen pending events
hypervisor_pvhvm_callback(): exit via Xdoreti, so that pending interrupts
are checked.
disable __HAVE_FAST_SOFTINTS only for XENPV, it now works for PVHVM.
We still have to disable PREEMPTION, until we support MULTIPROCESSOR

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:40 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.43.2.1: +2 -3 lines
Diff to previous 1.43.2.1 (unified) to branchpoint 1.43 (unified)

Merge changes from current as of 20200406

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:25 2020 UTC (4 years, 3 months ago) by ad
Branch: ad-namecache
Changes since 1.49: +2 -3 lines
Diff to previous 1.49 (unified) next main 1.50 (unified)

Sync with head.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Jan 8 17:38:41 2020 UTC (4 years, 3 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, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Branch point for: bouyer-xenpvh
Changes since 1.49: +2 -3 lines
Diff to previous 1.49 (unified)

Hopefully fix some problems seen with MP support on non-x86, in particular
where curcpu() is defined as curlwp->l_cpu:

- mi_switch(): undo the ~2007ish optimisation to unlock curlwp before
  calling cpu_switchto().  It's not safe to let other actors mess with the
  LWP (in particular l->l_cpu) while it's still context switching.  This
  removes l->l_ctxswtch.

- Move the LP_RUNNING flag into l->l_flag and rename to LW_RUNNING since
  it's now covered by the LWP's lock.

- Ditch lwp_exit_switchaway() and just call mi_switch() instead.  Everything
  is in cache anyway so it wasn't buying much by trying to avoid saving old
  state.  This means cpu_switchto() will never be called with prevlwp ==
  NULL.

- Remove some KERNEL_LOCK handling which hasn't been needed for years.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Oct 12 06:31:03 2019 UTC (4 years, 6 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.48: +3 -2 lines
Diff to previous 1.48 (unified)

Rewrite the FPU code on x86. This greatly simplifies the logic and removes
the dependency on IPL_HIGH. NVMM is updated accordingly. Posted on
port-amd64 a week ago.

Bump the kernel version to 9.99.16.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Oct 4 15:28:00 2019 UTC (4 years, 6 months ago) by maxv
Branch: MAIN
Changes since 1.47: +9 -5 lines
Diff to previous 1.47 (unified)

Misc reordering, to clarify and reduce the diff against amd64.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:20 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.43: +38 -11 lines
Diff to previous 1.43 (unified)

Sync with HEAD

Revision 1.47 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:32 2019 UTC (5 years, 2 months ago) by cherry
Branch: MAIN
CVS Tags: 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.46: +13 -13 lines
Diff to previous 1.46 (unified)

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.42.2.3 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:17 2019 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.42.2.2: +4 -3 lines
Diff to previous 1.42.2.2 (unified) to branchpoint 1.42 (unified) next main 1.43 (unified)

Synch with HEAD

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:38 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.42.2.1: +28 -2 lines
Diff to previous 1.42.2.1 (unified) to branchpoint 1.42 (unified)

Sync with HEAD, resolve a few conflicts

Revision 1.46 / (download) - annotate - [select for diffs], Wed Dec 26 11:12:57 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118
Changes since 1.45: +4 -3 lines
Diff to previous 1.45 (unified)

Xen can use the native splraise(9) functions.

There is no need for a slower C version.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Dec 25 09:00:26 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-1226
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (unified)

fix i386 build - missed sources migration in previous commit.

allow xen_intr.c to build by bringing in static support functions for
-D INTRSTACKSIZE

This should fix the i386 build now.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Dec 25 06:50:11 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
Changes since 1.43: +28 -2 lines
Diff to previous 1.43 (unified)

Excise XEN specific code out of x86/x86/intr.c into xen/x86/xen_intr.c

While at it, separate the source function tracking so that the interrupt
paths are truly independant.

Use weak symbol exporting to provision for future PVHVM co-existence
of both files, but with independant paths. Introduce assembler code
such that in a unified scenario, native interrupts get first priority
in spllower(), followed by XEN event callbacks. IPL management and
semantics are unchanged - native handlers and xen callbacks are
expected to maintain their ipl related semantics.

In summary, after this commit, native and XEN now have completely
unrelated interrupt handling mechanisms, including
intr_establish_xname() and assembler stubs and intr handler
management.

Happy Christmas!

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:13 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.42: +8 -8 lines
Diff to previous 1.42 (unified)

Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.40.22.1 / (download) - annotate - [select for diffs], Thu Apr 5 18:15:02 2018 UTC (6 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.40: +8 -8 lines
Diff to previous 1.40 (unified) next main 1.41 (unified)

Pull up following revision(s) (requested by christos in ticket #696):

	sys/arch/amd64/amd64/vector.S: revision 1.62 (patch)
	sys/arch/x86/include/intr.h: revision 1.55
	sys/arch/i386/i386/vector.S: revision 1.77
	sys/arch/i386/i386/db_interface.c: revision 1.82 (patch)
	sys/arch/amd64/amd64/spl.S: revision 1.34 (patch)
	sys/arch/amd64/amd64/db_interface.c: revision 1.33 (patch)
	sys/arch/x86/x86/intr.c: revision 1.125
	sys/arch/i386/i386/spl.S: revision 1.43 (patch)
	sys/arch/i386/i386/machdep.c: revision 1.805 (patch)
	sys/arch/x86/x86/lapic.c: revision 1.66 (patch)

Rename the DDB IPI IDT vectors for consistency. ok maxv@

Rename Xpreempt{recurse,resume} -> X{recurse,resume}_preempt so that
they fit the pattern. Also the debugger trap sniffer matches them
without adding special entries...

XXX: pullup-8.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Apr 4 22:52:58 2018 UTC (6 years ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, 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
Branch point for: phil-wifi
Changes since 1.42: +8 -8 lines
Diff to previous 1.42 (unified)

Rename Xpreempt{recurse,resume} -> X{recurse,resume}_preempt so that
they fit the pattern. Also the debugger trap sniffer matches them
without adding special entries...
XXX: pullup-8.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Jan 27 18:44:19 2018 UTC (6 years, 2 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.41: +45 -43 lines
Diff to previous 1.41 (unified)

style

Revision 1.37.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:17 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.37.2.2: +0 -10 lines
Diff to previous 1.37.2.2 (unified) to branchpoint 1.37 (unified) next main 1.38 (unified)

update from HEAD

Revision 1.40.6.1 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:40 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.40: +2 -12 lines
Diff to previous 1.40 (unified) next main 1.41 (unified)

Sync with HEAD

Revision 1.41 / (download) - annotate - [select for diffs], Sat Aug 12 07:07:53 2017 UTC (6 years, 8 months ago) by maxv
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, nick-nhusb-base-20170825
Changes since 1.40: +2 -12 lines
Diff to previous 1.40 (unified)

Remove vm86. Simplifies a number of critical places.

Pass 2.

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:06 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.37.2.1: +8 -5 lines
Diff to previous 1.37.2.1 (unified) to branchpoint 1.37 (unified)

Rebase to HEAD as of a few days ago.

Revision 1.36.4.3 / (download) - annotate - [select for diffs], Thu May 22 11:39:51 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.36.4.2: +8 -5 lines
Diff to previous 1.36.4.2 (unified) to branchpoint 1.36 (unified) next main 1.37 (unified)

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.39.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:12 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (unified) next main 1.40 (unified)

sync with head

Revision 1.40 / (download) - annotate - [select for diffs], Sat Jan 11 17:06:15 2014 UTC (10 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, 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-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-8-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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: nick-nhusb, netbsd-8
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (unified)

remove vestige from old call to printk()

This line was introduced with a call to printk() in CVS revision
1.22.4.3 and should have been removed when the call to printk() was
removed in CVS revision 1.22.4.6.  (Richard Hansen)

Revision 1.39 / (download) - annotate - [select for diffs], Sat Jun 22 06:57:30 2013 UTC (10 years, 10 months ago) by uebayasi
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.38: +8 -4 lines
Diff to previous 1.38 (unified)

Use END() to set ELF symbol size.  Set some type info too.

Revision 1.36.4.2 / (download) - annotate - [select for diffs], Wed Jan 16 05:32:59 2013 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.36.4.1: +2 -38 lines
Diff to previous 1.36.4.1 (unified) to branchpoint 1.36 (unified)

sync with (a bit old) head

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:27 2012 UTC (11 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.37: +2 -38 lines
Diff to previous 1.37 (unified)

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

Revision 1.38 / (download) - annotate - [select for diffs], Sat Nov 10 16:28:06 2012 UTC (11 years, 5 months ago) by cherry
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, khorben-n900, agc-symver-base, agc-symver
Changes since 1.37: +2 -38 lines
Diff to previous 1.37 (unified)

Remove e a redundant layer of function calling in the event handling path

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:50 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (unified)

sync with head

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jun 15 14:09:26 2012 UTC (11 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (unified)

update a comment

Revision 1.35.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:50 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.35: +5 -5 lines
Diff to previous 1.35 (unified) next main 1.36 (unified)

Sync with HEAD.

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:07 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.35: +5 -5 lines
Diff to previous 1.35 (unified) next main 1.36 (unified)

sync with head

Revision 1.32.10.2 / (download) - annotate - [select for diffs], Mon Mar 28 23:04:42 2011 UTC (13 years ago) by jym
Branch: jym-xensuspend
Changes since 1.32.10.1: +5 -5 lines
Diff to previous 1.32.10.1 (unified) to branchpoint 1.32 (unified) next main 1.33 (unified)

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.36 / (download) - annotate - [select for diffs], Fri Mar 18 15:18:16 2011 UTC (13 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, 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, jym-xensuspend-nbase, jym-xensuspend-base, 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
Branch point for: yamt-pagecache
Changes since 1.35: +5 -5 lines
Diff to previous 1.35 (unified)

Remove static branch prediction hints. They pessimize code for all CPUs
but Pentium IV. Discussed with ad@ and dsl@

Revision 1.32.10.1 / (download) - annotate - [select for diffs], Sun Oct 24 22:48:01 2010 UTC (13 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.32: +26 -6 lines
Diff to previous 1.32 (unified)

Sync with HEAD

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:29 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27.2.2: +26 -6 lines
Diff to previous 1.27.2.2 (unified) to branchpoint 1.27 (unified) next main 1.28 (unified)

sync with head

Revision 1.35 / (download) - annotate - [select for diffs], Fri Nov 27 03:23:10 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.34: +5 -5 lines
Diff to previous 1.34 (unified)

- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Nov 25 14:28:50 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (unified)

Remove IPL_LPT and IPL_IPI aliases, use the actual IPLs.
Fix some broken comments.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Nov 3 05:23:27 2009 UTC (14 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.32: +22 -2 lines
Diff to previous 1.32 (unified)

Add a kernel configuration flag, SPLDEBUG, that activates a per-CPU log
of transitions to IPL_HIGH from lower IPLs.  SPLDEBUG is only available
on i386 and Xen kernels, today.

'options SPLDEBUG' adds instrumentation to spllower() and splraise() as
well as routines to start/stop debugging and to record IPL transitions:
spldebug_start(), spldebug_stop(), spldebug_raise(), spldebug_lower().

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:16 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27.2.1: +22 -5 lines
Diff to previous 1.27.2.1 (unified) to branchpoint 1.27 (unified)

sync with head.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:27 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.30.2.1: +19 -2 lines
Diff to previous 1.30.2.1 (unified) to branchpoint 1.30 (unified) next main 1.31 (unified)

Sync with wrstuden-revivesa-base-2.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:53 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.31: +19 -2 lines
Diff to previous 1.31 (unified) next main 1.32 (unified)

Sync with head.

Revision 1.26.6.2 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:16 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.26.6.1: +17 -0 lines
Diff to previous 1.26.6.1 (unified) to branchpoint 1.26 (unified) next main 1.27 (unified)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jul 1 18:49:21 2008 UTC (15 years, 9 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.31: +19 -2 lines
Diff to previous 1.31 (unified)

Raise ci_idepth (and switch to interrupt stack on i386) becore calling
xenevt_event().

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:26 2008 UTC (15 years, 10 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (unified)

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

Revision 1.26.8.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:04:47 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.26.8.1: +5 -5 lines
Diff to previous 1.26.8.1 (unified) to branchpoint 1.26 (unified) next main 1.27 (unified)

sync with head

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:17 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.26: +58 -23 lines
Diff to previous 1.26 (unified)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Sun May 25 15:56:12 2008 UTC (15 years, 10 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.30: +5 -5 lines
Diff to previous 1.30 (unified)

enable profiling of assembly functions.

Revision 1.26.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:10 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.26: +57 -22 lines
Diff to previous 1.26 (unified)

sync with head.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:22:34 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27: +55 -20 lines
Diff to previous 1.27 (unified)

sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Sat May 3 06:11:19 2008 UTC (15 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.29: +13 -2 lines
Diff to previous 1.29 (unified)

sprinkle END/IDTVEC_END.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Apr 28 22:47:37 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.28: +44 -13 lines
Diff to previous 1.28 (unified)

Add support for kernel preeemption to the i386 and amd64 ports. Notes:

- I have seen one isolated panic in the x86 pmap, but otherwise i386
  seems stable with preemption enabled.

- amd64 is missing the FPU handling changes and it's not yet safe to
  enable it there.

- The usual level for kern.sched.kpreempt_pri will be 128 once enabled
  by default. For testing, setting it to 0 helps to shake out bugs.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:24 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.27: +2 -9 lines
Diff to previous 1.27 (unified)

Remove clause 3 and 4 from TNF licenses

Revision 1.27 / (download) - annotate - [select for diffs], Mon Apr 21 15:15:34 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (unified)

Access Xen's vcpu info structure per-CPU.
Tested on i386 and amd64 (both dom0 and domU) by me.
Xen2 tested (both dom0 and domU) by bouyer.
OK bouyer

Revision 1.17.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:07 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.17.2.2: +84 -13 lines
Diff to previous 1.17.2.2 (unified) to branchpoint 1.17 (unified) next main 1.18 (unified)

sync with HEAD

Revision 1.19.2.4 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:38 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.19.2.3: +84 -13 lines
Diff to previous 1.19.2.3 (unified) to branchpoint 1.19 (unified) next main 1.20 (unified)

Sync with HEAD.

Revision 1.11.12.8 / (download) - annotate - [select for diffs], Mon Jan 21 09:37:04 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.12.7: +86 -19 lines
Diff to previous 1.11.12.7 (unified) to branchpoint 1.11 (unified) next main 1.12 (unified)

sync with head

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jan 11 20:00:14 2008 UTC (16 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-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, mjf-devfs2
Changes since 1.25: +83 -12 lines
Diff to previous 1.25 (unified)

Merge the bouyer-xeni386 branch to head, at tag bouyer-xeni386-merge1 (the
branch is still active and will see i386PAE support developement).
Sumary of changes:
- switch xeni386 to the x86/x86/pmap.c, and the xen/x86/x86_xpmap.c
  pmap bootstrap.
- merge back most of xen/i386/ to i386/i386
- change the build to reduce diffs between i386 and amd64 in file locations
- remove include files that were identical to the i386/amd64 counterparts,
  the build will find them via the xen-ma/machine link.

Revision 1.22.4.6 / (download) - annotate - [select for diffs], Fri Jan 11 16:01:15 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.22.4.5: +2 -6 lines
Diff to previous 1.22.4.5 (unified) to branchpoint 1.22 (unified) next main 1.23 (unified)

Remove debug printk

Revision 1.22.4.5 / (download) - annotate - [select for diffs], Thu Jan 10 23:43:25 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.22.4.4: +3 -3 lines
Diff to previous 1.22.4.4 (unified) to branchpoint 1.22 (unified)

Sync with HEAD

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jan 10 20:14:11 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (unified)

- Fix a memory order problem with non-interlocked mutex release.
- Give kernel_lock its own cache line.

Revision 1.22.4.4 / (download) - annotate - [select for diffs], Thu Jan 10 13:01:56 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.22.4.3: +4 -3 lines
Diff to previous 1.22.4.3 (unified) to branchpoint 1.22 (unified)

On XEN, doreti_checkast may be called from outside Xdoreti(), so make sure
%esi has the right value when looping on .Ldoreti_resume

Revision 1.22.4.3 / (download) - annotate - [select for diffs], Wed Jan 9 23:54:17 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.22.4.2: +86 -12 lines
Diff to previous 1.22.4.2 (unified) to branchpoint 1.22 (unified)

Merge Xen suport in i386/i386/spl.S.

Revision 1.17.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:46:39 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.17.2.1: +72 -23 lines
Diff to previous 1.17.2.1 (unified) to branchpoint 1.17 (unified)

sync with HEAD

Revision 1.22.4.2 / (download) - annotate - [select for diffs], Wed Jan 2 21:48:19 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.22.4.1: +0 -6 lines
Diff to previous 1.22.4.1 (unified) to branchpoint 1.22 (unified)

Sync with HEAD

Revision 1.19.2.3 / (download) - annotate - [select for diffs], Thu Dec 27 00:43:09 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.19.2.2: +4 -8 lines
Diff to previous 1.19.2.2 (unified) to branchpoint 1.19 (unified)

Sync with HEAD.

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:38:46 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.21.2.1: +4 -8 lines
Diff to previous 1.21.2.1 (unified) to branchpoint 1.21 (unified) next main 1.22 (unified)

Sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Dec 20 23:46:11 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: vmlocking2-base3, matt-armv6-base
Changes since 1.23: +2 -8 lines
Diff to previous 1.23 (unified)

- 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.22.4.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:54:44 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (unified)

Sync with HEAD

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Thu Dec 13 05:05:18 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-kmem
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (unified) next main 1.23 (unified)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Dec 11 23:06:14 2007 UTC (16 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-kmem-base3
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (unified)

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.16.8.4 / (download) - annotate - [select for diffs], Sun Dec 9 19:35:23 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.16.8.3: +66 -13 lines
Diff to previous 1.16.8.3 (unified) to branchpoint 1.16 (unified) next main 1.17 (unified)

Sync with HEAD.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:17:11 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.19.2.1: +66 -13 lines
Diff to previous 1.19.2.1 (unified) to branchpoint 1.19 (unified)

Sync with HEAD.

Revision 1.11.12.7 / (download) - annotate - [select for diffs], Fri Dec 7 17:25:01 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.12.6: +66 -13 lines
Diff to previous 1.11.12.6 (unified) to branchpoint 1.11 (unified)

sync with head

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:02:50 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (unified)

Pull the vmlocking changes into a new branch.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Dec 4 08:03:46 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base2, yamt-kmem-base, vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: yamt-kmem, bouyer-xeni386
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (unified)

softintr_ret: fix it to work properly after yesterday's change to mi_switch.

Revision 1.15.6.11 / (download) - annotate - [select for diffs], Mon Dec 3 19:03:31 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.15.6.10: +1 -132 lines
Diff to previous 1.15.6.10 (unified) to branchpoint 1.15 (unified) next main 1.16 (unified)

Sync with HEAD.

Revision 1.15.6.10 / (download) - annotate - [select for diffs], Mon Dec 3 18:36:46 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.15.6.9: +130 -6 lines
Diff to previous 1.15.6.9 (unified) to branchpoint 1.15 (unified)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Dec 3 15:33:46 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase
Branch point for: vmlocking2
Changes since 1.20: +65 -13 lines
Diff to previous 1.20 (unified)

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:46:29 2007 UTC (16 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.19: +6 -6 lines
Diff to previous 1.19 (unified)

Sync with HEAD.

Revision 1.15.6.9 / (download) - annotate - [select for diffs], Fri Nov 16 20:35:32 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.15.6.8: +6 -3 lines
Diff to previous 1.15.6.8 (unified) to branchpoint 1.15 (unified)

softintr_ret keeps the IPL raised until returning to doreti/splx in order
to avoid recursing. To keep the IPL raised it adjusts ci_mtx_oldspl before
dropping curlwp->l_mutex. That's not safe if the current CPU holds more than
one spin mutex, and can lead to "WARNING: SPL NOT LOWERED...". Fix it.

Revision 1.11.12.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:42:57 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.12.5: +6 -6 lines
Diff to previous 1.11.12.5 (unified) to branchpoint 1.11 (unified)

sync with head.

Revision 1.17.6.2 / (download) - annotate - [select for diffs], Tue Nov 13 15:58:34 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.17.6.1: +5 -5 lines
Diff to previous 1.17.6.1 (unified) to branchpoint 1.17 (unified) next main 1.18 (unified)

Sync with HEAD

Revision 1.16.8.3 / (download) - annotate - [select for diffs], Sun Nov 11 16:46:33 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.16.8.2: +6 -6 lines
Diff to previous 1.16.8.2 (unified) to branchpoint 1.16 (unified)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Nov 10 20:06:24 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.19: +6 -6 lines
Diff to previous 1.19 (unified)

- 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.17.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:17:34 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (unified)

sync with HEAD

Revision 1.11.12.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:26:40 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.12.4: +3 -3 lines
Diff to previous 1.11.12.4 (unified) to branchpoint 1.11 (unified)

sync with head.

Revision 1.16.8.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:42:36 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.16.8.1: +3 -3 lines
Diff to previous 1.16.8.1 (unified) to branchpoint 1.16 (unified)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:35:51 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (unified)

Sync with HEAD.

Revision 1.15.6.8 / (download) - annotate - [select for diffs], Tue Oct 23 20:13:04 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.15.6.7: +3 -3 lines
Diff to previous 1.15.6.7 (unified) to branchpoint 1.15 (unified)

Sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Oct 18 15:28:36 2007 UTC (16 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (unified)

merge yamt-x86pmap branch.

- reduce differences between amd64 and i386.  notably, share pmap.c
  between them.  it makes several i386 pmap improvements available to
  amd64, including tlb shootdown reduction and bug fixes from Stephan Uphoff.
- implement deferred pmap switching for amd64.
- remove LARGEPAGES option.  always use large pages if available.
  also, make it work on amd64.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Oct 17 19:54:47 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (unified)

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.15.6.7 / (download) - annotate - [select for diffs], Tue Oct 9 15:22:05 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.15.6.6: +4 -7 lines
Diff to previous 1.15.6.6 (unified) to branchpoint 1.15 (unified)

Sync with head.

Revision 1.15.14.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:23:49 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.15.14.1: +9 -41 lines
Diff to previous 1.15.14.1 (unified) to branchpoint 1.15 (unified) next main 1.16 (unified)

Sync with HEAD

Revision 1.17.4.2 / (download) - annotate - [select for diffs], Sat Sep 29 12:22:32 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.17.4.1: +1 -1 lines
Diff to previous 1.17.4.1 (unified) to branchpoint 1.17 (unified) next main 1.18 (unified)

remove an unused label.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Sat Sep 29 11:25:40 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (unified)

DO_DEFERRED_SWITCH, CHECK_DEFERRED_SWITCH: remove an unused argument.

Revision 1.11.12.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:26:44 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.12.3: +29 -32 lines
Diff to previous 1.11.12.3 (unified) to branchpoint 1.11 (unified)

sync with head.

Revision 1.15.6.6 / (download) - annotate - [select for diffs], Thu Aug 23 13:18:21 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.15.6.5: +3 -7 lines
Diff to previous 1.15.6.5 (unified) to branchpoint 1.15 (unified)

Cosmetic changes.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:47:24 2007 UTC (16 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.16: +9 -41 lines
Diff to previous 1.16 (unified) next main 1.17 (unified)

Sync with HEAD.

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Thu Aug 9 02:36:58 2007 UTC (16 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.16: +9 -41 lines
Diff to previous 1.16 (unified)

Sync with HEAD.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Tue Aug 7 18:05:21 2007 UTC (16 years, 8 months ago) by matt
Branch: matt-mips64
Changes since 1.16: +9 -41 lines
Diff to previous 1.16 (unified) next main 1.17 (unified)

Sync with HEAD.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Aug 5 10:50:26 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, matt-mips64-base
Branch point for: yamt-x86pmap, matt-armv6, bouyer-xenamd64
Changes since 1.16: +9 -41 lines
Diff to previous 1.16 (unified)

- Remove crud.
- Don't use the ci_self150 hack.

Revision 1.15.6.5 / (download) - annotate - [select for diffs], Sun Jul 29 10:18:49 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.15.6.4: +5 -6 lines
Diff to previous 1.15.6.4 (unified) to branchpoint 1.15 (unified)

- 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.15.6.4 / (download) - annotate - [select for diffs], Sat Jul 28 14:23:29 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.15.6.3: +2 -24 lines
Diff to previous 1.15.6.3 (unified) to branchpoint 1.15 (unified)

Remove crud.

Revision 1.15.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:00:03 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.15: +31 -2 lines
Diff to previous 1.15 (unified) next main 1.16 (unified)

Sync with head.

Revision 1.15.6.3 / (download) - annotate - [select for diffs], Sat Jul 7 11:56:10 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.15.6.2: +3 -18 lines
Diff to previous 1.15.6.2 (unified) to branchpoint 1.15 (unified)

- Remove the interrupt priority range and use 'kernel RT' instead,
  since only soft interrupts are threaded.
- Rename l->l_pinned to l->l_switchto. It might be useful for (re-)
  implementing SA or doors.
- Simplify soft interrupt dispatch so MD code is doing as little as
  possible that is new.

Revision 1.15.6.2 / (download) - annotate - [select for diffs], Sun Jun 17 21:30:39 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.15.6.1: +84 -15 lines
Diff to previous 1.15.6.1 (unified) to branchpoint 1.15 (unified)

- Increase the number of thread priorities from 128 to 256. How the space
  is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
  is provided, with hooks for fast-path MD code that can run the interrupt
  threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
  locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:32 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.15: +31 -2 lines
Diff to previous 1.15 (unified)

Sync with head.

Revision 1.15.14.1 / (download) - annotate - [select for diffs], Tue May 22 17:27:00 2007 UTC (16 years, 11 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.15: +31 -2 lines
Diff to previous 1.15 (unified)

Update to HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Thu May 17 14:51:21 2007 UTC (16 years, 11 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.15: +31 -2 lines
Diff to previous 1.15 (unified)

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.15.2.2 / (download) - annotate - [select for diffs], Sat Mar 24 18:02:42 2007 UTC (17 years, 1 month ago) by ad
Branch: yamt-idlelwp
Changes since 1.15.2.1: +3 -2 lines
Diff to previous 1.15.2.1 (unified) to branchpoint 1.15 (unified) next main 1.16 (unified)

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

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Fri Mar 23 14:06:06 2007 UTC (17 years, 1 month ago) by ad
Branch: yamt-idlelwp
Changes since 1.15: +29 -1 lines
Diff to previous 1.15 (unified)

- Decouple intr.h from cpu.h.
- Define splraise in spl.S. As a side effect it becomes "preemption safe".
- Make softintr_schedule a function in softintr.c.
- Make softintr a function in spl.S, and remove the unneeded lock prefix.

Revision 1.11.12.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:06:59 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.12.2: +82 -9 lines
Diff to previous 1.11.12.2 (unified) to branchpoint 1.11 (unified)

sync with head.

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

Merge newlock2 to head.

Revision 1.13.20.4 / (download) - annotate - [select for diffs], Thu Feb 1 06:25:01 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.13.20.3: +4 -1 lines
Diff to previous 1.13.20.3 (unified) to branchpoint 1.13 (unified) next main 1.14 (unified)

- Don't patch stuff if it's a profiling kernel.
- Move Xspllower label to show up better in profile output.

Revision 1.13.20.3 / (download) - annotate - [select for diffs], Sat Jan 27 07:09:02 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.13.20.2: +76 -4 lines
Diff to previous 1.13.20.2 (unified) to branchpoint 1.13 (unified)

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.13.20.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:50 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.13.20.1: +35 -8 lines
Diff to previous 1.13.20.1 (unified) to branchpoint 1.13 (unified)

Sync with head.

Revision 1.11.12.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:10 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.12.1: +35 -8 lines
Diff to previous 1.11.12.1 (unified) to branchpoint 1.11 (unified)

sync with head.

Revision 1.13.22.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:10 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.13: +35 -8 lines
Diff to previous 1.13 (unified) next main 1.14 (unified)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Dec 8 15:05:18 2006 UTC (17 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, newlock2-nbase, newlock2-base
Changes since 1.13: +35 -8 lines
Diff to previous 1.13 (unified)

- pass intrframe by-pointer, not by-value.
- make i386 and xen use per-cpu interrupt stack.

xen part is reviewed by Manuel Bouyer.

Revision 1.13.20.1 / (download) - annotate - [select for diffs], Sun Sep 10 23:42:41 2006 UTC (17 years, 7 months ago) by ad
Branch: newlock2
Changes since 1.13: +4 -6 lines
Diff to previous 1.13 (unified)

Add updated locking primatives.

Revision 1.11.12.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:52:19 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (unified)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 11 12:17:41 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, 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.12: +1 -1 lines
Diff to previous 1.12 (unified)

merge ktrace-lwp.

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 13:56:47 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.3: +1 -2 lines
Diff to previous 1.6.2.3 (unified) next main 1.7 (unified)

Sync with HEAD. Here we go again...

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 7 11:42:34 2005 UTC (18 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (unified)

some assym cleanup.
- move copyin and friends from locore.S to their own file, copy.S.
  share it between i386 and xen.
- defparam KERNBASE and kill KERNBASE_LOCORE hack.
- add more symbols to assym.h and use it where appropriate.

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:16:46 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.2: +1 -1 lines
Diff to previous 1.6.2.2 (unified)

Fix the sync with head I botched.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:35:28 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.1: +0 -0 lines
Diff to previous 1.6.2.1 (unified)

Sync with HEAD.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:35:52 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6: +26 -15 lines
Diff to previous 1.6 (unified)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 28 09:13:12 2004 UTC (19 years, 9 months ago) by fvdl
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, 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, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.10: +1 -5 lines
Diff to previous 1.10 (unified)

Updaing ci_ilevel and testing ci_ipending must be done with all interrupts
off, or priority inversion can occur, which can lead to IPI deadlocks.
Leaves interrupts off for a bit longer, sadly, but with no noticeable
effects on the systems I tested on.

From YAMAMOTO Takashi.

Revision 1.10 / (download) - annotate - [select for diffs], Thu May 13 12:27:38 2004 UTC (19 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.9: +9 -8 lines
Diff to previous 1.9 (unified)

call mcount in Xspllower.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Apr 20 11:59:20 2004 UTC (20 years ago) by yamt
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (unified)

add '.L' prefixes to local labels.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Feb 20 17:35:01 2004 UTC (20 years, 2 months ago) by yamt
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.7: +16 -4 lines
Diff to previous 1.7 (unified)

defer pmap switching until it's really needed
to avoid frequent loading of cr3 register, which involves tlb flush.

with some fixes/improvements from Stephan Uphoff and Bang Jun-Young.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Aug 20 21:48:41 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (unified)

Pass pointers to frames from assembly, do not use the 'frame on stack
as argument passed by value' trick, as gcc 3.3.x makes (valid) assumptions
about the stack that will not be true. Costs 2 instructions per trap/syscall
on i386, 4 per interrupt for MP. One instruction per trap/syscall on amd64,
2 per interrupt for MP. I expect gcc 3.3.1 to make up for this by better
optimization (it'd better..)

While here, make amd64 compile again by using subr_mbr_disk.c

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 17 23:10:32 2003 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (unified)

Merge the nathanw_sa branch.

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Tue Jan 7 21:11:44 2003 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.2.2.4: +1 -4 lines
Diff to previous 1.2.2.4 (unified) next main 1.3 (unified)

Sync with HEAD.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 7 09:57:01 2003 UTC (21 years, 3 months ago) by itohy
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.4: +1 -4 lines
Diff to previous 1.4 (unified)

Delete reference to astpending, which doesn't exist any longer.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Thu Dec 19 00:33:50 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2.2.3: +1 -3 lines
Diff to previous 1.2.2.3 (unified)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 12 21:39:33 2002 UTC (21 years, 4 months ago) by fvdl
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.3: +1 -3 lines
Diff to previous 1.3 (unified)

Remove redundant cli/sti instructions. From Enami Tsugutomo.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Wed Dec 11 16:00:51 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2.2.2: +28 -8 lines
Diff to previous 1.2.2.2 (unified)

Sync with HEAD.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Dec 11 12:02:07 2002 UTC (21 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.2: +28 -8 lines
Diff to previous 1.2 (unified)

Since a CPU may spin waiting for another CPU to handle an IPI, an
IPI must be the very first thing to be handled in splx(), if it
had been blocked before. Change things around a bit to guarantee
this.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Wed Dec 11 06:00:58 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2.2.1: +154 -0 lines
Diff to previous 1.2.2.1 (unified)

Sync with HEAD.

Revision 1.2.2.1, Wed Dec 4 01:33:58 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2: +0 -154 lines
FILE REMOVED

file spl.S was added on branch nathanw_sa on 2002-12-11 06:00:58 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 4 01:33:58 2002 UTC (21 years, 4 months ago) by fvdl
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.1: +9 -1 lines
Diff to previous 1.1 (unified)

Create a proper frame in Xspllower if DDB is defined.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Nov 22 15:01:18 2002 UTC (21 years, 5 months ago) by fvdl
Branch: MAIN

.s -> .S rename. New files: vector.S and spl.S, they have been split
off from locore.s, plus parts of isa/vector.s and isa/icu.s

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>