| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
handlers. This is primarily intended as a way to allow devices that use
multiple interrupts (e.g. MSI) to meaningfully distinguish the various
interrupt handlers.
- Add a new BUS_DESCRIBE_INTR() method to the bus interface to associate
a description with an active interrupt handler setup by BUS_SETUP_INTR.
It has a default method (bus_generic_describe_intr()) which simply passes
the request up to the parent device.
- Add a bus_describe_intr() wrapper around BUS_DESCRIBE_INTR() that supports
printf(9) style formatting using var args.
- Reserve MAXCOMLEN bytes in the intr_handler structure to hold the name of
an interrupt handler and copy the name passed to intr_event_add_handler()
into that buffer instead of just saving the pointer to the name.
- Add a new intr_event_describe_handler() which appends a description string
to an interrupt handler's name.
- Implement support for interrupt descriptions on amd64 and i386 by having
the nexus(4) driver supply a custom bus_describe_intr method that invokes
a new intr_describe() MD routine which in turn looks up the associated
interrupt event and invokes intr_event_describe_handler().
Requested by: many
Reviewed by: scottl
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(hardwired to once every 20us at most).
I found out that on many machines round here, i could only get
300-400kpps with netsend even on loopback and a 'deny' rule in
the firewall, while reducing the number of calls to gettimeofday()
brings the value to 900kpps and more.
This code is just a quick fix for the problem. Of course it could be
done better, with proper getopt() parsing and the like, but since
this applies to the entire program i'll postpone that to when i have
more time.
Reviewed by: rwatson
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
interactive score for a thread.
Submitted by: Taku YAMAMOTO taku of tackymt.homeip.net
Reviewed by: jeff
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
otherwise sign extension leads to unlikely values when in the negative
range of the signed short structure fields that hold the statistics.
The type used to hold routing statistics is arguably also incorrect.
MFC after: 3 days
|
|
|
|
|
| |
world. The %[no]include.historic knobs are removed because they
are not used for a long time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. There is a regression issue in the ARP code. The incomplete
ARP entry was timing out too quickly (1 second timeout), as
such, a new entry is created each time arpresolve() is called.
Therefore the maximum attempts made is always 1. Consequently
the error code returned to the application is always 0.
2. Set the expiration of each incomplete entry to a 20-second
lifetime.
3. Return "incomplete" entries to the application.
Reviewed by: kmacy
MFC after: 3 days
|
|
|
|
|
|
|
| |
in the high speed that some drivers don't call if_start callback after
marking ~IFF_DRV_OACTIVE.
MFC after: 3 days
|
|
|
|
|
|
|
| |
be restarted by full of the output queue.
MFC after: 3 days
Tested by: bsduser <bsd at acd.homelinux.org>
|
|
|
|
|
|
|
|
| |
partitioned disk. Some BIOS require this to be set before they will
boot the device.
Approved by: marcel
MFC after: 2 weeks
|
|
|
|
| |
on failure or zero on success.
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
short read requests, so the result was that a /boot.config smaller than 512
bytes was ignored. boot2 uses fsread() instead of xfsread() to read
/boot.config already, so this makes zfsboot more like boot2.
Submitted by: Johny Mattsson johny-freebsd of earthmagic org
Reviewed by: dfr
MFC after: 3 days
|
|
|
|
|
| |
Discussed with: philip (after we both misread the logic there the 1st time)
MFC after: 6 weeks
|
|
|
|
|
|
|
|
| |
virtualizing the pfil hooks.
For consistency add the V_ to virtualize the pfil hooks in here as well.
MFC after: 55 days
X-MFC after: julian MFCed r197952.
|
|
|
|
|
|
|
|
|
| |
According to the man page, when neither -H/-L nor -F/-d/-l are given, -H is
implied. This agrees with POSIX, GNU ls and Solaris ls. This means that -p,
although it is very similar to -F, does not prevent the implicit following
of symlinks.
PR: standards/128546
|
|
|
|
|
| |
It is no longer necessary to construct long paths consisting of repeated
"../" which may be slow to process and may exceed PATH_MAX.
|
|
|
|
| |
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to the lock we hold, disable interrupts, and announce to the firmware
that we are shutting down. Especially do this before disabling blocks.
This makes some types of machines with asf enabled no longer hang upon
boot, when we start configuring the interface.
PR: i386/96382, kern/100410, kern/122252, kern/116328
Reported by: erwin
Hardware provided by: TDC A/S
Reviewed by: stas
Tested by: stas
|
|
|
|
|
|
|
|
| |
- Move USB serial drivers earlier to match their placement in other kernel
configs.
- Add descriptions to various USB drivers.
- Move the USB wireless drivers into a new section.
- Add ulscom to the list of USB serial drivers.
|
|
|
|
|
|
|
| |
ethernet drivers.
Submitted by: Glen Barber glen.j.barber @ gmail
MFC after: 1 month
|
|
|
|
|
| |
the build however, and ubser(4) is also not present in any kernel configs
(including NOTES).
|
|
|
|
|
|
|
| |
ENOLINK, EPROTO, ENOTCAPABLE.
Submitted by: Alan R. S. Bueno <alan.bsd at gmail.com>
MFC after: 3 days (most)
|
|
|
|
|
| |
PR: docs/139447
Submitted by: Guido Falsi mad at madpilot dot net
|
|
|
|
| |
see if the ppc hardware has gone idle rather than four times a second.
|
|
|
|
| |
MFC after: 2 days
|
|
|
|
|
|
|
| |
non-static symbols in a module they depend on, so remove dtrace symbols
from nfsclient's EXPORT_SYMS again.
Suggested by: jhb
|
| |
|
|
|
|
| |
revision r197995.
|
| |
|
|
|
|
| |
more anyway. Add it to the "obsolete" list.
|
|
|
|
|
|
|
|
|
| |
Sun Type 6 USB keyboard support added in rev 1.46 conflicted with
some scan codes used in Japanese keyboards because the scan code
conversion routine was ambiguous for the overlapped codes.
PR: ports/134005
Submitted by: YAMASHIRO Jun
|
|
|
|
|
|
|
| |
This fixes DTrace with nfsclient built as a module.
MFC after: 3 days
Reported by: markm
|
|
|
|
|
|
|
|
| |
can access NFS client symbols.
MFC after: 3 days
Discussed with: kib
Reported by: markm
|
|
|
|
|
|
|
|
|
|
| |
Adding a tentative address is useless.
- Comment out a confused warning message when
in6_ifattach_linklocal() fails. This can occur when the
interface does not support ioctl(SIOCAIFADDR) (interfaces
associated with 802.11 wireless network device drivers, for
example).
|
|
|
|
|
|
|
|
| |
unresolved symbol errors when in turn libgssapi was loaded with RTLD_LOCAL
flag set (which is the default).
Reviewed by: dfr, jhb
MFC after: 3 days
|
|
|
|
|
| |
Submitted by: Mel Flynn <mel.flynn+fbsd.hackers at mailing.thruhere.net>
on -hackers
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
| |
Submitted by: rdivacky
MFC after: 1 month
|
|
|
|
|
|
|
| |
update. The Mesh Configuration IE has changed quite a bit. Refactor the
code to handle this change.
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
| |
This is required by POSIX and matches open(2).
Reviewed by: kib, jhb
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
| |
- slightly adjust code for style, sort headers.
- in sigqtest2, print received signals, to make it easy to see why test
failed.
- in sigqtest2, job_control_test(), cover a race by adding sleep after
child stopped itself to allow for SIGCHLD due to stop and exit to not
be coalesced.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
not blocking the signal, signal is placed on the thread sigqueue. If
the selected thread is in kernel executing thr_exit() or sigprocmask()
syscalls, then signal might be not delivered to usermode for arbitrary
amount of time, and for exiting thread it is lost.
Put process-directed signals to the process queue unconditionally,
selecting the thread to deliver the signal only by the thread returning
to usermode, since only then the thread can handle delivery of signal
reliably. For exiting thread or thread that has blocked some signals,
check whether the newly blocked signal is queued for the process, and
try to find a thread to wakeup for delivery, in reschedule_signal(). For
exiting thread, assume that all signals are blocked.
Change cursig() and postsig() to look both into the thread and process
signal queues. When there is a signal that thread returning to usermode
could consume, TDF_NEEDSIGCHK flag is not neccessary set now. Do
unlocked read of p_siglist and p_pendingcnt to check for queued signals.
Note that thread that has a signal unblocked might get spurious wakeup
and EINTR from the interruptible system call now, due to the possibility
of being selected by reschedule_signals(), while other thread returned
to usermode earlier and removed the signal from process queue. This
should not cause compliance issues, since the thread has not blocked a
signal and thus should be ready to receive it anyway.
Reported by: Justin Teller <justin.teller gmail com>
Reviewed by: davidxu, jilles
MFC after: 1 month
|
|
|
|
| |
of overwriting r12 by mistake.
|
| |
|
|
|
|
|
| |
whole process. Also explicitely name the parameter that specifies
sleep interval.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Exit if getch() returns with an error other than EINTR. Otherwise
systat(1) may get stuck in an infinite loop if it doesn't receive
SIGHUP when terminal closes. [1]
- Remove attempt to clear stdio error indicators. getch() doesn't use
stdio, making it useless. [2]
- Remove unneeded masking of getch() return value. [2]
PR: bin/107171
Reviewed by: bde
Approved by: trasz (mentor)
Obtained from: OpenBSD [1]
Suggested by: bde [2]
MFC after: 1 month
|