| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
PR: 105997
Reviewed by: keramida
|
|
|
|
|
|
|
|
|
|
| |
inside the SYSCTL() macros and thus does not need to be done for
all of the nodes scattered across the source tree.
- Mark the name-cache related sysctl's (including debug.hashstat.*) MPSAFE.
- Mark vm.loadavg MPSAFE.
- Remove GIANT_REQUIRED from vmtotal() (everything in this routine already
has sufficient locking) and mark vm.vmtotal MPSAFE.
- Mark the vm.stats.(sys|vm).* sysctls MPSAFE.
|
|
|
|
|
|
|
| |
sysctl_kern_proc_pathname().
- Mark all the kern.proc.* sysctls as MPSAFE.
Submitted by: csjp (2)
|
|
|
|
|
|
| |
needing Giant.
Submitted by: csjp (an older version)
|
|
|
|
| |
Submitted by: ups
|
|
|
|
|
|
|
| |
updating va_atime via VOP_SETATTR() isn't always synchronous. For some
filesystems it is asynchronous.
Suggested by: bde
|
|
|
|
|
|
|
|
| |
around calls to vlrureclaim() on non-MPSAFE filesystems. Specifically,
vnlru no longer needs Giant for the common case of waking up and deciding
there is nothing for it to do.
MFC after: 2 weeks
|
|
|
|
|
|
| |
Reviewed by: scottl
Approved by: rwatson (mentor)
Sponsored by: FreeBSD Foundation
|
|
|
|
|
|
|
|
| |
Reviewed by: scottl
Approved by: rwatson (mentor)
Sponsored by: FreeBSD Foundation
Found with: Coverity Prevent(tm)
CID: 2908
|
|
|
|
|
|
|
|
| |
Reviewed by: scottl
Approved by: rwatson (mentor)
Sponsored by: FreeBSD Foundation
Found with: Coverity Prevent(tm)
CID: 1847
|
|
|
|
|
|
|
|
| |
Reviewed by: scottl
Approved by: rwatson (mentor)
Sponsored by: FreeBSD Foundation
Found with: Coverity Prevent(tm)
CID: 130
|
|
|
|
|
|
|
| |
network interfaces) if we have at least one interface with an if_watchdog
routine.
MFC after: 2 weeks
|
| |
|
|
|
|
| |
needs to set for cross building.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
make KERNFAST=blah buildkernel
is now a short cut for
make KERNCONF=blah -DKERNFAST buildkernel
This change works for all kernel config files not named "1". I did
that to make sure that
make -DKERNFAST buildkernel
remains the same as
make -DKERNFAST KERNCONF=GENERIC buildkernel
rather than trying to build and configure "1". I've never seen a
kernel config file named "1," so I think this is a good compromise.
|
|
|
|
| |
before calling the ic_setregdomain callback
|
| |
|
|
|
|
|
| |
as they support Intel Core/Core 2 and VIA Nano processors.
- Align "optional agp" in conf/files.* for consistency while I am here.
|
|
|
|
|
|
|
|
| |
compat version aio_waitcomplete().
Reminded by: bz
Submitted by: jamie
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
while here, expand the 'naughty bits' comment in BUGS.
PR: 84265 and 84268
Reviewed by: keramida
Obtained from: hints from ceri, keramida
|
|
|
|
| |
Tested by: kevlo
|
| |
|
| |
|
| |
|
|
|
|
|
| |
architecture but expect it'd work. In cases on other architectures it'd
not work yet.
|
|
|
|
| |
driver sometimes reports reset failed w/ status 0
|
|
|
|
| |
chipset.
|
|
|
|
|
|
|
|
|
|
|
| |
This should be a bit useful for users who look at the manpage and
then try to copy data CD-ROM disks using dd. A lot of us know
that bs=2048 is required, but it still manages to cause a bit of
grief to those who haven't heard about it.
PR: bin/130857
Submitted by: Tri Brotoharsono < mail at tribrotoharsono.net >
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
| |
so give an example that is more likely to work.
Stolen from the ktrace(1) manual page.
PR: 128222
Submitted by: Mateusz Guzik <mjguzik@gmail.com>
|
|
|
|
|
| |
need the bouncing, so save a few copies in that case. Also convert
4-bit code selection to using it.
|
|
|
|
|
|
| |
document why timeconv.h is needed
MFC after: 3 days
|
|
|
|
|
|
| |
rather than a fixed 512... This fixes the mount root problem on at91.
Prior to the SD card reorg, all data transfers were 512 bytes, so we
didn't notice.
|
|
|
|
|
|
| |
the serial port class when we set the devclass since it is now
no-longer a compile time constant. Eliminate the pci include, as it
isn't relevant or necessary.
|
| |
|
| |
|
|
|
|
|
|
| |
time constant. This allows us to potentially change it at runtime or
autodetect it early in the boot (the latter being much more likely to
have a good outcome).
|
|
|
|
|
| |
whether TSC is P-state invariant or not. In fact, this MSR is writable but
we just leave it at the BIOS default for now.
|
|
|
|
| |
Reported by: thompsa, "build universe"
|
|
|
|
| |
and hide i386-specific code under #ifdef.
|
|
|
|
| |
Suggested by: raj
|
|
|
|
|
|
| |
in lptout().
Reported by: several
|
|
|
|
|
|
|
|
|
| |
- Asia/Katmandu -> Asia/Kathmandu
- Fix historical references to DST in Switzerland
- Correct rules for America/Resolute (Nunavut)
- Cuba didn't have DST in 2005.
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
| |
getopt(), it is accepted through smb_ctx_init() in
lib/smb/ctx.c.
PR: 117013
Submitted by: Tom Evans <tevans.uk@googlemail.com> (original version)
|
|
|
|
|
|
|
|
| |
The integer thousands' separator code is rewritten in order to
avoid having to preallocate a buffer for the largest possible
digit string with the most possible instances of the longest
possible multibyte thousands' separator. The new version inserts
thousands' separators for integers using the same code as floating point.
|
|
|
|
|
|
|
|
| |
- Print human readable time as a float with two digits of precision. Use
ns now as well since clock periods are well into the hundreds of
picoseconds now.
- Show the average duration in the stats frame. This is often more useful
than total duration.
|
|
|
|
|
|
| |
That was pseudo ucom because it used home brew tty interface.
Now, it is integrated to usb serial framework, so it is not pseudo
ucom any more.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- To avoid having a bunch of locks that end up always getting acquired as
a group, give each ppc(4) device a mutex which it shares with all the
child devices including ppbus(4), lpt(4), plip(4), etc. This mutex
is then used for all the locking.
- Rework the interrupt handling stuff yet again. Now ppbus drivers setup
their interrupt handler during attach and tear it down during detach
like most other drivers. ppbus(4) only invokes the interrupt handler
of the device that currently owns the bus (if any) when an interrupt
occurs, however. Also, interrupt handlers in general now accept their
softc pointers as their argument rather than the device_t. Another
feature of the ppbus interrupt handlers is that they are called with
the parent ppc device's lock already held. This minimizes the number
of lock operations during an interrupt.
- Mark plip(4), lpt(4), pcfclock(4), ppi(4), vpo(4) MPSAFE.
- lpbb(4) uses the ppc lock instead of Giant.
- Other plip(4) changes:
- Add a mutex to protect the global tables in plip(4) and free them on
module unload.
- Add a detach routine.
- Split out the init/stop code from the ioctl routine into separate
functions.
- Other lpt(4) changes:
- Use device_printf().
- Use a dedicated callout for the lptout timer.
- Allocate the I/O buffers at attach and detach rather than during
open and close as this simplifies the locking at the cost of
1024+32 bytes when the driver is attached.
- Other ppi(4) changes:
- Use an sx lock to serialize open and close.
- Remove unused HADBUS flag.
- Add a detach routine.
- Use a malloc'd buffer for each read and write to avoid races with
concurrent read/write.
- Other pps(4) changes:
- Use a callout rather than a callout handle with timeout().
- Conform to the new ppbus requirements (regular mutex, non-filter
interrupt handler). pps(4) is probably going to have to become a
standalone driver that doesn't use ppbus(4) to satisfy it's
requirements for low latency as a result.
- Use an sx lock to serialize open and close.
- Other vpo(4) changes:
- Use the parent ppc device's lock to create the CAM sim instead of
Giant.
- Other ppc(4) changes:
- Fix ppc_isa's detach method to detach instead of calling attach.
Tested by: no one :-(
|
|
|
|
|
|
|
| |
PR: docs/127575
Submitted by: Walter Venable <walt relnor.com>
Approved by: keramida
MFC after: 3 days
|