| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
old or previous value instead of void. This is not as is documented
in atomic(9), but is API (and ABI) compatible and simply makes sense.
This feature will primarily be used for atomic PTE updates in PMAP/ng.
|
|
|
|
|
|
|
|
| |
o s/u_int/uint/g
o s/#define<sp>/#define<tab>/g
o indent macro definitions
o Improve vertical spacing
o Globally align line continuation character
|
|
|
|
|
|
| |
kernel compile option.
Approved by: re (scottl)
|
|
|
|
| |
known problem with mysql on libthr: not being able to kill mysqld.
|
|
|
|
| |
Refuse VCHR not VREG.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
specified mutex is invalid. In spec parlance 'MAY FAIL' means it's
up to the implementor. So, remove the check for NULL pointers for two
reasons:
1. A mutex may be invalid without necessarily being NULL.
2. If the pointer to the mutex is NULL core-dumping in the
vicinity of the problem is much much much better than failing
in some other part of the code (especially when the application
doesn't check the return value of the function that you oh so
helpfully set to EINVAL).
|
|
|
|
|
| |
an ACPI _ADR value and use that rather than inlining the same shifts and
masks everywhere.
|
| |
|
|
|
|
|
|
|
| |
full KSE support still have -lpthread as an alias for -lc_r. The only
thing that's different is the name of the knob that turns it off.
Pointed out by: ru@
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
POSIX threads libraries are not available. Add crypto support if
the crypto libraries are available. Build dnssec-{keygen,signzone}
if crypto is available.
Submitted by: (in part) dougb@
|
|
|
|
|
|
|
|
| |
was seen when configuring addresses on interfaces using ifconfig. This
patch has been verified to work with over eight thousand addresses
assigned to an interface.
LOR id: 031
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
panic on hub detach bugs that have been reported. This work around
detaches the device before deleting it. This changes the detach order
from in-order to pre-order. This avoids uhub's deleting the children
after its subdevs has been deleted.
This is only a workaround. This leads to a strange condition in the
device tree where attached devices are children of detached ones. I
really don't know what that's supposed to mean, but does violate my
sense of POLA. Fortunately, the violation is short lived, which is
why I'm going ahead and committing the work around.
# We really need to consider life w/o the multiple nested layers of
# compatibility macros. They make finding bugs like this *MUCH*
# harder.
Patch by: iadowse
MT5 before: next_release(5.3-BETA5) (unless someting better comes along)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
multiprocessors. Specifically, the error is conditioning the call to
pmap_invalidate_page() on whether the pmap is active on the current CPU.
This call must be unconditional. Regardless of whether the pmap is active
on the CPU performing _pmap_unwire_pte_hold(), it could be active on another
CPU. For example, a call to pmap_remove_all() by the page daemon could
result in a call to _pmap_unwire_pte_hold() with the pmap inactive on the
current CPU and active on another CPU. In such circumstances, failing to
call pmap_invalidate_page() results in a stale TLB entry on the other CPU
that still maps the now deallocated page table page. What happens next is
typically a mysterious panic in pmap_enter() by the other CPU, either
"pmap_enter: attempted pmap_enter on 4MB page" or "pmap_enter: pte vanished,
va: 0x%lx". Both occur because the former page table page has been recycled
and allocated to a new purpose. Consequently, it no longer contains zeroes.
See also Peter's i386/i386/pmap.c revision 1.448 and the related e-mail
thread last year.
Many thanks to the engineers at Sandvine for providing clear and concise
information until all of the pieces of the puzzle fell into place and
for testing an earlier patch.
MT5 Candidate
|
|
|
|
|
|
|
| |
Better to kill all other threads than to panic the system if 2 threads call
execve() at the same time. A better fix will be committed later.
Note that this only affects the case where the execve fails.
|
| |
|
|
|
|
| |
that I can see as to why it shouldn't work.
|
|
|
|
| |
config changes.
|
|
|
|
| |
<space><tab> is for the options line)
|
|
|
|
|
|
| |
correct to change the cast from unsigned int to uint32_t.
Pointed out by: luigi
|
|
|
|
|
|
|
|
|
|
| |
libpthread is provided by src/lib/libc_r.
Also, removed lib/bind from _generic_libs, "lib" will suffice.
Also, removed redundant lib/bind dependency on lib/libpthread
(as lib/bind is not in the _prebuild_libs, it's not needed).
Prodded by: trhodes@ reporting that des@ is on the flight
|
|
|
|
|
|
|
| |
reasonable chance that the eceve() is going to succeeed. I.e.
wait until we've done the permission checks etc.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Centralize time comparison.
- Check clock resolution to make sure it has enough granularity to
implement the desired wait interval.
- Keep track of how many times the timing loop has to spin waiting
for the next send time; report statistics.
- Add commented out warning about deadlines being missed when
spinning.
- Improve statistics reporting generally to provide a more useful
summary of sender condition after a run.
|
|
|
|
|
|
| |
Submitted by: (in part) dougb@, trhodes@
Reviewed by: dougb@, trhodes@, re@
MFC after: 5 days
|
|
|
|
|
|
|
| |
but that function has been removed. This avoids a potential unnecessary
fan switch on boot. Also remove some commented out code.
MFC after: 3 days
|
| |
|
|
|
|
| |
may help with double panics.
|
| |
|
|
|
|
|
| |
PR: docs/70856
Submitted by: Rostislav Krasny <rosti_bsd@yahoo.com>
|
|
|
|
|
| |
still visible, they can still be seen, but they cannot be opened.
Use DEVFS for that.
|
| |
|
|
|
|
| |
Noticed by: ru
|
|
|
|
|
|
|
|
| |
device to the list. This prevents crashes on /0 errors in 'lsdev'
et al.
Reviewed-by: jhb@
MT5 after: RE approval
|
|
|
|
|
| |
of the buffer overflowing before netreceive can be scheduled to read
the packets from the socket.
|
|
|
|
|
|
|
|
| |
- First part of long month names should use genitive.
- Use more proper shortcuts, leaving the first 3 letters is not always
correct.
Submitted by: Bodek <bodek@blurp.org>
|
|
|
|
| |
MFC after: 3 days
|
| |
|
|
|
|
|
| |
Submitted by: Atte Peltomaki <koston@iki.fi>
MFC after: 3 days
|
|
|
|
|
| |
Submitted by: Rostislav Krasny rosti_bsd at yahoo dot com
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a stack trace from ddb, the output will pause with a '--More--' prompt
every 18 lines. If you hit Enter, it will print another line and prompt
again. If you hit space it will output another page and then prompt.
If you hit 'q' or 'x' it will abort the rest of the stack trace.
- Fix the sparc64 userland stack trace to honor the total count of lines
to print. This is useful if your trace happens to walk back onto
0xdeadc0de and gets stuck in an endless loop.
MFC after: 1 month
Tested on: i386, alpha, sparc64
|
| |
|
| |
|
|
|
|
| |
MFC after: 4 weeks
|
|
|
|
|
|
| |
in /etc/fstab, or print an error message if no suitable device was found.
MFC after: 4 weeks
|
|
|
|
|
|
|
|
|
|
| |
There is no need to skip providers with 0 sectorsize in taste routine,
it is now forced by GEOM.
Actually, it can even cause some problems, because GEOM requires sectorsize
to be greater than 0 on first access, not on provider creation, so we can
skip valid providers by doing this check in taste method.
Requested by: scottl
|