Age | Commit message (Collapse) | Author |
|
|
|
Don't require it when building other sdhc attachments.
From Patrick Wildt.
|
|
- modify B_DMA handling to be in vfs_biomem.c
- change buffer allocation to try allocations with NOWAIT and to throw away clean pages
if allocation fails - allocate with WAITOK only if you can't throw away enough pages to
succeed
"probably sound" deraadt@
|
|
These printfs were causing too much noise in dmesg during regular operation.
And don't forget to count input errors.
ok sthen@ mpi@
|
|
The compiler is also smart enough to recognize that this is redundant.
The resulting code on amd64 is basically equivalent (slightly different
register allocation and instruction scheduling).
ok mpi@ deraadt@
|
|
Feedback millert@ kettenis@
|
|
use after free of the scsi link structure during detach.
OK krw@
|
|
detect this and bump ifq_congestion forward rather than claim the
system is congested for a long period of time.
ok mpi@ henning@ jmatthew@
|
|
ok mpi@ and tweaks from sthen@
|
|
set and get parameters. This is much simpler.
ok semarie, armani, tweaks from jmc
|
|
Started by diff from Mical Mazurek.
|
|
This avoids wasting kernel memory if the user process does not make
use of the allocated memory.
Testing by sthen@ and tobiasu@, thanks!
ok deraadt@
|
|
This saves some memory compared to using malloc, because there's
no roundup to the next bucket size. And it reduces kmem pressure
at least for some architectures (e.g. amd64).
Testing by sthen@ and tobiasu@, thanks!
ok sthen@ deraadt@
|
|
|
|
ok deraadt@
|
|
definitions; ok mpi@
|
|
prepend chroot value *after* canonization and not before.
|
|
order ("a += b > c" is the same as "a += (b > c)" which is wrong here)
ok jca@
|
|
merge code from urtwn(4). So timeouts must move back to the bus-specific
part of the driver.
ok mpi@
|
|
|
|
|
|
XR17V354)
|
|
|
|
|
|
|
|
All its callers got reviewed and converted to
use uiomove() properly.
ok deraadt@
|
|
load the ldt register with the null selector (disabling use of it),
stop reloading it on every context switch, and blow away the table
itself, as well as the pcb and pmap bits that were used to track
it (making sure to keep pcb_savefpu correctly aligned).
testing naddy@
ok kettenis@ mpi@ mlarkin@
|
|
ok beck@ deraadt@
|
|
Compile test and ok tobiasu@
|
|
ACPI specs. With the correct value, it can now be used in a few places
instead of hardcoding 0x79.
ok kettenis@
|
|
ok mpi@
|
|
|
|
considered.
ok deraadt@
|
|
|
|
|
|
it factorizes path resolution in resolvpath() function, and use it in
sys_pledge() and pledge_namei().
please note that wl_paths is still disabled.
|
|
Kernel bits:
- When creating a VM, a list of memory ranges has to be specified,
similar to the BIOS memory map. This is necessary for VMs with
RAM sizes approaching 4G because we'll need PCI MMIO space in
the higher parts of the 32 bit address space.
vmctl and vmd bits:
- Construct appropriate memory ranges to create a VM with a given
RAM size
- Construct a corresponding BIOS memory map from the memory ranges
and update the boot params page accordingly.
- Make sure that all variables that represent guest physical addresses
match the address width of the target CPU instead of using uint32_t.
- Fix some integer promotion glitches that actually restricted VM
RAM size to 2G.
This changes the VM create ioctl interface, so update your kernel,
vmd, and vmctl.
ok mlarkin@
|
|
observed to fire for spurious reasons with buggy hardware/bios.
It is being ignored by both FreeBSD and Linux as well.
Fixes GENERIC kernel boot on ADI RCC-VE with buggy bios versions, where
ichiic(4) ended up stealing interrupts from ehci(4), rendering the internal
eMMC flash unusable.
Also, always ackknowledge all interrupts by writing status bits back
to avoid a potential SMBALERT# interrupt storm.
with and ok deraadt@ kettenis@ mpi@
|
|
still no binary change.
|
|
- rewrite canonpath() to not require extra byte before shrinking
- make canonpath() error not fatal for the caller (proposition from tedu@)
ok millert@ tedu@ deraadt@
|
|
the vlan interface is ifp, the vlans parent interface is ifp0, the new
interface parent is newifp0.
requested by mpi@
no binary change
|
|
'sc_link'. 'sc_link' is a field in the various device *_softc
structures, where the sc_ prefix was for 'softc'. Reduces potential
mental confusion. Newer code from down under was already using
'link'.
No functional change.
Prompted by bluhm@'s adventures in scsi. ok dlg@ jmatthew@
|
|
ok mpi@ bluhm@
|
|
of a use after free. In sdopen() the scsi link pointer is taken
from the scsi disk struct. While the scsi disk memory is refcounted
by autoconf, the scsi link may be detached and freed during sleep.
The solution is to check wether the disk is dying after every sleep.
The SDF_DYING flag is set before scsi bus and scsi disk are detached,
so without this flag the link must be valid.
input and OK krw@
|
|
So if vop_generic_revoke() does not unmount because the mount point
is busy, this could result in a mount point without a valid device.
It is better to check and sleep in a loop to avoid a corrupt mount
point.
OK natano@ krw@
|
|
from Michal Mazurek
|
|
ok mpi@
|
|
"if (cmd->len) != 0)", as cmd->len is a 3 byte array.
Broken since media_blkno accounting was introduced in r1.72 (2007!).
Might fix some obscure tape issues around miscounting variable sized blocks.
Spotted by mmcc@ and his friend clang.
|
|
This will make a future merge with urtwn(4) easier.
ok mpi@
|
|
don't want to change the current value"
it changes only the `request' argument behaviour when NULL is passed:
previously it was traited as "" was passed.
with help from jmc@ for man-page
OK tb@ on previous version
|