| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
that td_intr_nesting_level is 0 (like malloc() does). Since malloc() calls
uma we can probably remove the check in malloc() for this now. Also,
perform an extra witness check in that case to make sure we don't hold
any locks when performing a M_WAITOK allocation.
|
|
|
|
|
|
|
|
|
|
|
| |
yet. We just return without performing any checks.
- Don't explicitly enter and exit critical sections when walking lock
lists. We don't need a critical section to walk the list of sleep
locks for a thread. We check to see if a spin lock list is empty
before we walk it. If the list is empty we don't need to walk it. If
it isn't then we already hold at least one spin lock and are already in
a critical section and thus don't need our own explicit critical
section.
|
|
|
|
| |
passed in with M_WAITOK to malloc().
|
|
|
|
|
|
|
|
|
|
| |
initialized socket with no qlimit was being passed in. In order
to handle this case properly, we must not use >= when comparing
queue sizes to qlimit. As a result of this improper handling,
a panic could result in certain cases.
PR: 38325
MFC after: 3 days
|
|
|
|
|
| |
page. These send IPIs if necessary in order to keep the caches in sync on
all cpus.
|
| |
|
| |
|
|
|
|
| |
to inline them anyway. ;)
|
|
|
|
| |
Submitted by: iedowse
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
| |
Submitted by: Olexander Kunytsa <kunia@istc.kiev.ua>
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
Don't grab Giant around wakeup(9).
Don't print verbose messages about each device found in geom_dev.
Various cleanups.
Sponsored by: DARPA & NAI Labs.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Add a mutex (sb_mtx) to struct sockbuf. This protects the data in a
socket buffer. The mutex in the receive buffer also protects the data
in struct socket.
o Determine the lock strategy for each members in struct socket.
o Lock down the following members:
- so_count
- so_options
- so_linger
- so_state
o Remove *_locked() socket APIs. Make the following socket APIs
touching the members above now require a locked socket:
- sodisconnect()
- soisconnected()
- soisconnecting()
- soisdisconnected()
- soisdisconnecting()
- sofree()
- soref()
- sorele()
- sorwakeup()
- sotryfree()
- sowakeup()
- sowwakeup()
Reviewed by: alfred
|
| |
|
|
|
|
|
|
|
| |
make_dev() to create device nodes for each of the serial port channels
(ttym%d and cuam%d respectively, as borrowed from MAKEDEV). This allows
the rc driver to work in 5.0. I've tested it with only one card, but
will try sticking in a second card tomorrow and see what happens.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
combining too much conditions and as such ended up with the
kernel map instead of the corresponding process map. While
here, remove code to allow access to the stackgap and restyle
slightly to improve readability.
This fix specifically fixes the procfs failure we're having
when reading the process map (cat /proc/curproc/map)
|
|
|
|
|
| |
Note that even with the quirk entry the reader typically only works if
the USB device is recognized by UHCI instead of the generic OHCI driver.
|
| |
|
|
|
|
|
|
|
|
|
| |
As a minor positive side-effect, code at -O0 is more optimal. As a
minor negative side-effect, certain boundary cases yield no better
code than non-boundary cases. For example, atomic_set_acq_32(p, 0)
does a useless logical OR with value 0. This was previously elimina-
ted as part of if/while optimizations. Non-boundary cases yield
identical code at -O1 and -O2.
|
|
|
|
|
|
|
|
|
|
|
| |
checking, followed by a lookup of the process. Do not call
ptrace() for permission checking, but do it inline.
Spotted by: rwatson
o While here, copy-in arguments before we lock. This fixes
a possible permanent lock.
Reviewed by: rwatson
|
|
|
|
|
|
| |
alpha disklabels, just one function which is told where to look.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
Some machines stuck on reboot if ACPI sleep/wakeup was executed.
|
| |
|
| |
|
|
|
|
| |
Requested by: jhb
|
| |
|
|
|
|
| |
now objects to (as it should, it is not legal C).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't include ia64_cpu.h and cpu.h
- Guard definitions by _NO_NAMESPACE_POLLUTION
- Move definition of KERNBASE to vmparam.h
o Move definitions of IA64_RR_{BASE|MASK} to vmparam.h
o Move definitions of IA64_PHYS_TO_RR{6|7} to vmparam.h
o While here, remove some left-over Alpha references.
|
|
|
|
| |
o Remove Alpha specific contents of struct md_coredump.
|
|
|
|
|
| |
- Correct the implementation of fix_unaligned to use a thread, not a proc.
- GC some #if 0'd stuff.
|
| |
|
|
|
|
|
| |
specific by way of which headers are being included (and headers
not included).
|
|
|
|
| |
function tracing bits due to __func__ being declared as const.
|
| |
|
|
|
|
|
| |
centrally now that we have GCC3 in the tree. The GCC3 variable
is a helper during the switch.
|
|
|
|
|
| |
style comments. This is not an attempt to conform to style(9).
Such has lower priority.
|
|
|
|
|
|
|
| |
not just the legacy ones.
PR: 33299
Submitted by: Alexander N. Kabaev <ak03@gte.com>
|
|
|
|
|
| |
PR: 33299
Submitted by: Alexander N. Kabaev <ak03@gte.com>
|
|
|
|
| |
PR: 33299
|
|
|
|
|
|
|
| |
yours truly.
PR: 33299
Submitted by: Alexander N. Kabaev <ak03@gte.com>
|
|
|
|
|
|
|
| |
pointer instead of a proc pointer and require the process pointed to
by the second argument to be locked. We now use the thread ucred reference
for the credential checks in p_can*() as a result. p_canfoo() should now
no longer need Giant.
|
|
|
|
|
|
|
| |
IFS had its fingers deep in the belly of the UFS/FFS split. IFS
will be reimplemented by the maintainer at a later date.
Requested by: adrian (maintainer)
|
|
|
|
| |
long.
|