CVS log for src/sys/arch/alpha/alpha/interrupt.c
Up to [cvs.NetBSD.org] / src / sys / arch / alpha / alpha
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.100: download - view: text, markup, annotated - select for diffs
Wed Nov 10 16:53:28 2021 UTC (3 years, 2 months ago) by msaitoh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +3 -3
lines
s/suport/support/ in comment.
Revision 1.95.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:00 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.95.2.1: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95.2.1: +5 -7
lines
Sync with HEAD.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Fri Jul 16 19:02:22 2021 UTC (3 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +5 -6
lines
The Alpha AXP Architecture Reference Manual is explcit that the only
valid bits in the PSL are the IPL and USER bits, the latter of which
will always be clear when in the kernel, and that all other bits MBZ.
So, when reading the PSL to get the current IPL, don't bother masking
with ALPHA_PSL_IPL_MASK.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Jul 4 22:42:35 2021 UTC (3 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -3
lines
Remove unnecessary #include <sys/malloc.h>
Revision 1.95.2.1: download - view: text, markup, annotated - select for diffs
Thu May 13 00:47:20 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +10 -4
lines
Sync with HEAD.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Wed May 5 15:34:54 2021 UTC (3 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +8 -2
lines
Disable preemption around the main work of badaddr_read() and delay();
they both use "current CPU" resources.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Wed May 5 14:58:57 2021 UTC (3 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +4 -4
lines
Make scb_strat() static.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Tue Apr 20 01:29:40 2021 UTC (3 years, 9 months ago) by thorpej
Branches: MAIN
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +10 -10
lines
Don't use atomics to manipulate cpu_info::ci_intrdepth: it's modified
only in the interrupt service path by the owning CPU, at entry and exit.
Even if the r/m/w cycle of incrementing the value were interrupted, the
result would still be the same because the interrupting frame will have
completed its own symmetrical increment/decrement cycle upon return.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue Apr 20 00:09:45 2021 UTC (3 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +18 -4
lines
Slight tweak to previous changes:
Rather than simply increment the interrupt depth for the clock interrupt,
we add 0x10. Why? Because while we only use a single Alpha IPL (4) for
IPL_{BIO,NET,TTY,VM}, technically the architecture specification suports
two in the OSF/1 PALcode (3 [low-pri] and 4 [high-pri]), meaning we could
conceiveably have intrdepth > 1 just for device interrupts.
Adding 0x10 here means that cpu_intr_p() can check for "intrdepth != 0" for
"in interrupt context" and CLKF_INTR() can check "(intrdepth & 0xf) != 0" for
"was processing interrupts when the clock interrupt happened".
Revision 1.92.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 17 17:26:12 2021 UTC (3 years, 9 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92: +4 -8
lines
Sync with HEAD.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Thu Apr 15 00:19:52 2021 UTC (3 years, 9 months ago) by rin
Branches: MAIN
CVS tags: thorpej-cfargs-base
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -8
lines
Contrary to comment here, nowadays hardclock() and statclock() should be
called with cpu_intr_p() is turning on, if used from the interrupt context.
Otherwise, entropy_enter() is used instead of entropy_enter_intr(), which
results in KASSERT() failure.
Therefore, bump ci_intrdepth for clock interrupt. Remove stale comment also.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Sat Oct 10 03:05:04 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-futex
Branch point for: thorpej-cfargs
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +8 -2
lines
Fix cycle counter-based time keeping on Alpha in MP environments by using
a simpler calibration algorithm for the CC timecounter. Proposed in 2018
by Naruaki Etomi:
https://mail-index.netbsd.org/tech-kern/2018/01/14/msg022940.html
This patch is largely based on the proposed change, but avoids changing
any other timecounter logic, and re-factors things a bit to keep them
as MI as possible.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Sat Sep 26 21:07:48 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +6 -3
lines
Implement cpu_intr_redistribute() for Tusnami/Titan systems.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Sep 25 03:40:11 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +36 -19
lines
Changes to make interrupt {,dis}establish MP-safe on Alpha:
- Protect all of the system interrupt linkage with the cpu_lock mutex.
- Re-order some of the stores to the SCB vector table to make it safe
in the face of lockless interrupt dispatch.
- Add a framework for routing interrupts to specific CPUs. Interrupts
are still funneled only to the primary CPU, but that will change for
some systems soon. Ensure that interrupt handler lists are manipulated
only on the CPUs that handle that specific interrupt source. This required
a re-factor of the alpha_shared_intr_*() family of functions.
- Enable __HAVE_INTR_CONTROL, although interrupt redistribution is still
a no-op.
- Reduce code duplication in the Jenson direct-SCB interrupt handlers.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Tue Sep 22 15:24:01 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +8 -15
lines
Changes to make MPSAFE interrupts work on Alpha:
- Remove the ipl argument to scb_set() and the associated array of
"mpsafe" booleans initialized based on the ipl. It was bogus
anyway; all IPL_{BIO,NET,TTY}, etc. values are aliases of IPL_VM,
and for all practical purposes, there is really only one device
interrrupt level on Alpha anyway. Intead, we now treat all dispatches
from the SCB vector table as MP-safe, and it is now the handler for
that vector who is responsible for acquiring the KERNEL_LOCK if needed.
- Update the direct interrupt vector handlers in jensenio and TURBOchannel
to acquire the KERNEL_LOCK.
- Introduce a new ALPHA_INTR_MPSAFE flag, and add a flags argument to
alpha_shared_intr_establish(). When it is set, indicate that the
handler is MP-safe. Update alpha_shared_intr_dispatch() to pay
attention and acquire the KERNEL_LOCK (or not) as indicated.
- Re-factor all of the PCI interrupt handling, providing "generic PCI"
"PCI interrupts through ISA IRQs" implementations to significantly
reduce code duplication. Supplement the PCI chipset tag with more
info to facilitate this, and make the PCI interrupt-related routines
take a pci_chipset_tag_t argument rather than a void * argument.
- Because PCI interrupts on KN8AE are dispatched directly from the
SCB, provide a wrapper for non-MPSAFE interrupt handlers that
acquires the KERNEL_LOCK.
- Change the pci_intr_handle_t type to be a struct rather than an
integer type in order to catch any direct use of it as a value.
Add a set of functions to interact with pci_intr_handle_t, including
setting interrupt flags.
- Implement pci_intr_setattr() so that the PCI_INTR_MPSAFE attribute
can be set on a pci_intr_handle_t.
- While I'm here, make all of the MI PCI back-end operations call
through real functions rather than hopping directly through function
pointers in the chipset tag.
This change looks a lot bigger than it really is because of the re-factor
in the plethora of model-specific PCI interrupt back-ends. The KN8AE,
KN300, and T2/T3/T4 (Sable) are largely un-changed.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat Sep 19 03:02:07 2020 UTC (4 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -20
lines
Enable __HAVE_FAST_SOFTINTS and garbage-collect the #ifdefs.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Sep 19 01:24:31 2020 UTC (4 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +2 -12
lines
Move softintr bits into <machine/intr.h> and define ALPHA_ALL_SOFTINTS
for locore.s
Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu Sep 17 00:48:56 2020 UTC (4 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +22 -6
lines
Reduce the __HAVE_FAST_SOFTINTS #ifdef perimeter.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Sep 16 04:07:32 2020 UTC (4 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +116 -21
lines
Implement fast soft interrupts for Alpha. It's not yet enabled, because
there is a bug lurking that causes problems when user space starts up,
so we'll stick with the slow path for now.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sat Sep 5 18:01:42 2020 UTC (4 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +9 -14
lines
Track the SSIR per-cpu, rather than globally.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Sep 5 16:29:07 2020 UTC (4 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -18
lines
- Document all of the various interrupt levels in the Processor Stataus
register, and provide symbolic names for them as well.
- Use ALPHA_PSL_IPL_* values directly for IPL_*.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Aug 29 15:29:30 2020 UTC (4 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3
lines
In ipl2psl_table[], use IPL_SCHED instead of IPL_CLOCK (the legacy name),
and add a comment noting that this is the level IPIs come in with on
alpha.
Revision 1.80.6.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:46 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +8 -4
lines
update from HEAD
Revision 1.80.24.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:29:54 2016 UTC (8 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +8 -4
lines
Sync with HEAD
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Jan 17 10:44:57 2016 UTC (9 years ago) by martin
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
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,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +8 -4
lines
PR port-alpha/50667: add missing va_start/va_end.
Revision 1.79.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:53 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79: +26 -26
lines
sync with head
Revision 1.79.12.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:30:49 2012 UTC (12 years, 11 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79: +26 -26
lines
merge to -current.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Feb 6 02:14:11 2012 UTC (12 years, 11 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
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,
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,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
nick-nhusb
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +26 -26
lines
Do a minor cleanup of alpha (this will make applying pullups post branching
easier).
u_int{8,16,32,64}_t -> uint{*}_t
Change all old-style definitions to C89 prototypes.
Whitespace cleanup.
Constification in db_disasm.c
Revision 1.78.22.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:49:09 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +4 -6
lines
sync with head
Revision 1.79: download - view: text, markup, annotated - select for diffs
Mon Dec 20 00:25:24 2010 UTC (14 years, 1 month ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
uebayasi-xip-base7,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jym-xensuspend-base,
jruoho-x86intr-base,
jruoho-x86intr,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -6
lines
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
Revision 1.76.14.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:45 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.76.14.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.14.1: +0 -7
lines
Sync with HEAD.
Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:31:20 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +2 -9
lines
sync with head.
Revision 1.77.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:21:44 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +2 -9
lines
sync with head.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:10 2008 UTC (16 years, 8 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base2,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
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-premerge-20091211,
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,
jym-xensuspend,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: rmind-uvmplock
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.76.14.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:10 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +11 -11
lines
Sync with HEAD.
Revision 1.76.10.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:14:51 2008 UTC (16 years, 10 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +11 -11
lines
sync with head.
Revision 1.74.6.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:03:51 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.74.6.2: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.6.2: +11 -11
lines
sync with HEAD
Revision 1.66.18.6: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:13 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.66.18.5: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.18.5: +11 -11
lines
sync with head.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon Mar 10 13:43:33 2008 UTC (16 years, 10 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +11 -11
lines
Use MI atomic operations.
Revision 1.74.6.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:44:31 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.74.6.1: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.6.1: +34 -196
lines
sync with HEAD
Revision 1.74.4.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:34:08 2007 UTC (17 years, 1 month ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74: +34 -196
lines
Sync with HEAD.
Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:16:17 2007 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +34 -196
lines
Sync with HEAD.
Revision 1.66.18.5: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:23:48 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.66.18.4: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.18.4: +34 -196
lines
sync with head
Revision 1.72.6.6: download - view: text, markup, annotated - select for diffs
Mon Dec 3 19:02:23 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.72.6.5: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.6.5: +4 -3
lines
Sync with HEAD.
Revision 1.72.6.5: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:34:29 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.72.6.4: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.6.4: +12 -9
lines
Sync with HEAD.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Dec 3 15:33:04 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-base,
jmcneill-pm-base,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386
Branch point for: mjf-devfs2,
keiichi-mipv6
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +34 -196
lines
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.74.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:13:42 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -2
lines
sync with HEAD
Revision 1.72.6.4: download - view: text, markup, annotated - select for diffs
Thu Oct 18 18:12:59 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.72.6.3: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.6.3: +2 -14
lines
More interrupt changes; collapse the symbolic levels down to the ones
that we actually need (none, soft, vm, sched, high) but retain aliases
like IPL_BIO for now.
Revision 1.72.6.3: download - view: text, markup, annotated - select for diffs
Thu Oct 18 17:49:10 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.72.6.2: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.6.2: +22 -176
lines
Interrupt stuff for alpha (but no fast softints yet).
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:52:55 2007 UTC (17 years, 3 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -2
lines
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.72.14.2: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:21:55 2007 UTC (17 years, 3 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.72.14.1: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.14.1: +2 -20
lines
Sync with HEAD
Revision 1.66.18.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:22:16 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.66.18.3: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.18.3: +4 -23
lines
sync with head.
Revision 1.72.6.2: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:36:45 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.72.6.1: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.6.1: +2 -20
lines
Sync with HEAD.
Revision 1.73.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:46:57 2007 UTC (17 years, 5 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +2 -20
lines
Sync with HEAD.
Revision 1.73.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 7 18:04:51 2007 UTC (17 years, 5 months ago) by matt
Branches: matt-mips64
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +2 -20
lines
Sync with HEAD.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Jul 21 11:59:56 2007 UTC (17 years, 6 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
ppcoea-renovation-base,
nick-csl-alignment-base5,
matt-mips64-base,
hpcarm-cleanup,
bouyer-xenamd64
Branch point for: matt-armv6,
jmcneill-pm
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -20
lines
Add MI todr(9) support and timercounter(9) support with kern_cctr.c to alpha:
- use todr(9) API with MI mc146818(4) driver and remove homegrown
todr stuff from MD alpha/clock.c and alpha/mcclock.c
- also remove obsolete cc_microtime stuff from MD code
- add ci_pcc_freq member in struct cpu_info for cpu_frequency(), and
calibrate it with mc146818 interval clock in mcclock attachment
- call cc_init() in cpu_initclocks(9) because all alpha cpus have
a pcc counter
Tested on DEC 3000/300 and AlphaPC 164, but not on any SMP machines yet.
Revision 1.72.8.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 19:57:20 2007 UTC (17 years, 6 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +4 -5
lines
Sync with head.
Revision 1.72.6.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:26:52 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -5
lines
Sync with head.
Revision 1.72.14.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:26:27 2007 UTC (17 years, 8 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -5
lines
Update to HEAD.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:11 2007 UTC (17 years, 8 months ago) by yamt
Branches: MAIN
CVS tags: nick-csl-alignment-base,
mjf-ufs-trans-base
Branch point for: nick-csl-alignment,
matt-mips64
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -5
lines
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.72.12.1: download - view: text, markup, annotated - select for diffs
Wed Apr 18 04:16:36 2007 UTC (17 years, 9 months ago) by thorpej
Branches: thorpej-atomic
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +11 -11
lines
Convert to the new atomic op API.
Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 20 12:07:11 2007 UTC (17 years, 10 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +4 -5
lines
adapt alpha.
Revision 1.66.18.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:05:32 2007 UTC (17 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.66.18.2: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.18.2: +7 -7
lines
sync with head.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:01 2007 UTC (17 years, 11 months ago) by ad
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
reinoud-bufcleanup,
post-newlock2-merge,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp,
vmlocking,
thorpej-atomic,
ppcoea-renovation,
mjf-ufs-trans
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +6 -6
lines
Merge newlock2 to head.
Revision 1.69.20.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:00:39 2007 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.69.20.1: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.20.1: +56 -6
lines
Sync with head.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Jan 12 00:55:40 2007 UTC (18 years ago) by ad
Branches: MAIN
CVS tags: newlock2-nbase,
newlock2-base
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3
lines
Define ipl_cookie_t._psl as uint8_t so that it can be packed into a
word with other seldomly written fields.
Revision 1.69.20.1: download - view: text, markup, annotated - select for diffs
Thu Jan 11 22:22:56 2007 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +6 -6
lines
Checkpoint work in progress.
Revision 1.66.18.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:45:21 2006 UTC (18 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.66.18.1: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.18.1: +56 -6
lines
sync with head.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Dec 21 15:55:21 2006 UTC (18 years, 1 month ago) by yamt
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +56 -6
lines
merge yamt-splraiseipl branch.
- finish implementing splraiseipl (and makeiplcookie).
http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
- complete workqueue(9) and fix its ipl problem, which is reported
to cause audio skipping.
- fix netbt (at least compilation problems) for some ports.
- fix PR/33218.
Revision 1.69.22.1: download - view: text, markup, annotated - select for diffs
Mon Sep 18 10:02:21 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +56 -6
lines
implement new api for alpha.
Revision 1.66.18.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:48:01 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +9 -9
lines
sync with head.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:06:46 2005 UTC (19 years, 1 month ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
yamt-pdpolicy,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
peter-altq-base,
peter-altq,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -3
lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:10 2005 UTC (19 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -2
lines
merge ktrace-lwp.
Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:48:21 2005 UTC (19 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +8 -8
lines
Sync with HEAD. Here we go again...
Revision 1.66.20.1: download - view: text, markup, annotated - select for diffs
Wed Nov 2 11:57:54 2005 UTC (19 years, 2 months ago) by yamt
Branches: yamt-vop
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +8 -8
lines
sync with head.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Oct 29 14:38:51 2005 UTC (19 years, 2 months ago) by yamt
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
ktrace-lwp-base
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +8 -8
lines
pull splraiseipl() from newlock branch.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Feb 5 12:16:42 2003 UTC (21 years, 11 months ago) by nakayama
Branches: MAIN
CVS tags: yamt-vop-base2,
yamt-vop-base,
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,
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,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-vop,
yamt-lazymbuf,
ktrace-lwp
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +6 -6
lines
Share alpha/microtime.c with i386 and sparc64 as kern_microtime.c.
(approved by martin)
Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Jan 17 22:11:17 2003 UTC (22 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +9 -8
lines
Merge the nathanw_sa branch.
Revision 1.63.2.4: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:34:01 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.63.2.3: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.2.3: +3 -3
lines
Catch up to -current.
Revision 1.62.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:30:50 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.62.2.1: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.2.1: +3 -3
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Sep 27 15:35:36 2002 UTC (22 years, 3 months ago) by provos
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -3
lines
remove trailing \n in panic(). approved perry.
Revision 1.63.2.3: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:03:09 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.63.2.2: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.2: +7 -7
lines
Curproc->curlwp renaming.
Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".
"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).
Revision 1.63.10.1: download - view: text, markup, annotated - select for diffs
Sun Mar 10 21:15:24 2002 UTC (22 years, 10 months ago) by thorpej
Branches: newlock
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +8 -8
lines
Adjustments for new mutex routines:
* Make all the IPL_* constants meaningful within a single number domain.
* Use new SI_* constants to number the soft interrupt queues, rather than
IPL_SOFT*.
* Add splraiseipl() for use by kern_mutex.c. Usage is e.g.
splraiseipl(IPL_BIO).
Revision 1.63.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 30 23:43:40 2001 UTC (23 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.63.2.1: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.1: +678 -0
lines
First cut at LWP and SA support on the alpha.
Doesn't break in ordinary multiuser mode; LWPs and SAs not yet tested.
Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:10:38 2001 UTC (23 years, 5 months ago) by lukem
Branches: kqueue
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +108 -14
lines
update to -current
Revision 1.63.2.1
Fri Jul 27 00:25:18 2001 UTC (23 years, 6 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.63: +0 -677
lines
file interrupt.c was added on branch nathanw_sa on 2001-08-30 23:43:40 +0000
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Jul 27 00:25:18 2001 UTC (23 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf,
newlock-base,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
ifpoll-base,
gehenna-devsw-base,
gehenna-devsw,
eeh-devprop-base,
eeh-devprop
Branch point for: newlock,
nathanw_sa
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +108 -14
lines
Rework the interrupt code, shaving some cycles off in the process.
Rather than an "iointr" routine that decomposes a vector into an
IRQ, we maintain a vector table directly, hooking up each "iointr"
routine at the correct vector. This also allows us to hook device
interrupts up to specific vectors (c.f. Jensen).
We can shave even more cycles off, here, and I will, but it requires
some changes to the alpha_shared_intr stuff.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Jul 3 13:55:42 2001 UTC (23 years, 6 months ago) by nathanw
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -2
lines
The machine check error code is reliably located at an offset of 0x10
in the logout frame. Print it for all fatal machine checks on all
models.
Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 18:12:55 2001 UTC (23 years, 7 months ago) by nathanw
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +98 -27
lines
Catch up to -current.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun May 27 13:53:24 2001 UTC (23 years, 8 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -3
lines
Assorted microtime fixes (similar to fixes I made yesterday when
porting this code to i386mp branch):
- call microset() early on each cpu so that calls to microtime()
before the first clock interrupt don't return trash. this manifested
itself as garbage runtimes in "ps" for kernel threads.
- avoid races between hardclock updating "time" and microset on a
different cpu reading it by adding a "microset_time" global which is
initialized from "time" on the primary cpu.
- call microset every hz ticks, not every hz+1 (cosmetic)
Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Tue May 15 22:50:23 2001 UTC (23 years, 8 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +23 -4
lines
Pull up revision 1.60 (via patch, requested by ross):
Deal with stray machine checks.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon May 14 19:56:22 2001 UTC (23 years, 8 months ago) by ross
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +23 -4
lines
o Deal with stray machine checks
o Add for alpha a security-sensitive rate-limiting printf(9) wrapper based
on ratecheck(9): void rlprintf(struct timeval *t, const char *fmt, ...);
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Apr 28 06:10:49 2001 UTC (23 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +21 -3
lines
Add a microtime() implementation that interpolates between ticks
using the cycle counter. MP-safeness is achieved by giving each
CPU its own PCC frequency variables, and kicking the non-primary
processors via an IPI once per second.
Based on the sample code from David Mills' "A Kernel Model for
Precision Timekeeping".
Revision 1.40.2.5: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:53:02 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.40.2.4: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.4: +57 -24
lines
Sync with HEAD
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Apr 15 23:26:05 2001 UTC (23 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
In splx(), don't call spl0() unless the ssir != 0.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Apr 15 23:07:34 2001 UTC (23 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +51 -12
lines
Clean up soft interrupt related stuff a bit.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Apr 14 00:45:13 2001 UTC (23 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +22 -28
lines
Change the softintr implementation to be a bit more cache friendly
(though, sigh, slightly more expensive at softintr_schedule() time).
Revision 1.40.2.4: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:22:05 2001 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.40.2.3: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.3: +1 -4
lines
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Jan 15 20:19:50 2001 UTC (24 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -6
lines
Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().
Revision 1.40.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:23:22 2000 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.40.2.2: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.2: +1 -1
lines
Sync with HEAD.
Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 15:59:40 2000 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.40.2.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.1: +3 -19
lines
Sync with HEAD.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Nov 22 08:39:48 2000 UTC (24 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3
lines
Several changes, which get us generally further along with
multiprocessor support:
- Implement MP-safe halt.
- Make the FPU saving code more like Bill's on the i386 MP branch.
XXX This code will no doubt be revisited again.
- Pass the cpu_info and trapframe to IPI handlers, saving some work
in the handlers themselves, and also making it possible for the
"pause" handler to reference register state for DDB.
- Add "machine cpu" to DDB, making it possible to reference other
CPUs registers (and thus get e.g. a traceback) from whichever
CPU is actually running the debugger.
- Garbage-collect "machine halt" and "machine reboot" DDB commands.
They don't have a prayer of working properly in multiprocessor
kernels, and didn't really work all that well in uniprocessor kernels.
Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 19:56:34 2000 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +261 -54
lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Nov 20 19:24:36 2000 UTC (24 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -22
lines
Move IPI processing into a separate function.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Nov 18 19:25:36 2000 UTC (24 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +7 -4
lines
Count individual interprocessor interrupts -- it's good to know where
they all come from.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Sep 4 00:31:59 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +12 -12
lines
Define the biglock perimeter for the Alpha port, and generally clean
up a bunch of the MP code. Still doens't work properly yet, this is
just a snapshot of work-in-progress.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Jul 2 04:40:33 2000 UTC (24 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -51
lines
Kwality control:
* put #includes of opt headers and headers to get protos used by
net/netisr_dispatch.h in net/netisr.h (if !defined(_LOCORE)) (rather than
in netisr_dispatch.h itself, and potentially nowhere, respectively).
* require netisr.h to be included before netisr_dispatch.h.
* minor additional cleanup of both netisr.h and netisr_dispatch.h.
* clean up uses to remove now-unnecessary header file inclusions, and
local prototypes of the fns.
* convert netisr dispatch implementations which didn't use
netisr_dispatch.h (pc532) to use it.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jun 29 09:02:54 2000 UTC (24 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -4
lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 16:58:15 2000 UTC (24 years, 7 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +292 -40
lines
Sync w/ netbsd-1-5-base.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Jun 5 21:47:11 2000 UTC (24 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +17 -12
lines
Switch to the new `evcnt' mechanism for counting interrupts. Maintain
a per-CPU interrupt counter for clock, device, and interprocessor
interrupts.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Jun 4 03:40:03 2000 UTC (24 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +16 -2
lines
Increment an interrupt depth counter in non-clock interrupt cases
so that we can get time spent in interrupt statistics.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Jun 3 20:47:36 2000 UTC (24 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +266 -33
lines
- Clean up clock interrupt code a bit, and provide a CPU_IS_PRIMARY()
macro in the MULTIPROCESSOR case (hardclock() wants it).
- Implement __GENERIC_SOFT_INTERRUPTS, and redefine the legacy
software interrupts in terms of it. Garbage-collect setsoftserial().
Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri May 26 21:19:21 2000 UTC (24 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -4
lines
First sweep at scheduler state cleanup. Collect MI scheduler
state into global and per-CPU scheduler state:
- Global state: sched_qs (run queues), sched_whichqs (bitmap
of non-empty run queues), sched_slpque (sleep queues).
NOTE: These may collectively move into a struct schedstate
at some point in the future.
- Per-CPU state, struct schedstate_percpu: spc_runtime
(time process on this CPU started running), spc_flags
(replaces struct proc's p_schedflags), and
spc_curpriority (usrpri of processes on this CPU).
- Every platform must now supply a struct cpu_info and
a curcpu() macro. Simplify existing cpu_info declarations
where appropriate.
- All references to per-CPU scheduler state now made through
curcpu(). NOTE: this will likely be adjusted in the future
after further changes to struct proc are made.
Tested on i386 and Alpha. Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue May 23 05:12:53 2000 UTC (24 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3
lines
Rename the atomic operations to have generic machine-independent
names, and define __HAVE_ATOMIC_OPERATIONS to indicate their
existence.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Feb 29 21:42:54 2000 UTC (24 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +9 -5
lines
Reset mc_received after we've done a badaddr probe.
Revision 1.40.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:31:20 1999 UTC (25 years, 1 month ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +4 -2
lines
Pull up to last week's -current.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Dec 7 21:35:06 1999 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
chs-ubc2-newbase
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -2
lines
When doing a badaddr check, insert an extra `mb', which is highly magic
on some systems (due to quirky bus adapters).
Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Dec 2 01:09:11 1999 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -2
lines
Move atomic operations into <machine/atomic.h>, and make them in-line
assembly, rather than function calls.
...except alpha_atomic_testset_l(), which will go away completely once
I commit the new <machine/lock.h>.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Aug 10 23:35:43 1999 UTC (25 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: wrstuden-devbsize,
thorpej_scsipi
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -3
lines
Move cpu_info and related info into <machine/cpu.h>, and implement the
other MP API components discussed on tech-smp.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:50:50 1999 UTC (25 years, 10 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame,
chs-ubc2-base,
chs-ubc2
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -13
lines
completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Feb 28 18:14:57 1999 UTC (25 years, 10 months ago) by ross
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3
lines
schedclk() -> schedclock(), for consistency with hardclock(), statclock(), ...
update comments for recent scheduler mods
Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Feb 24 23:35:25 1999 UTC (25 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +6 -7
lines
Fix an uninitialized variable.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Feb 23 03:20:01 1999 UTC (25 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +6 -7
lines
Now that we have the kthread mechanism, massively clean up the way
additional processors are spun up on multiprocessor Alpha systems.
Now, each processor gets its own idle thread (the primary processor
uses proc0). This idle thread is used in switch_exit(), rather than
explicitly referencing proc0.
Also, make `curproc', `fpcurproc', and `curpcb' per-cpu values. This
required some data structure rearrangement; cpu info is now statically
allocated in the BSS, rather than via malloc(), and cpu_softc is gone.
(Modeled somewhat after NetBSD/sparc's multiprocessor info structures.)
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Feb 23 02:56:04 1999 UTC (25 years, 11 months ago) by ross
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +12 -3
lines
Scheduler bug fixes and reorganization
* fix the ancient nice(1) bug, where nice +20 processes incorrectly
steal 10 - 20% of the CPU, (or even more depending on load average)
* provide a new schedclk() mechanism at a new clock at schedhz, so high
platform hz values don't cause nice +0 processes to look like they are
niced
* change the algorithm slightly, and reorganize the code a lot
* fix percent-CPU calculation bugs, and eliminate some no-op code
=== nice bug === Correctly divide the scheduler queues between niced and
compute-bound processes. The current nice weight of two (sort of, see
`algorithm change' below) neatly divides the USRPRI queues in half; this
should have been used to clip p_estcpu, instead of UCHAR_MAX. Besides
being the wrong amount, clipping an unsigned char to UCHAR_MAX is a no-op,
and it was done after decay_cpu() which can only _reduce_ the value. It
has to be kept <= NICE_WEIGHT * PRIO_MAX - PPQ or processes can
scheduler-penalize themselves onto the same queue as nice +20 processes.
(Or even a higher one.)
=== New schedclk() mechansism === Some platforms should be cutting down
stathz before hitting the scheduler, since the scheduler algorithm only
works right in the vicinity of 64 Hz. Rather than prescale hz, then scale
back and forth by 4 every time p_estcpu is touched (each occurance an
abstraction violation), use p_estcpu without scaling and require schedhz
to be generated directly at the right frequency. Use a default stathz (well,
actually, profhz) / 4, so nothing changes unless a platform defines schedhz
and a new clock. Define these for alpha, where hz==1024, and nice was
totally broke.
=== Algorithm change === The nice value used to be added to the
exponentially-decayed scheduler history value p_estcpu, in _addition_ to
be incorporated directly (with greater wieght) into the priority calculation.
At first glance, it appears to be a pointless increase of 1/8 the nice
effect (pri = p_estcpu/4 + nice*2), but it's actually at least 3x that
because it will ramp up linearly but be decayed only exponentially, thus
converging to an additional .75 nice for a loadaverage of one. I killed
this, it makes the behavior hard to control, almost impossible to analyze,
and the effect (~~nothing at for the first second, then somewhat increased
niceness after three seconds or more, depending on load average) pointless.
=== Other bugs === hz -> profhz in the p_pctcpu = f(p_cpticks) calcuation.
Collect scheduler functionality. Try to put each abstraction in just one
place.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Nov 19 02:23:15 1998 UTC (26 years, 2 months ago) by ross
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -13
lines
#include <machine/intrcnt.h>
#include <machine/alpha.h>
g/c some EVCNT_COUNTERS stuff.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Sep 29 19:40:34 1998 UTC (26 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc-base,
chs-ubc
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -2
lines
some temporary debugging printfs in the IPI code.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Sep 29 15:55:47 1998 UTC (26 years, 3 months ago) by drochner
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +11 -3
lines
make compile w/o MULTIPROCESSOR
Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Sep 29 07:02:04 1998 UTC (26 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +17 -5
lines
Don't process CLOCK or DEVICE interrupts if we're not the primary CPU.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Sep 26 00:03:51 1998 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +29 -3
lines
Add basic interprocessor interrupt sending and receiving code. Current
IPI functions: HALT, IMB, TBIA, TBIAP.
XXX HALT is not yet implemented, it's just a stub.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Sep 24 23:28:17 1998 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +24 -9
lines
First-cut at code to spin up secondary processors on a multiprocessor
Alpha system, conditional on MULTIPROCESSOR.
NOTE: This does not yet work completely. The secondary CPU begins the
boot process, but never makes it into the cpu spinup trampoline. This
is merely a snapshot of a work-in-progress.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Jul 13 18:50:36 1998 UTC (26 years, 6 months ago) by ross
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -6
lines
Use the new cpu_mchkinfo().
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Jul 13 00:14:52 1998 UTC (26 years, 6 months ago) by ross
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +8 -8
lines
1. Don't deref zero on early machine checks.
2. Revert last week's non-KNF {} editing.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Jul 8 16:28:25 1998 UTC (26 years, 6 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -10
lines
tentative better fix for allocating the correct number of mchkinfo structs
Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Jul 8 05:25:42 1998 UTC (26 years, 6 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +10 -2
lines
Doh! Jason caught me being really stupid. There isn't necessarily
a linear 0..N mapping out of alpha_cpu_whami - which is what I was
using to index the new cpu machine check array. This is a quick hack
back to just using the first element while I think of a kinder function
that will do the function (per-platform) of whami->VIRTUAL CPU ID, which
if you think about it, is really necessary anyway.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Jul 8 00:42:14 1998 UTC (26 years, 6 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +19 -15
lines
use new mchkinfo structures for expect/recv storage
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Feb 24 07:38:01 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +17 -2
lines
Add support for UVM.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Nov 19 15:35:36 1997 UTC (27 years, 2 months ago) by mjacob
Branches: MAIN
CVS tags: alpha-nwscons-base
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -3
lines
copyright foo
Revision 1.18.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 29 07:19:42 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.18.2.3: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.3: +80 -74
lines
Update marc-pcmcia branch from trunk.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Sep 23 23:15:50 1997 UTC (27 years, 4 months ago) by mjacob
Branches: MAIN
CVS tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3,
marc-pcmcia-base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +80 -74
lines
Redo the platform specific identification and initialization, making
it more explicit where platform specific functions (like machine check
handling) should go.
Revision 1.18.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 16 03:48:02 1997 UTC (27 years, 4 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.18.2.2: preferred, colored
Changes since revision 1.18.2.2: +24 -10
lines
Update marc-pcmcia branch from trunk.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Sep 13 10:01:33 1997 UTC (27 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +24 -10
lines
Don't panic if we receive a Processor Correctable Error or a System
Correctable Error; report them, instead.
XXX Need a platform-specific machine check handler so we can decode the
logout area on such errors.
Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 4 00:52:38 1997 UTC (27 years, 4 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.18.2.1: preferred, colored
Changes since revision 1.18.2.1: +2 -3
lines
Update marc-pcmcia branch from trunk.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Sep 2 13:18:16 1997 UTC (27 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -3
lines
Nuke the idea of <machine/options.h>. It completely defeats the purpose
of fine-grain option dependencies.
Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 1 20:00:12 1997 UTC (27 years, 4 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2
lines
Repair marc-pcmcia branch.
Revision 1.14.2.3: download - view: text, markup, annotated - select for diffs
Tue Jul 22 05:54:35 1997 UTC (27 years, 6 months ago) by cgd
Branches: alpha-nwscons
Diff to: previous 1.14.2.2: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.2: +71 -45
lines
sync nwscons branch with changes in -current as of July 21, 1997
Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 7 05:50:38 1997 UTC (27 years, 7 months ago) by cgd
Branches: alpha-nwscons
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.2.1: +11 -2
lines
sync alpha-nwscons branch with changes in -current
Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 1 04:11:23 1997 UTC (27 years, 7 months ago) by cgd
Branches: alpha-nwscons
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +120 -16
lines
sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Apr 7 23:39:54 1997 UTC (27 years, 9 months ago) by cgd
Branches: MAIN
Branch point for: marc-pcmcia
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -2
lines
by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory. (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Apr 7 06:36:24 1997 UTC (27 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -1
lines
include machine/options.h
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Apr 7 05:19:14 1997 UTC (27 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -1
lines
clean up NetBSD RCS ID strings
Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Mar 12 04:22:30 1997 UTC (27 years, 10 months ago) by cgd
Branches: MAIN
CVS tags: is-newarp-before-merge
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +8 -5
lines
from Matt Jacob: deal with type 5 (passive release?) interrupts. (ignore them
but print out their vector(?) to see if we can ever discern anything useful
from it.) Also, some slight general cleanup.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Nov 13 22:20:54 1996 UTC (28 years, 2 months ago) by cgd
Branches: MAIN
CVS tags: thorpej-setroot,
mrg-vm-swap,
is-newarp-base,
is-newarp
Branch point for: alpha-nwscons
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
update copyright dates
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Nov 13 21:13:07 1996 UTC (28 years, 2 months ago) by cgd
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4
lines
compile cleanly with:
-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Oct 13 19:57:49 1996 UTC (28 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -4
lines
increment cnt.v_intr for I/O device and clock interrupts
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Oct 13 02:59:36 1996 UTC (28 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +12 -12
lines
backout previous kprintf change
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Oct 10 23:50:29 1996 UTC (28 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +12 -12
lines
printf -> kprintf, sprintf -> ksprintf
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jul 14 04:20:40 1996 UTC (28 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +75 -37
lines
(1) Restructure and improve machine check and correctable error
handling based on information in the 2nd Ed. of the Alpha Architecture
Reference Manual.
(2) Clean up interrupt handling slightly.
(3) Clean up badaddr().
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jul 11 05:31:18 1996 UTC (28 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
Instead of treating the trap/syscall/exception frame like a struct
containing a substruct (the hardware frame) and an array of registers,
treat it like one big array of registers, for easier and prettier
access. Update everything to deal with that.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Jul 11 03:53:25 1996 UTC (28 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
update for new alpha_cpu.h definitions, -Wall cleanups, and make
things compile with the new work-in-progress pmap code.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jul 9 00:53:53 1996 UTC (28 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -5
lines
clean and update for new defintions, prototypes, etc.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Apr 23 13:54:32 1996 UTC (28 years, 9 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
Changes from Trevor Mendez <tmendez@bbn.com> to print 0x's before hex
numbers when panic()ing because of a machine check, for sanity.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Nov 23 02:34:08 1995 UTC (29 years, 2 months ago) by cgd
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +27 -4
lines
wholesale update from my NetBSD/Alpha source tree. Includes:
Support for AXPpci CPUs,
Support for AlphaStation 600 CPUs,
new boot block structure, which requires an 'installboot'
program and works a lot like the NetBSD/sparc boot blocks.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Aug 3 00:54:28 1995 UTC (29 years, 5 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3
lines
MB -> wbflush
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jun 28 02:45:02 1995 UTC (29 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +8 -5
lines
sync with my current Alpha sources
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Feb 13 23:06:58 1995 UTC (29 years, 11 months ago) by cgd
Branches: MAIN
preliminary Alpha support. note that NOT ALL OF THE MODIFICATIONS TO
THE REST OF THE KERNEL ARE IN THE TREE YET. Also, some of this is
_incredibly_ hack-ish, etc., but it works.
CVSweb <webmaster@jp.NetBSD.org>