freebsd-src/sys
John Baldwin 6c56727456 - Change fast interrupts on x86 to push a full interrupt frame and to
return through doreti to handle ast's.  This is necessary for the
  clock interrupts to work properly.
- Change the clock interrupts on the x86 to be fast instead of threaded.
  This is needed because both hardclock() and statclock() need to run in
  the context of the current process, not in a separate thread context.
- Kill the prevproc hack as it is no longer needed.
- We really need Giant when we call psignal(), but we don't want to block
  during the clock interrupt.  Instead, use two p_flag's in the proc struct
  to mark the current process as having a pending SIGVTALRM or a SIGPROF
  and let them be delivered during ast() when hardclock() has finished
  running.
- Remove CLKF_BASEPRI, which was #ifdef'd out on the x86 anyways.  It was
  broken on the x86 if it was turned on since cpl is gone.  It's only use
  was to bogusly run softclock() directly during hardclock() rather than
  scheduling an SWI.
- Remove the COM_LOCK simplelock and replace it with a clock_lock spin
  mutex.  Since the spin mutex already handles disabling/restoring
  interrupts appropriately, this also lets us axe all the *_intr() fu.
- Back out the hacks in the APIC_IO x86 cpu_initclocks() code to use
  temporary fast interrupts for the APIC trial.
- Add two new process flags P_ALRMPEND and P_PROFPEND to mark the pending
  signals in hardclock() that are to be delivered in ast().

Submitted by:	jakeb (making statclock safe in a fast interrupt)
Submitted by:	cp (concept of delaying signals until ast())
2000-10-06 02:20:21 +00:00
..
alpha - Change fast interrupts on x86 to push a full interrupt frame and to 2000-10-06 02:20:21 +00:00
amd64 - Change fast interrupts on x86 to push a full interrupt frame and to 2000-10-06 02:20:21 +00:00
boot Go back to occupying just a single sector, reverting r1.17 - r1.20. 2000-10-02 17:30:22 +00:00
cam - Heavyweight interrupt threads on the alpha for device I/O interrupts. 2000-10-05 23:09:57 +00:00
coda Forward-declare struct mbuf so that this file is less self-insufficient 2000-10-05 11:58:22 +00:00
compat Fix cut'n'paste bogon. 2000-09-18 17:46:01 +00:00
compile
conf Driver for the Intel 82801AA (ICH) SMBus controller and compatibles. 2000-10-06 00:09:46 +00:00
contrib/dev Remove SMP hack. 2000-09-16 18:57:18 +00:00
crypto sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
ddb Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
dev During a verbose boot, call the null device 'null' rather than 'null0' to 2000-10-06 00:46:29 +00:00
fs return correct type for process directory entries, DT_DIR not DT_REG 2000-10-05 23:19:51 +00:00
geom Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
gnu Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
i4b - Remove the inthand2_t type and use the equivalent driver_intr_t type from 2000-09-13 18:33:25 +00:00
i386 - Change fast interrupts on x86 to push a full interrupt frame and to 2000-10-06 02:20:21 +00:00
ia64 Next round of fixes to the ia64 code. This includes simulated clock and 2000-10-04 17:53:03 +00:00
isa - Change fast interrupts on x86 to push a full interrupt frame and to 2000-10-06 02:20:21 +00:00
isofs/cd9660 Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
kern - Change fast interrupts on x86 to push a full interrupt frame and to 2000-10-06 02:20:21 +00:00
libkern Next round of fixes to the ia64 code. This includes simulated clock and 2000-10-04 17:53:03 +00:00
miscfs return correct type for process directory entries, DT_DIR not DT_REG 2000-10-05 23:19:51 +00:00
modules - Include opt_vesa.h in vesa.c so that the VESA_DEBUG option is actually 2000-10-06 01:43:59 +00:00
msdosfs Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
net make sure we have root priv on SIOCSIFPHY*. from thorpej@netbsd 2000-10-04 23:16:29 +00:00
netatalk Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netatm Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netgraph Use m_dup() instead of m_copypacket() for the time being. Not all 2000-09-23 23:22:27 +00:00
netinet Added the missing ntohs() conversion when matching IP packet with 2000-10-03 12:18:11 +00:00
netinet6 make pr_type type meet with struct protosw. sync with kame 2000-10-03 13:39:49 +00:00
netipx Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
netkey make sure we have IV that is random enough. memory allocator on 2000-08-28 08:24:46 +00:00
netnatm Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netncp Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
netns Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
nfs Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
nfsclient Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
nfsserver Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00
ntfs Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
nwfs Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
pc98 Merged from sys/i386/i386/machdep.c revision 1.414. 2000-10-03 13:27:31 +00:00
pccard fix some minor problem in PIOCSRESOURCE ioctl. 2000-10-01 12:36:14 +00:00
pci Add the card ID for the Am79c975 PCnet/FAST III card. This is a variant 2000-10-05 19:40:19 +00:00
posix4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
powerpc - Change fast interrupts on x86 to push a full interrupt frame and to 2000-10-06 02:20:21 +00:00
rpc $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
sys - Change fast interrupts on x86 to push a full interrupt frame and to 2000-10-06 02:20:21 +00:00
tools remove crufty exec stuff, perl is in the base system 2000-06-27 19:09:55 +00:00
ufs o Add call to ufs_extattr_uepm_destroy() in ffs_unmount() so as to clean 2000-10-04 04:44:51 +00:00
vm Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
Makefile I should know better than to touch this without testing a 'make release' 2000-08-24 18:53:09 +00:00