| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
with corresponding changes to alpha-2 and alpha-3. (Odd choice of codes,
though.)
|
|
|
|
|
|
|
|
|
|
|
| |
get the same value from ip->i_ump->um_devvp.
This saves a pointer in the memory copies of inodes, which can
easily run into several hundred kilobytes.
The extra indirection is unmeasurable in benchmarks.
Approved by: mckusick
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- deprecate routes#N, as it is hard to keep consistency with
rtprefixN. accept any number of "rtprefix", "rtrefix0",
..., "rtprefix99".
- deprecate "addrs#N", as it is difficult for users to keep
consistency with "addrN".
accept 100 prefix info in maximum - like "addr", "addr0"
... "addr99". WARNS=2 clean on netbsd.
old configuration file should work just fine.
behavior change:
previously, we rejected "addrN" if there's "addr", and we rejected
"addr" if there is "addrN". now we accept both without problem.
- when an advertised prefix configured from the kernel has been added
or invalidated, notice the change in a short delay.
- when invalidating a prefix, do not bark even if there is
inconsistency about prefix lifetimes.
- wrap more specific route info code into ROUTEINFO.
Obtained from: KAME
MFC after: 1 week
|
|
|
|
|
|
|
| |
(While applying this patch from the PR, delete a stray comma.)
PR: 55527
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
|
| |
|
|
|
|
|
|
|
| |
recent Vinum changes. Fixes non-i386 build on vinumio.c.
Accidental oversight of: grog
Fix hopefully not minded by: grog
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 1 week
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 1 week
|
| |
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 1 week
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 1 week
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 1 week
|
| |
|
|
|
|
|
| |
- Use macros for MSR register indexes as well as the bitfields in the
APICBASE MSR.
|
|
|
|
|
| |
MSR's in the original Pentium.
- Add macros describing the bit fields in the APICBASE MSR.
|
|
|
|
|
|
| |
- Add a macro for the logical shift needed to extract an APIC ID from
either from the local APIC ICR Hi register or the APIC ID registers of
the local and IO APICs.
|
|
|
|
| |
- Move the <machine/vm86.h> include up to the other <machine/*> includes.
|
|
|
|
|
| |
just covers the lock prefix to match the existing style in other asm files
in i386.
|
|
|
|
|
| |
- Use macros for PCI config registers instead of magic numbers.
- Small whitespace nits.
|
| |
|
|
|
|
| |
Requested by: bde
|
|
|
|
| |
when we need it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This code dates back to the very first diskless support on FreeBSD,
back when swapon(8) couldn't simply be run on a NFS backed file.
Suggested replacement command sequence on the client:
dd if=/dev/zero of=/swapfile bs=1k count=1 oseek=100000
swapon /swapfile
rm -f /swapfile
For whatever value of 100000 you want.
|
|
|
|
| |
Approved by: demon (mentor)
|
|
|
|
| |
Approved by: marcus (mentor)
|
|
|
|
|
|
| |
Minor code reorganization was required, but the only functional
change was that the first 1024 bytes of output are thrown out
after each reseed, rather than just the initial seed.
|
|
|
|
|
|
| |
at least the Casio FIVA requires this.
Requested by: takawata
|
|
|
|
|
|
|
|
| |
was masked. However KIMURA Yasuhiro-san noticed my mistake and was
kind enough to provide a better patch in PR 55581. I've merged that
into the routine. Hopefully I've not overlooked anything this time.
MFC After: 5 days
|
|
|
|
|
|
|
|
|
|
|
| |
that were on the kernel stack into account. For now we write them
out to the register stack of the process before creating the dump.
This however is not the final solution. The problem is that we may
invalidate the coredump by overwriting vital information due to an
invalid backing store pointer. Instead we need to write the dirty
registers to an unused region of VM which will result in a seperate
segment in the coredump. For now we can at least get to all the
registers from a coredump.
|
|
|
|
|
|
|
| |
and the move to control register to avoid dependency violations when
these functions are used. Note that explicit data and instruction
serialization also need to be in a subsequent instruction group.
This too requires that we have an igrp break here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PT_SETKSTACK. These requests allow the tracing process to access the
dirty registers of the traced process that are on the kernel stack.
Note that there's currently no way to access the rnat register for
those dirty registers that are not (yet) covered by a nat collection
point. The interface for this is still being slept on.
Also note that implied by these requests is the division of work:
The tracing process has to keep track of where registers are spilled
and is responsible to figure out where the NaT bit of the stacked
registers are at any time during the execution of the traced process.
The kernel provides the interfaces but will not abstract the fact
that the register stack can be split. This model does not follow
the approach taken in Linux where PT_PEEK and PT_POKE deals with
this automagically.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
check for permissions, do it for all requests, not the known requests.
Later when we actually service the request we deal with the invalid
requests we previously caught earlier.
This commit changes the behaviour of the ptrace(2) interface for
boundary cases such as an unknown request without proper permissions.
Previously we would return EINVAL. Now we return EBUSY or EPERM.
Platforms need to define __HAVE_PTRACE_MACHDEP when they have MD
requests. This makes the prototype of cpu_ptrace() visible and
introduces a call to this function for all requests greater or
equal to PT_FIRSTMACH.
Silence on: audit
|
|
|
|
| |
the traversal of the PQ_INACTIVE queue.
|
|
|
|
|
|
|
|
|
|
| |
Correctly handle additional disks without BIOS partition tables.
Previously, vinum_scandisk stopped scanning additional disks for
native partitions after any good partition was found. This applies
to all platforms, but was a particular problem on systems without
BIOS partition tables.
Submitted by: harti
|
|
|
|
|
|
|
| |
sane result of EPIPE.
Reported by: nCircle dev team
MFC after: 3 day
|
|
|
|
|
|
| |
afterwards. This fixes the Vinum breakage in -CURRENT.
Breakage explained by: phk
|
| |
|
|
|
|
| |
block to where it is in similar drivers.
|
|
|
|
|
| |
installation to just before we're ready to handle events. Make a loop
more readable (no functional change).
|
|
|
|
|
|
|
|
| |
the hardware mutex if it is held. Re-add calls to Enable/Clear fixed events.
This is not known to have caused problems. Bug symptoms might have included
instability after an aborted suspend attempt or power/sleep buttons not
being enabled.
|
| |
|
|
|
|
| |
this needs to be reimplemented properly.
|
|
|
|
|
|
|
|
|
| |
kobj global method table; also kassert that the table has not overflowed
when defining a new method.
there are indications that the table is being overflowed in certain
situations as we gain more kobj consumers- this will allow us to check
whether kobj is at fault. symptoms would be incorrect methods being called.
|
|
|
|
|
|
|
| |
(otherwise file descriptors could be closed mistakenly)
Obtained from: KAME
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update ffsinfo(8) to use new UFS2 support in the growfs(8) debugging
functions. Largely consists of renaming fields and types to be aware
of the UFS1/UFS2 distinction, relying on libufs(3) to open and sanity
check the device/file/label accessed.
Since libufs(3) now handles label/UFS interactions, remove -L argument.
Note: when submitted, this patch had substantial style changes. I've
attempted to remove the restyling from the patch to separate the
functional and style changes.
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
PR: bin/53517
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Notes. These duplicate information that ideally should live in the
manual pages for individual drivers, and can easily become
out-of-date. (This in fact is already the case.)
Hypertext versions of the hardware notes already contain links to
on-line versions of the manual pages.
The first two drivers to get this treatment are amr(4) and aac(4).
Discussed on: doc@
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for UFS2 to the UFS debugging routines in growfs; required
to update ffsinfo(8) for UFS2. A variety of types and fs variables are
renamed to reflect UFS1/2 structures. Also, the print routines for
inodes are now split into separate UFS1 and UFS2 versions. We now
define dbg_dump_csum_total(), but lose the printing of rotational
information since that's not present in UFS2. In the future, we may
want to re-add this functionality to print it solely for UFS1.
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
PR: bin/53517
|