Age | Commit message (Collapse) | Author |
|
error in several places.
Should fix the "vrele: null vp" panic that henning@ has been seeing lately.
ok tedu@, krw@, deraadt@
|
|
|
|
pages. This will allow R5000-based systems with physical memory fitting in
CKSEG0 to use 16KB pages and direct maps (since only XKPHYS accesses trigger
the XKPHYS coherency errata on these processors).
Tested on IP32, IP30 and IP27 (and loongson too as well).
|
|
my face then...) depends upon PMAP_PREFER_ALIGN to be a power of two, minus one.
On mips64 with 4KB pages, the runtime variable used to compute PMAP_PREFER_ALIGN
had the low PAGE_SHIFT bits zeroed (for no good reason I'd say). Don't bother
zeroing them anymore.
|
|
trampolines) to them; this makes sure there is no risk of pending writes
being lost when we clear the caches. Of course, this would be a bug in the
cache handling routines, but having our vectors correctly set will help
debugging the issue.
Tested on sgi and loongson.
|
|
restrict to 4KB if the kernel is configured with R5000 or RM7000 family support.
Allow the kernel configuration to override this if it knows better (e.g. an
upcoming kernel configuration with support for R5000, but where physical
memory on R5000 systems fits within the first 512MB).
|
|
some ARCBios don't like this.
|
|
is bootp() instead of a disk). Kind of ugly because of the usual `can't seek'
problem causing kernels with symbols to be read from the network twice.
While there, add a 32 bit ECOFF boot block, not hooked to the build yet,
to be used shortly.
|
|
are able to handle the given discipline. At this stage amd64 boot(8) is
limited to RAID 1. This makes life easier for users who are booting from
a softraid crypto volume, but are loading a kernel from hd0a:/bsd.
Tested by jrick@devio.us - thanks!
|
|
structs timespec, timeval, sigaction, and rlimit.
ok otto@ jsing@
|
|
irrelevant with acpi machines
|
|
|
|
|
|
control domain to talk to the sun4v hypervisor.
|
|
|
|
no objection from mcbride@ krw@ markus@ deraadt@
|
|
|
|
different scheme.
ok jsg@
|
|
The
if (min < VMMAP_MIN_ADDR)
min = VMMAP_MIN_ADDR;
code should have moved across when the small_kernel diff moved the
initialization from uvm_map_setup() to uvm_map_setup_md().
Prevents a nasty panic on hppa, sparc64 (and possibly other archs).
kettenis: the diff make some sense to me
|
|
new space. The same cannot be done yet with some other architectures
which share the RAMDISK kernel amongst media types too tightly. I am
investigating the horrific src/distrib cleanups required to fix that.
|
|
subspaces in the CCA_NC uncached memory space. However, being coherent,
there was never a need for bus_dma to use uncached addresses.
This means that, on the only systems where uncached_base was not set to
PHYS_TO_XKPHYS(0, CCA_NC), it was never used.
Remove the variable, and replace PHYS_TO_UNCACHED() with
PHYS_TO_XKPHYS(, CCA_NC). No functional change.
|
|
bus_space_tag on sgi, but rather always provide at least a dummy asm("sync")
flavour. Saves a function pointer test at runtime.
|
|
clear this is not supposed to happen, but unfortunately the description of
the ECDT table in the standard document has a path that starts with two
backslashes so that's what some vendors used.
From Christophe Staiesse.
ok deraadt@
|
|
Has less special allocators on install media (where they aren't required
anyway).
Bonus: makes the vmmap initialization code easier to read.
|
|
- ipip_input() recalculate the IP header checksum if the tos bits
are changed after decapsulation. Otherwise these packets are
dropped later in the stack.
- ip_ecn_egress(): do not drop packets for IPsec if the outter
packet of a Tunnel has the ECN-CE bit set (Congestion Experienced)
and the inner packet does not indicate support ECN.
- remove unused ip6_ecn_ingress(), ip6_ecn_egress() code
ok mikeb@
|
|
|
|
input routine allowing us to bridge two IPv4 networks over an IPv6
link with gif(4).
ok henning, sthen, ok and tests phessler, "lets get this in!" todd
|
|
|
|
an SCM_RIGHTS message may sleep. Bits and pieces from NetBSD with some
simplifications by yours truly.
Fixes the "receive 1" panic seen by many.
ok guenther@, claudio@
|
|
and stops processing any further packets. this is believed to be
a result of the inconsistency of the destination mbuf chain as a
a copy acquired via m_copym2 works fine. so far only one problem
was discovered with the optimized inline version of m_copym2: a
cluster has to be allocated if source chain had one.
unfortunately, this solves the problem only for some packet sizes
so apply a larger hammer and call m_copym2 for now.
the problem was reported and diffs were patiently tested by Joosep
<joosepm-at-gmail-dot-com>, thanks!
deraadt agrees to this temporary measure.
|
|
have any drives on them. Fixes a panic seen on sparc64 machines with that
pesky Acer Labs chipset.
ok deraadt@, krw@, henning@
|
|
|
|
from Scott Benesh of HP via FreeBSD
|
|
|
|
from Scott Benesh of HP via FreeBSD
|
|
ok tedu@
|
|
|
|
use signed integers. Partially fix issues by at least doing math operations
on unsigned integers. From Christophe Staiesse.
|
|
draft-ietf-tcpm-initcwnd. net.inet.tcp.rfc3390 defaults to 2 now which
uses the 10*MSS, setting it back to 1 brings back the old default of 4*MSS.
OK sperreault@, henning@, sthen@, markus@
|
|
|
|
the main thread exiting. c.f. regress/sys/kern/main-thread-exited/
|
|
no oks (it is really a pain to review properly)
extensively tested, I'm confident it'll be stable
'now is the time' from several icb inhabitants
Diff provides:
- ability to specify different allocators for different regions/maps
- a simpler implementation of the current allocator
- currently in compatibility mode: it will generate similar addresses
as the old allocator
|
|
- whilst here, normalise Nd
|
|
ok mlarkin@
|
|
|
|
|
|
Tested on alix and soekris by benno, mpf, shadchin and myself. Loongson
tests by miod. OK mpf, shadchin, kettenis
|
|
While there make sure we do the lookup in the correct routing table.
OK mikeb, henning and phessler
|
|
_SC_MONOTONIC_CLOCK variable.
from Brad
No libc minor crank needed, as no API has been changed, per se (deraadt).
ports bulk testing by landry@
small man rewording from thib@
ok millert@ otto@ deraadt@
|
|
which send 'interleaved' PS2 packets in between absolute ALPS packets.
Dell laptops (E6xxx and E5500 at least) have this kind of touchpad.
ok and some rework mpi@, tested okan@.
|