| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Requested by: sam
|
|
|
|
|
|
| |
passes.
Submitted by: Dworkin Muller
|
|
|
|
|
| |
Submitted by: stephan uphoff (ups at tree dot com)
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
since I believe it is now MI, but that hasn't been done yet).
Reviewed by: dds
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Trade off granularity to reduce overhead, since the current model
doesn't appear to reduce contention substantially: move to a single
harvest mutex protecting harvesting queues, rather than one mutex
per source plus a mutex for the free list.
- Reduce mutex operations in a harvesting event to 2 from 4, and
maintain lockless read to avoid mutex operations if the queue is
full.
- When reaping harvested entries from the queue, move all entries from
the queue at once, and when done with them, insert them all into a
thread-local queue for processing; then insert them all into the
empty fifo at once. This reduces O(4n) mutex operations to O(2)
mutex operations per wakeup.
In the future, we may want to look at re-introducing granularity,
although perhaps at the granularity of the source rather than the
source class; both the new and old strategies would cause contention
between different instances of the same source (i.e., multiple
network interfaces).
Reviewed by: markm
|
|
|
|
|
|
| |
closes the specified number of TCP connections sequentially and
synchronously. Useful for trying to trigger races in the accept
code.
|
|
|
|
|
|
|
| |
allowing for sizes up to 4 TB. This doesn't affect UFS2 since b is already
a 64 bit type, coincidental with daddr_t.
Submitted by: bde
|
|
|
|
|
|
|
|
|
| |
reversals+system lock ups if they are using ucred based rules
while running with debug.mpsafenet=1.
I am working on merging a shared locking mechanism into ipfw which
should take care of this problem, but it still requires a bit more
testing and review.
|
|
|
|
|
|
| |
of "nosleepwithlocks."
Submitted by: ru
|
|
|
|
|
|
| |
Also be prepared for FP_ILOGBNAN != INT_MAX.
Reviewed by: md5
|
|
|
|
|
|
|
|
|
|
|
| |
Requested by: bde
o Remove unneeded sys/types.h and netinet/in.h from the synopsis and
the example.
o We do have struct in_addr in arpa/inet.h, so no need for netinet/in.h.
o Mention where AF_* constants defined are.
Educated by: bde
|
|
|
|
|
|
|
|
|
|
| |
reaching into the socket buffer. This prevents a number of potential
races, including dereferencing of sb_mb while unlocked leading to
a NULL pointer deref (how I found it). Potentially this might also
explain other "odd" TCP behavior on SMP boxes (although haven't
seen it reported).
RELENG_5 candidate.
|
|
|
|
| |
not hold the mutex for a socket buffer.
|
|
|
|
|
| |
Submitted by: Andrew Belashov <bel (at) orel.ru> (slightly modified)
Reviewed by: jake
|
|
|
|
|
|
| |
The AHCI part is not supported yet, but is in the works.
5.3 RC1 candidate
|
| |
|
| |
|
| |
|
|
|
|
| |
if the target link already existed (e. g. -DNO_KERNELCLEAN).
|
|
|
|
|
|
|
|
|
|
|
|
| |
and make it visible (same way as in OpenBSD). Describe usage in manpage.
This change is useful for creating custom free methods, which
call default free method at their end.
While here, make malloc declaration for mbuf tags more informative.
Approved by: julian (mentor), sam
MFC after: 1 month
|
| |
|
|
|
|
|
|
| |
when the spin lock in question isn't -- it's the critical_enter() that
KDB set. No more panic in DDB for console -> syscons -> tty -> knote
operations.
|
|
|
|
| |
in FreeBSD probe mechanism.
|
|
|
|
|
|
|
|
|
|
|
| |
be used to announce various system activity.
The auxio device provides auxiliary I/O functions and is found on various
SBus/EBus UltraSPARC models. At present, only front panel LED is
controlled by this driver.
Approved by: jake (mentor)
Reviewed by: joerg
Tested by: joerg
|
|
|
|
|
|
| |
not really an error.
Submitted by: Gerrit Nagelhout
|
|
|
|
|
|
| |
properly terminate a .Bl with a matching .El
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) ginode() is passed a cylinder group number and inode number. The inode
number is relative to the cg. Use this relative number rather than the
absolute inode number when searching the cg inode bitmap to see if the inode
is allocated. Using the absolute number quickly runs the check off the end
of the array and causes invalid inodes to be referenced.
2) ginode() checks the absolute indoe number to make sure that it is greater
than ROOTINO. However, the caller loops through all of the possible inode
numbers and directly passes in values that are < ROOTINO. Instead of halting
the program with an error, just return NULL.
3) When allocating new cylinder groups, growfs was initializing all of the
inodes in the group regardless of this only being required for UFS1. Not
doing this for UFS2 provides a significant performance increase.
These fixes allow growing a filesystem beyond a trivial amount and have
been tested to grow an 8GB filesystem to 1.9TB. Much more testing would
be appreciated.
Obtained from: Sandvine, Inc.
|
|
|
|
|
|
| |
before and after sleeping.
Reviewed by: deischen
|
|
|
|
|
| |
have their own way of life.
Those other devices translations should be moved here as well.
|
|
|
|
|
|
|
|
|
|
| |
This fixes a case, when DoSed syslogd completely loses messages.
PR: bin/72366
Discussed with: dwmalone, millert@OpenBSD.org
Approved by: julian (mentor)
Obtained from: OpenBSD (rev. 1.17, 1.21 by millert)
MFC after: 3 months
|
|
|
|
|
|
| |
split the lines in more reasonable places too, both in tty/ps output.
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
count of zero and instead encode this information in the inode state.
Pass 4 performed a linear search of this list for each inode in
the file system, which performs poorly if the list is long.
Reviewed by: sam & keramida (an earlier version of the patch), mckusick
MFC after: 1 month
|
|
|
|
| |
MFC in: 1 week
|
|
|
|
|
|
|
|
|
| |
line-splitting extremely difficult for groff, indent the .Bl items by
the standard `indent' length instead of an indent large enough to hold
the maximal tag name.
Reviewed by: ru
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
state management corruption, mbuf leaks, general mbuf corruption,
and at least on i386 a first level splash damage radius that
encompasses up to about half a megabyte of the memory after
an mbuf cluster's allocation slab. In short, this has caused
instability nightmares anywhere the right kind of network traffic
is present.
When the polymorphic refcount slabs were added to UMA, the new types
were not used pervasively. In particular, the slab management
structure was turned into one for refcounts, and one for non-refcounts
(supposed to be mostly like the old slab management structure),
but the latter was almost always used through out. In general, every
access to zones with UMA_ZONE_REFCNT turned on corrupted the
"next free" slab offset offset and the refcount with each other and
with other allocations (on i386, 2 mbuf clusters per 4096 byte slab).
Fix things so that the right type is used to access refcounted zones
where it was not before. There are additional errors in gross
overestimation of padding, it seems, that would cause a large kegs
(nee zones) to be allocated when small ones would do. Unless I have
analyzed this incorrectly, it is not directly harmful.
|
|
|
|
|
|
|
|
|
| |
explicit clock reads to set an overall duration to the send, and
blasts rather than trying to clock output. The goal of netblast,
unlike netsend, is to send as many UDP packets as possible; the
cost is that there's no ability to control the rate, and there's
less accuracy in the timing as the interval timer granularity is
relatively low.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with acpi but the timer runs twice as fast. Note that the main problem
(system doesn't work properly with acpi disabled) should be fixed separately.
Changes:
* Add a quirk to disable the timer
* Merge the P5A and P5A-B quirks since they appear to be based on the
same ASL.
PR: i386/72450
Tested by: Kevin Oberman <oberman es.net>
MFC after: 3 days
|
|
|
|
|
|
|
| |
Do not tell the hardware to send when there were no packets enqueued.
Found and reviewed by: green
MFC after: 1 days
|
|
|
|
|
|
|
|
| |
SA-04:15, and BIND update (8.3.1->9.3.0).
Update release notes:
update a list of network interfaces which support polling(4), and
fix a typo (s/lukemftp/lukemftpd/).
|
|
|
|
| |
actual name is thr_exit(). How this ever worked is beyond me.
|
|
|
|
| |
Submitted by: Pawel Worach <pawel.worach@telia.com>
|
|
|
|
|
|
| |
Using a macro as first argument cancels effect of .Li (#2984)
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
| |
We return ENOBUF to indicate the problem, which is an errno that should be
handled well everywhere.
Requested & Submitted by: green
Silently okay'ed by: The rest of the firewall gang
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
| |
- remove RTF_PRCLONING
- add rt_mtx field
- rename rt_metrics -> rt_metrics_lite
- mention that only 3 metrics are really used in rt_metrics_lite
Reviewed by: ru, andre
|