| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
MFC after: 5 days
|
|
|
|
|
| |
PR: bin/59674
Submitted by: Vaclav Rehak <vasek@zoom-int.cz>
|
|
|
|
|
|
| |
PR: kern/60613
Submitted by: Gleb Smirnoff
MFC after: 3 days
|
|
|
|
| |
Fixed a nearby style bug (unreachable break).
|
| |
|
|
|
|
|
|
|
|
| |
Declare perror(). We define and use a home made version of perror(3)
that can't simply be removed (although it has the same interface as
perror(3)) since it is very different (it prints on stdout, doesn't
always print the program name, and sometimes exits). Declare it to
get a reminder of this brokenness when WARNS is increased enough.
|
|
|
|
|
|
| |
became garbage when block devices were axed and were removed a few
months later, but they came back (with hotroot renamed to hot + hotroot())
when the NetBSD fsck was mismerged.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't use errexit() to (mis)implement usage(). Using errexit() just
gave the bogus exit code 8.
- Fixed 3 other style bugs in usage().
fsck/fsutil.[ch]:
- Garbage-collected errexit(). It is essentially just one of NetBSD's
fsck_ext2fs error printing functions, but we don't have fsck_ext2fs
and the function is unsuitable for use there too (since pfatal() is
also used and it printf to a different stream).
|
|
|
|
|
|
|
| |
at the end).
Fixed some older style bugs (missing parameter names in all the kernel
prototypes except the ones added in rev.1.12).
|
|
|
|
|
|
| |
type mismatches as well.
Suggested by: bde
|
| |
|
| |
|
|
|
|
| |
wording in a comment).
|
|
|
|
| |
Obtained from: fsck_ffs.8
|
| |
|
|
|
|
| |
and addition of a tab to a blank line).
|
|
|
|
|
| |
- Use vm_object_reference_locked() instead of vm_object_reference()
in vm_fault().
|
|
|
|
| |
vm_map_growstack() in the RLIMIT_VMEM check rather than curthread.
|
|
|
|
| |
few typos.
|
|
|
|
|
|
|
|
|
|
| |
overflow was breaking a bunch of the stats, specifically the
percentage displayed for wired memory.
Fix the output for current/peak/max lines, I forgot to output the types.
161/320/51200 (current/peak/max):
-to-
639/25696/51200 mbufs in use (current/peak/max):
|
|
|
|
|
| |
"very long interface names", e.g.:
ndis_atheros0: flags=8847<UP,BROADCAST,DEBUG,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
| |
|
|
|
|
|
|
|
|
| |
Enable lockf support.
PR: 55861
Submitted by: Jun Su <junsu@m-net.arbornet.org> (original version)
Reviewed by: make universe
|
|
|
|
| |
Obtained from: KAME
|
|
|
|
|
|
| |
sched_cpu() locks an sx lock (allproc_lock) which can sleep if it fails to
acquire the lock, it is not safe to execute this in a callout handler from
softclock().
|
|
|
|
|
|
| |
the sysctl MIB, as it leads to an unnecessary sysctl error.
Obtained from: KAME
|
|
|
|
|
| |
PR: 60575
Submitted by: Andreas Möller
|
|
|
|
| |
Noticed by: Andre Guibert de Bruet <andy@siliconlandmark.com> (via -doc)
|
|
|
|
|
|
| |
doesn't match.
Submitted by: marcel
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: osa
|
|
|
|
| |
Reviewed by: mtm
|
|
|
|
|
|
| |
directory.
Special thanks to: valgrind
|
|
|
|
|
|
|
|
| |
in rev. 1.15 pccardd.c.
Reported by: osa
OK'ed by: imp
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Remove some code duplication between _thread_init(), which is run once
to initialize libthr and the intitial thread, and pthread_create(), which
initializes newly created threads, into a new function called from both
places: init_td_common()
o Move initialization of certain parts of libthr into a separate
function. These include:
- Active threads list and it's lock
- Dead threads list and it's lock & condition variable
- Naming and insertion of the initial thread into the
active threads list.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For received packets, an status of NDIS_STATUS_RESOURCES means we need
to copy the packet data and return the ndis_packet to the driver immediatel.
NDIS_STATUS_SUCCESS means we get to hold onto the packet, but we have
to set the status to NDIS_STATUS_PENDING so the driver knows we're
going to hang onto it for a while.
For transmit packets, NDIS_STATUS_PENDING means the driver will
asynchronously return the packet to us via the ndis_txeof() routine,
and NDIS_STATUS_SUCCESS means the driver sent the frame, and NDIS
(i.e. the OS) retains ownership of the packet and can free it
right away.
|
| |
|
| |
|
|
|
|
|
|
| |
did a bad merge from the PR.
Thanks to Bruce Evans for explaining.
|
|
|
|
| |
copyin and copyout.
|
| |
|
|
|
|
| |
Remove a rendundant $FreeBSD$
|
| |
|
|
|
|
|
|
|
|
|
|
| |
evaluate them. Whatever they're meant to do, they're doing it wrong.
Also:
- Clean up last bits of NULL fallout in subr_pe
- Don't let ndis_ifmedia_sts() do anything if the IFF_UP flag isn't set
- Implement NdisSystemProcessorCount() and NdisQueryMapRegisterCount().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
packet being freed has NDIS_STATUS_PENDING in the status field of
the OOB data. Finish implementing the "alternative" packet-releasing
function so it doesn't crash.
For those that are curious about ndis0: <ORiNOCO 802.11abg ComboCard Gold>:
1123 packets transmitted, 1120 packets received, 0% packet loss
round-trip min/avg/max/stddev = 3.837/6.146/13.919/1.925 ms
Not bad!
|
|
|
|
| |
grab it there.
|
| |
|