freebsd-nq/sys
Bruce Evans 4e72678dee Fixed panics in apic interrupt handlers if kernel profiling is turned
on.  MCOUNT and FAKE_MCOUNT() may clobber all the call-used registers,
and one FAKE_MCOUNT() was placed so that an active %eax was clobbered.
The fix is to move this FAKE_MCOUNT() earlier where it should have
been anyway.

Fixed 3 layers of bitrot in the comment about why this FAKE_MCOUNT()
was where it was by removing the comment.  (mcount() should be called
as early as possible after entering a new level, but an implementation
detail got in the way until 3 layers of changes ago.)

Kernel profiling still gives wrong results because the new interrupt
code rearranged object files too much.  mcount() depends on trap,
syscall and interrupt handlers being between certain magic labels with
interrupt handlers last, and on nothing else being there.  Splitting
up exception.o moved the magic labels to effectively random places
relative to what they are supposed to delimit.  This mainly broke the
call graph; the flat profile is still usable.
2003-12-02 15:02:12 +00:00
..
alpha - Set mp_maxid in a way that is consistent with every other arch. It is 2003-11-30 22:08:24 +00:00
amd64 - Make mp_maxid reflect the same meaning as it does on other architectures. 2003-11-30 22:20:40 +00:00
arm
boot With the beastie menu a problem was introduced in which selecting a 2003-11-21 19:01:02 +00:00
cam SS_FATAL|ENXIO rather than SS_RDEF for illegal track mode. 2003-12-01 10:13:00 +00:00
coda
compat Do not call VOP_GETATTR in getdents function. It does not serve any 2003-11-19 04:12:32 +00:00
conf Major 186 for sx driver (for Specialix I/O8+) by frank@exit.com 2003-12-02 04:40:33 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r123041, 2003-11-29 01:11:48 +00:00
crypto
ddb
dev Fixed some minor indentation bugs. 2003-12-02 12:47:08 +00:00
fs Fix vnode locking in fdesc_setattr. Lock vnode before invoking 2003-11-19 04:14:42 +00:00
geom Call class->init() an class->fini() while the class is hooked up, 2003-11-18 18:17:39 +00:00
gnu
i4b
i386 Fixed panics in apic interrupt handlers if kernel profiling is turned 2003-12-02 15:02:12 +00:00
ia64 - Split cpu_mp_probe() into two parts. cpu_mp_setmaxid() is still called 2003-11-21 22:23:26 +00:00
isa
isofs/cd9660
kern Fixed a bug in sendfile(2) where the sent data would be corrupted due 2003-12-01 22:12:50 +00:00
libkern
modules * Add acpi_pcpu_get_id(idx, *acpi_id, *cpu_id) which fetches the 2003-11-26 19:01:33 +00:00
net Remove the call to M_ASSERTVALID from BPF_MTAP; some mbufs passed to 2003-11-28 18:48:59 +00:00
net80211
netatalk Eliminate a duplicate free when deleting an interface address. This 2003-11-28 04:19:41 +00:00
netatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netgraph Lower the maximum ACK timeout for GRE packets from 10 to 1 second. 2003-11-18 20:43:23 +00:00
netinet Include opt_ipsec.h so IPSEC/FAST_IPSEC is defined and the appropriate 2003-12-02 00:23:45 +00:00
netinet6 Split the "inp" mutex class into separate classes for each of divert, 2003-11-26 01:40:44 +00:00
netipsec Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netipx Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netkey missing splx. 2003-11-28 14:34:42 +00:00
netnatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netncp
netsmb
nfs University of Michigan's Citi NFSv4 kernel client code. 2003-11-14 20:54:10 +00:00
nfs4client Use function pointers to remove the depenancy cross dependancy on nfs4 2003-11-22 02:21:49 +00:00
nfsclient Use function pointers to remove the depenancy cross dependancy on nfs4 2003-11-22 02:21:49 +00:00
nfsserver Update a comment about needing to fix NFS server credential use 2003-11-17 00:56:53 +00:00
opencrypto eliminate an unnecessary 8Kbyte bzero that was being done for each 2003-11-19 22:42:34 +00:00
pc98 Merged from sys/dev/sio/sio.c revisions 1.415 and 1.416. 2003-11-17 23:13:08 +00:00
pccard
pci Fixed some minor indentation bugs. 2003-12-02 12:47:08 +00:00
posix4
powerpc - Split cpu_mp_probe() into two parts. cpu_mp_setmaxid() is still called 2003-11-21 22:23:26 +00:00
rpc Remove unneeded file. (could be repo removed as nothing ever referenced it.) 2003-11-20 04:42:50 +00:00
security Use UMA zone allocator for Biba and MLS labels rather than MALLOC(9). 2003-11-18 04:11:52 +00:00
sparc64 - Split cpu_mp_probe() into two parts. cpu_mp_setmaxid() is still called 2003-11-21 22:23:26 +00:00
sys Correct a problem where ipfw-generated packets were being returned 2003-11-24 03:57:03 +00:00
tools
ufs Write the UFS2 superblock with a 'BAD' magic number at the beginning 2003-11-16 07:08:27 +00:00
vm - Unbreak UP. mp_maxid is not defined on uni-processor machines, although 2003-11-30 22:18:14 +00:00
Makefile