| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
reclaim pv_entries. PG_UNMANAGED pages dont have pv_entries to reclaim.
Reported by: David Xu <davidx@viasoft.com.cn>
|
| |
|
|
|
|
|
|
| |
a temporary fix so that we can compile kernels. I waited 30 minutes
for a response from the person who would likely know, but any longer
is too long to wait with breakage at ToT.
|
| |
|
|
|
|
|
|
| |
(allocating pv entries w/ zalloci) when called in a loop due to
an madvise(). It is possible to completely exhaust the free page list and
cause a system panic when an expected allocation fails.
|
| |
|
|
|
|
|
|
|
|
|
| |
by the profiler on a running system. This is not done sparsely, as
memory is cheaper than processor speed and each gprof mcount() and
mexitcount() operation is already very expensive.
Obtained from: NAI Labs CBOSS project
Funded by: DARPA
|
| |
|
|
|
|
|
|
| |
Add comment about lnc.
Remove probe order comment from isa_compat.c. That appears to no longer
be the case.
|
|
|
|
|
|
|
| |
x86 SMP kernels actually boot again to single user mode.
Pointy hat to: jhb
Noticed by: jlemon
|
|
|
|
|
|
|
| |
is npx.c's job and setting it here breaks the edit-time option of not
setting it in npx.c. (It is not set in the right places for the SMP
case, but always setting it here is harmless because there isn't even
an edit-time option to not set it.)
|
|
|
|
|
|
|
|
| |
- Remove unused sw1a label. A breakpoint can be set in choosethread() for
the same effect.
Reviewed by: bde
Submitted by: bde (partly)
|
|
|
|
|
|
|
|
| |
linux_emul_path anyway. Linux_emul_find() has interesting bugs in its
prefix handling (which luckily are not currently exploitable); this
commit is preliminary to an attempt at cleaning it up.
Approved by: marcel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This emulates APM device node interface APIs (mainly ioctl) and
provides APM services for the applications. The goal is to support
most of APM applications without any changes.
Implemented ioctls in this commit are:
- APMIO_SUSPEND (mapped ACPI S3 as default but changable by sysctl)
- APMIO_STANDBY (mapped ACPI S1 as default but changable by sysctl)
- APMIO_GETINFO and APMIO_GETINFO_OLD
- APMIO_GETPWSTATUS
With above, many APM applications which get batteries, ac-line
info. and transition the system into suspend/standby mode (such as
wmapm, xbatt) should work with ACPI enabled kernel (if ACPI works well :-)
Reviewed by: arch@, audit@ and some guys
|
|
|
|
|
|
|
|
|
| |
userland. The per thread ucred reference is immutable and thus needs no
locks to be read. However, until all the proc locking associated with
writes to p_ucred are completed, it is still not safe to use the per-thread
reference.
Tested on: x86 (SMP), alpha, sparc64
|
|
|
|
| |
Submitted by: revamped kernincludes.sh
|
|
|
|
|
|
| |
new NFSCLIENT and NFSSERVER options.
Submitted by: revamped kernincludes.sh
|
|
|
|
|
|
| |
CROSSJUMPTARGET() for it.
Submitted by: bde
|
|
|
|
|
|
|
| |
%ecx isn't a call safe register and thus we don't have to save and restore
it.
Submitted by: bde
|
|
|
|
|
|
|
|
| |
- Fix a bug in the LDT changes where the wrong argument was passed to
set_user_ldt() from cpu_switch(). The bug was passing a pointer to the
ldt, but set_user_ldt() takes a pointer to the process' mdproc structure.
Submitted by: bde
|
|
|
|
| |
Submitted by: bde (mostly)
|
|
|
|
|
|
|
|
|
|
|
| |
rev.1.974.
Fixed previous misformatting of options line for ACCEPT_FILTER_DATA,
ACCEPT_FILTER_HTTP, ACPI_DEBUG, COMPAT_SVR4, DEBUG_SVR4, ED_NO_MIIBUS,
IFS, PCFCLOCK_MAX_RETRIES, PCFCLOCK_VERBOSE, PECOFF_DEBUG, PECOFF_SUPPORT,
PPC_PROBE_CHIPSET, RANDOM_IP_ID, REGRESSION, SC_CUT_SEPCHARS,
SC_CUT_SPACES2TABS, SES_ENABLE_PASSTHROUGH, UFS_DIRHASH, UFS_EXTATTR
and UFS_EXTATTR_AUTOSTART.
|
|
|
|
|
|
|
|
|
|
| |
defeats the point of LINT to comment out positive options.
Fixed style bugs in rev.1.973:
- disordering of PCI options list.
- missing space after "options".
- line longer than 80 characters.
- bogus quoting of "BIOS".
|
| |
|
|
|
|
| |
Submitted by: Andrew R. Reiter arr@watson.org
|
|
|
|
| |
via sysctl under "hw".
|
|
|
|
|
|
|
| |
struct mdproc.
Submitted by: Andrew R. Reiter <arr@watson.org>
Silence on: -current
|
|
|
|
|
|
|
|
| |
- Set the type and trapframe number for the F00F workaround since type
can be used later by sv_transtrap(). Debuggers might also want to look
at the type in the trapframe.
Submitted by: bde (mostly)
|
|
|
|
|
|
|
| |
changing the code in the trapframe and looping back to the top of trap
again.
Tested by: cjc
|
| |
|
|
|
|
| |
Pointed out by: bde
|
| |
|
|
|
|
|
|
| |
proc_* in the process; procfs_machdep.c is no longer needed.
Run-tested on i386, build-tested on Alpha, untested on other platforms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
{set,fill}_{,fp,db}regs() fixup:
- Add dummy {set,fill}_dbregs() on architectures that don't have them.
- KSEfy the powerpc versions (struct proc -> struct thread).
- Some architectures had the prototypes in md_var.h, some in reg.h, and
some in both; for consistency, move them to reg.h on all platforms.
These functions aren't really MD (the implementation is MD, but the interface
is MI), so they should move to an MI header, but I haven't figured out which
one yet.
Run-tested on i386, build-tested on Alpha, untested on other platforms.
|
|
|
|
|
|
|
|
| |
card.
Submitted by: Steve Looman
Reviewed by: hm
MFC after: 1 month
|
|
|
|
|
|
|
|
|
| |
- sys/pc98/pc98/npx.c 1.87 (2001/09/15; author: imp)
I don't think pc98 has acpi at all, so ifdef the acpi attachments for
now.
This completes merging sys/pc98/pc98/npx.c into sys/i386/isa/npx.c so
that the former can be removed.
|
|
|
|
|
|
| |
and the irq are different for pc98, and are not very well handled (we
use a historical mess of hard-coded values, values from header files
and values from hints).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 1.58 (2000/09/01; author: kato)
Fixed FPU_ERROR_BROKEN code. It had old-isa code.
- 1.33 (1998/03/09; author: kato)
Make FPU_ERROR_BROKEN a new-style option.
- 1.7 (1996/10/09; author: asami)
Make sure FPU is recognized for non-Intel CPUs.
The log for rev.1.7 should have said something like:
Added FPU_ERROR_BROKEN option. This forces a successful probe for
exception 16, so that hardware with a broken FPU error signal can sort
of work.
|
| |
|
|
|
|
| |
on would have built-in FP support.
|
| |
|
|
|
|
| |
Reviewed by: ru
|
|
|
|
| |
Bad fingers, no cookie.
|
|
|
|
| |
been sitting neglected in my tree.
|
| |
|
| |
|
| |
|
|
|
|
| |
MFC after: 2 months
|
|
|
|
|
|
|
| |
the existence of the __gnuc_va_list type[*] because our compiler is GCC.
[*] __gnuc_va_list is defined in the GCC ginclude/stdarg.h replacement
headerwhich we don't use.
|
| |
|