| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reviewed by: alfred
|
|
|
|
|
|
|
|
| |
was meant to take.
Submitted by: luigi
Approved by: luigi
MFC after: 3 days
|
|
|
|
| |
Submitted by: mux
|
|
|
|
|
|
|
|
| |
an int errorcode instead of void in preperation for merging cloning of
the loopback device.
Submitted by: mux
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
| |
and again in vm_page.c and vm_pageq.c.
o Delete unusused prototypes. (Mainly a result of the earlier renaming
of various functions from vm_page_*() to vm_pageq_*().)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes other power-management system (APM for now) to be able to
generate power profile change events (ie. AC-line status changes), and
other kernel components, not only the ACPI components, can be notified
the events.
- move subroutines in acpi_powerprofile.c (removed) to kern/subr_power.c
- call power_profile_set_state() also from APM driver when AC-line
status changes
- add call-back function for Crusoe LongRun controlling on power
profile changes for a example
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on the loader to do it. Improve smp startup code to be less racy and to
defer certain things until the right time. This almost boots single user
on my dual ultra 60, it is still very fragile:
SMP: AP CPU #1 Launched!
Enter full pathname of shell or RETURN for /bin/sh:
# ls
Debugger("trapsig")
Stopped at Debugger+0x1c: ta %xcc, 1
db> heh
No such command
db>
|
|
|
|
| |
of the metadata passed by the loader.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with pmaps. When the context numbers wrap around we flush all user mappings
from the tlb. This makes use of the array indexed by cpuid to allow a pmap
to have a different context number on a different cpu. If the context numbers
are then divided evenly among cpus such that none are shared, we can avoid
sending tlb shootdown ipis in an smp system for non-shared pmaps. This also
removes a limit of 8192 processes (pmaps) that could be active at any given
time due to running out of tlb contexts.
Inspired by: the brown book
Crucial bugfix from: tmm
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
clobbered by the child. This is more complicated than usual because the
window that could get clobbered is pushed in kernel mode, so a lot of
registers would have to be saved in other registers in userland and we
don't have enough. What we do have is space in the pcb to temporarily
store user windows that were spilled in kernel mode, but could not be
immediately stored to the user stack. So we copy in the parent's topmost
window and save it in the pcb, and arrange for it to be copied back out
when the child is done frobbing the stack.
Reviewed by: tmm
|
|
|
|
| |
Submitted by: David Yeske <dyeske@yahoo.com>
|
|
|
|
|
|
|
| |
Ericsson Wireless Lan
Simple Tech Spectrum 24 Alt
Socket LP WLAN CF
Symbol LA4100
|
|
|
|
|
|
| |
<t.ichinoseki@nifty.com>.
PR's: kern/35484, kern/35230.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
PAGE_SIZE / MCLBYTES == 1 crash. Fix them by changing the
appropriate "allocate new page and bucket" code in mb_alloc to use
the macro for properly grabbing an allocated object from a bucket,
the one that checks whether the bucket is empty.
This should allow ken to continue testing zero-copy stuff on -CURRENT.
Noticed and provided debug info: ken
|
| |
|
|
|
|
|
|
|
| |
Remove unneeded includes.
Deal with unused function arguments.
Resolve a boatload of signed/unsigned imcompatabilities.
Etc.
|
|
|
|
|
|
|
| |
* Move the section which manipulates ia64_pal_base to after cninit() so
that we don't risk printing anything before we have a console.
* Don't call ia64_probe_sapics() for a SKI build. This should really
be dependant on ACPICA being present or something.
|
|
|
|
| |
arrays total size depending on width of the array.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add code to properly detach/attach disks that are part of a RAID.
Mark a disk that is attached on an ATA channel belonging to a
RAID as a spare disk that can be used for rebuilding failed RAID1's.
Add support for rebuilding failed RAID1's.
Several fixes to the detach/attach code.
For replacing a disk in a failed RAID1 do the following:
Find the controller channel# of the failed disk.
Exec 'atacontrol detach <channel#>' to free the disk from the system.
Replace the failed disk with a new one of at least the same size.
If your have your disks in drawers/enclosures this can be done with
the system still running.
Exec 'atacontrol attach <channel#>' to add the disk to the system and
mark it as a valid spare for rebuild.
Exec 'atacontrol rebuild <array#>'
The system will rebuild the array on the fly, the array can still
be used during this, although with slower performance.
Please let me know of any problems with this!
Sponsored by: Advanis Inc.
MFC after: 2 weeks
|
| |
|
|
|
|
| |
controller.
|
|
|
|
|
|
| |
fill out netc_anon (a `struct ucred'), and add an XXX around the
entire operation since it isn't clear whether it's doing the right
thing with things like cr_uidinfo and cr_prison.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
| |
<sys/systm.h> is included instead of adding to it).
Approved by: previous committer
|
| |
|
|
|
|
|
| |
Submitted by: Thomas Skibo <skibo@pacbell.net>
MFC after: 3 days
|
| |
|
| |
|
| |
|
|
|
|
| |
assyms for more ktr trace classes.
|
|
|
|
| |
rather loud.
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 1 week
|
|
|
|
|
|
|
| |
even if we fail to send pfkey message, remove the old sa.
Obtained from: KAME
MFC after: 1 week
|
| |
|
|
|
|
|
| |
Forgetten by: jake
Submitted by: tmm
|
| |
|
|
|
|
|
| |
It became a Perl script in rev 1.20. This removes one more dependence
on perl for the kernel build.
|
|
|
|
|
|
|
| |
following it. This should have gone in the previous commit, but
misviewed Bruce's patch.
Requested by: bde
|
|
|
|
|
|
| |
should not be. (Comments only)
Inspired by: bde
|
|
|
|
| |
smaller versions of the byteswap routines were obtained from NetBSD
|
|
|
|
| |
in rev 1.187 of sys/dev/pci/pci.c
|
|
|
|
| |
Requested by: bde
|