freebsd_amp_hwpstate/sys/kern
Peter Wemm 9a3b3e8bce Clean up the SMP AP bootstrap and eliminate the wretched idle procs.
- We now have enough per-cpu idle context, the real idle loop has been
revived (cpu's halt now with nothing to do).
- Some preliminary support for running some operations outside the
global lock (eg: zeroing "free but not yet zeroed pages") is present
but appears to cause problems.  Off by default.
- the smp_active sysctl now behaves differently. It's merely a 'true/false'
option.  Setting smp_active to zero causes the AP's to halt in the idle
loop and stop scheduling processes.
- bootstrap is a lot safer.  Instead of sharing a statically compiled in
stack a number of times (which has caused lots of problems) and then
abandoning it, we use the idle context to boot the AP's directly.  This
should help >2 cpu support since the bootlock stuff was in doubt.
- print physical apic id in traps.. helps identify private pages getting
out of sync.  (You don't want to know how much hair I tore out with this!)

More cleanup to follow, this is more of a checkpoint than a
'finished' thing.
1997-08-26 18:10:38 +00:00
..
Make.tags.inc
Makefile
imgact_aout.c Removed redundant test against MAXDSIZ (the rlimit test is stronger). 1997-08-26 00:02:24 +00:00
imgact_elf.c
imgact_gzip.c Removed redundant test against MAXDSIZ (the rlimit test is stronger). 1997-08-26 00:02:24 +00:00
imgact_shell.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
inflate.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
init_main.c Clean up the SMP AP bootstrap and eliminate the wretched idle procs. 1997-08-26 18:10:38 +00:00
init_sysent.c Regenerate 1997-08-19 05:57:04 +00:00
init_sysvec.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_acct.c
kern_clock.c #include <machine/limits.h> explicitly in the few places that it is required. 1997-08-21 20:33:42 +00:00
kern_conf.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_descrip.c Removed some stale comments. 1997-08-26 00:09:44 +00:00
kern_exec.c Fixed security hole with sharing the file descriptor table (via rfork) 1997-08-04 05:39:24 +00:00
kern_exit.c Fixed some gratuitous ANSIisms. 1997-08-26 00:15:04 +00:00
kern_fork.c Fixed some gratuitous ANSIisms. 1997-08-26 00:15:04 +00:00
kern_intr.c Added a half dozen casts to eliminate annoying warnings. 1997-08-21 06:39:41 +00:00
kern_ktrace.c
kern_linker.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_lkm.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_lock.c typo in comment. 1997-08-22 07:16:46 +00:00
kern_lockf.c
kern_malloc.c Get rid of the ad-hoc memory allocator for vm_map_entries, in lieu of 1997-08-05 00:02:08 +00:00
kern_mib.c Don't ever allow lowering the securelevel at all. Allowing it does 1997-06-25 07:31:47 +00:00
kern_module.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_ntptime.c
kern_opt.c
kern_physio.c Fixed some gratuitous ANSIisms. 1997-08-26 00:15:04 +00:00
kern_proc.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_prot.c Implement XPG/SYSV-style getpgid()/getsid() syscalls. getpgid() uses the 1997-08-19 06:00:27 +00:00
kern_random.c
kern_resource.c Print more info in the "calcru: negative time" message. 1997-08-26 00:20:11 +00:00
kern_shutdown.c Fixed some formatting and style bugs. 1997-08-26 00:24:25 +00:00
kern_sig.c Finished staticizing. 1997-08-26 00:31:04 +00:00
kern_subr.c
kern_synch.c #include <machine/limits.h> explicitly in the few places that it is required. 1997-08-21 20:33:42 +00:00
kern_sysctl.c
kern_tc.c #include <machine/limits.h> explicitly in the few places that it is required. 1997-08-21 20:33:42 +00:00
kern_threads.c This is an upgrade so that the kernel supports the AIO calls from 1997-07-06 02:40:43 +00:00
kern_time.c Don't return EINVAL for negative timespecs in the nanosleep functions. 1997-08-26 00:40:04 +00:00
kern_timeout.c #include <machine/limits.h> explicitly in the few places that it is required. 1997-08-21 20:33:42 +00:00
kern_xxx.c
link_aout.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
makesyscalls.sh Don't generate unused nested #include of <sys/aio.h>. 1997-06-29 17:39:57 +00:00
md5c.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
subr_autoconf.c
subr_clist.c
subr_disklabel.c Use the correct size for a sector in the search for a label in 1997-07-13 15:53:20 +00:00
subr_diskmbr.c
subr_diskslice.c
subr_dkbad.c
subr_log.c
subr_param.c
subr_prf.c
subr_prof.c
subr_rlist.c
subr_smp.c Clean up the SMP AP bootstrap and eliminate the wretched idle procs. 1997-08-26 18:10:38 +00:00
subr_trap.c Clean up the SMP AP bootstrap and eliminate the wretched idle procs. 1997-08-26 18:10:38 +00:00
subr_xxx.c
sys_generic.c
sys_pipe.c Another attempt at cleaning up the new memory allocator. 1997-08-05 22:24:31 +00:00
sys_process.c
sys_socket.c Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
syscalls.c Regenerate 1997-08-19 05:57:04 +00:00
syscalls.master SVR4/XPG-style getpgid()/getsid() syscalls. 1997-08-19 05:53:48 +00:00
sysv_ipc.c
sysv_msg.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
sysv_sem.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
sysv_shm.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
tty.c
tty_compat.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
tty_conf.c
tty_cons.c Make a function static to quieten gcc 1997-08-08 20:29:47 +00:00
tty_pty.c fix a few problems with pty. warn about how if you only have 1 pty 1997-07-30 10:05:18 +00:00
tty_snoop.c
tty_subr.c
tty_tb.c
tty_tty.c
uipc_domain.c
uipc_mbuf.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
uipc_proto.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
uipc_sockbuf.c Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
uipc_socket.c #include <machine/limits.h> explicitly in the few places that it is required. 1997-08-21 20:33:42 +00:00
uipc_socket2.c Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
uipc_syscalls.c Delete a bit of debugging code that mistakenly crept in, and as a consequence 1997-08-17 19:47:28 +00:00
uipc_usrreq.c Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
vfs_aio.c Clean up some lint associated with the AIO code. 1997-07-17 04:49:43 +00:00
vfs_bio.c Back out some incorrect changes that was worse than the original bug. 1997-08-26 04:36:27 +00:00
vfs_cache.c Uncut&paste cache_lookup(). 1997-08-26 07:32:51 +00:00
vfs_cluster.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
vfs_conf.c
vfs_export.c Restored rev.1.92 which was clobbered by the previous commit. 1997-08-26 11:59:20 +00:00
vfs_extattr.c Merge WebNFS support from NetBSD 1997-07-17 07:17:33 +00:00
vfs_init.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
vfs_lookup.c
vfs_mount.c
vfs_subr.c Restored rev.1.92 which was clobbered by the previous commit. 1997-08-26 11:59:20 +00:00
vfs_syscalls.c Merge WebNFS support from NetBSD 1997-07-17 07:17:33 +00:00
vfs_vnops.c
vnode_if.pl
vnode_if.sh
vnode_if.src Add a new vnode op (cachedlookup) so that filesystems can plug into 1997-08-25 20:28:49 +00:00