| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Speed up the endpoint descriptor search
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
First patch in a series of memory save patches.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
| |
Properly name usb2_uref_location() so that it is not confused with
usb2_unref_location() .
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Remove unused field in "struct usb2_pipe".
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Get rid of the last CALLOUT_RETURNUNLOCKED reference.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Remove redundant locking.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Fix more corner cases around reception of SETUP packets.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Fix a corner case around stalling SETUP packets in device side mode.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Fix interrupt register setting on the atmegadci controller.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Reapply r190173 with compilation fixed on 64bit arches.
Submitted by: Hans Petter Selasky
|
|
|
|
| |
FlexeLint down.
|
|
|
|
| |
makes safe for us.
|
| |
|
|
|
|
| |
Make lots of stuff static.
|
|
|
|
|
| |
-document fragment handling sysctls
-mention some caveats about fragments handling (and to deal with it)
|
| |
|
| |
|
| |
|
|
|
|
| |
assembler warning messages.
|
|
|
|
|
|
|
| |
from doing so with no_rip_mcast in /etc/gateways.
This allows routed(8) to work with the way ports/security/openvpn
employs the tun(4) interface.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Move the new field (brand_note) to the end of the Brandinfo structure.
2) Add a new flag BI_BRAND_NOTE that indicates that the brand_note pointer
is valid.
3) Use the brand_note field if the flag BI_BRAND_NOTE is set and as old
modules won't have the flag set, so the new field brand_note would be
ignored.
Suggested by: jhb
Reviewed by: jhb
Approved by: kib (mentor)
MFC after: 6 days
|
|
|
|
|
|
|
| |
ar had been moved from cross tools to bootstrap tools when bsd ar was
introduced.
Submitted by: ru@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
but I see no benefit from it today.
VM_PROT_READ_IS_EXEC was only intended for use on processors that do not
distinguish between read and execute permission. On an mmap(2) or
mprotect(2), it automatically added execute permission if the caller
specified permissions included read permission. The hope was that this
would reduce the number of vm map entries needed to implement an address
space because there would be fewer neighboring vm map entries that differed
only in the presence or absence of VM_PROT_EXECUTE. (See vm/vm_mmap.c
revision 1.56.)
Today, I don't see any real applications that benefit from
VM_PROT_READ_IS_EXEC. In any case, vm map entries are now organized
as a self-adjusting binary search tree instead of an ordered list. So,
the need for coalescing vm map entries is not as great as it once was.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
being switched out may hold a reservation. The stwcx. will
clear the reservation. This is architecturally recommended.
The scenario this addresses is as follows:
1. Thread 1 performs a lwarx and as such holds a reservation.
2. Thread 1 gets switched out (before doing the matching
stwcx.) and thread 2 is switched in.
3. Thread 2 performs a stwcx. to the same reservation granule.
This will succeed because the processor has the reservation
even though thread 2 didn't do the lwarx.
Note that on some processors the address given the stwcx. is
not checked. On these processors the mere condition of having
a reservation would cause the stwcx. to succeed, irrespective
of whether the addresses are the same. The dummy stwcx. is
especially important for those processors.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Both raw physical memory dumps and virtual minidumps are
supported. The default being minidumps.
Obtained from: Juniper Networks
|
|
|
|
|
|
|
| |
value. This bug went un-noticed for so long because EPERM == 1
MFC after: 1 week
Spotted by: sson, rwatson
|
|
|
|
|
| |
use a larger buffer for getpwuid_r/getgrgid_r.
This needs to be dynamically sized.
|
|
|
|
|
|
|
| |
This affects the built-ins eval, fc, and trap and also the string passed to sh
with the -c option.
Submitted by: Jilles Tjoelker
|
|
|
|
| |
used and needs to be revisited.
|
|
|
|
|
|
|
| |
ATA system as an optional atamacio device.
PR: powerpc/133161
Submitted by: Bruce Cran
|
|
|
|
|
|
|
|
|
| |
- Fix style for A3N and for a comment
Submitted by: Akira Funahashi <funa@funa.org>
Tested by: Marcin Nowak <marcin.nowak@simplusnet.pl>,
Diego Sardina <diego.sardina@gmx.com>
PR: kern/128634
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't exit with a zero status code when no jails are configured
on a system.
- Style: simplify some code constructs.
- If a single jail cannot be found, let the caller print a nicer
diagnostic message.
Reviewed by: bz
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
| |
in the case where a single mbuf is allocated due to
m_getcl() returning NULL, we already call MH_ALIGN,
so do not increment m->m_data in this case.
Found during MLDv2 port.
|
|
|
|
| |
Found during MLDv2 port.
|
|
|
|
|
|
|
|
| |
The later may need blocks from the underlying device that belongs
to normal files, that should not be locked while snap lock is held.
Reported and tested by: pho
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- PR-SCTP had major issues when skipping through a multi-part message.
o Did not look at socket buffer.
o Did not properly handle the reassmebly queue.
o The MARKED segments could interfere and un-skip a chunk causing
a problem with the proper FWD-TSN.
o No FR of FWD-TSN's was being done.
- NR-Sack code was basically disabled. It needed fixes that
never got into the real code.
- CMT code had issues when the two paths were NOT the same b/w. We
found a few small bugs, but also the critcal one here was not
dividing the rwnd amongst the paths.
Obtained from: Michael Tuexen and myself at the IETF hack-fest ;-)
|
|
|
|
|
|
| |
chipsets.
Reviewed by: sam
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on a generic dumper that creates an ELF core file and
uses PMAP functions to scan and iterate over memory
chunks, as well as handle memory mappings used during
dumping.
the PMAP layer can choose to return physical memory
chunks or virtual memory chunks. For minidumps, the
chunks should be virtual.
The default MMU I/F implementation for the scan_md()
method returns NULL. Thus, when a PMAP implementation
does not implement the required methods, an empty
core file is created. Here, empty means having an ELF
header only.
Obtained from: Juniper Networks
|
|
|
|
|
|
|
|
| |
the ATA status register with a 4-byte read request. This updates it, and
subsequent 1-byte reads will return the correct result.
This commit adds a hack to do this, which is currently ifdef'd powerpc,
although Linux and Darwin do this unconditionally on all platforms.
|
|
|
|
|
|
|
|
|
|
| |
provided, for example, on the PowerPC 970 (G5), as well as on related CPUs
like the POWER3 and POWER4.
This also adds support for various built-in hardware found on Apple G5
hardware (e.g. the IBM CPC925 northbridge).
Reviewed by: grehan
|
|
|
|
|
|
| |
PR: 132546
Submitted by: pluknet <pluknet@gmail.com>
Reviewed by: alc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(1) phttpget is attempting to download enough files that it can't send
all the requests at once, and
(2) the remote server forcibly closes the connection, resulting in RST
packets being sent,
phttpget will receive a SIGPIPE and terminate without downloading all
of the files.
This is probably responsible for a number of hard-to-reproduce errors
with portsnap and freebsd-update.
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
| |
provider tasting. This is needed for disk attachments that happen after threads
are running in the boot process.
Tested by: rnoland
|
|
|
|
| |
in situations where sleeping isnt allowed.
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
| |
there is no reason to mess with the chip.
MFC after: 3 days
|