Age | Commit message (Collapse) | Author |
|
each, never in portable software. Mop it up.
ok guenther, tested in ports tree by sthen
|
|
Analysis and patch by Richard Kojedzinszky, thanks! ok henning
|
|
ok kettenis@
|
|
for the kernel pmap and kill pmap_kremove_pg(). Finally guard the hash
lock code under "MULTIPROCESSOR" to explicit which part of the code
received some MP love.
ok kettenis@
|
|
Suggested by deraadt@
|
|
hardware is fairly retarded. While it allows receive buffers with an
ETHER_ALIGN offset, it only allows the size of the buffers to be specified in
multiples of 1K. This means that if we want to use standard mbuf clusters
we will waste 1024 - ETHER_ALIGN bytes per cluster, which is a lot for the
2K clusters we use now. Compromise a bit by using 4K clusters on strict
alignment architectures and tell the hardware to use 3K of those, reducing
the spillage a bit. While this isn't optimal, at least on sparc64 where we
have 8K pages, the pool page allocation overhead should be the same as on
amd64/i386 where we have 4K pages and continue to use 2K mbuf clusters.
ok mikeb@, dlg@
|
|
Fix from Alexey Suslikov <alexey.suslikov at gmail.com>. Thanks!
tested by many, ok armani
|
|
task, rather than abusing task arguments to carry long values around.
this is unreliable, but so was the previous mechanism, just in a
different way. if you're so low on memory that you cant change the
volume, you probably have other more important problems going on
too.
tested by jim smith
|
|
From FreeBSD
|
|
ok deraadt@
|
|
support this interrupt. Link state changes are noticed via the PHY
status change callback or via the timeout for re_tick().
From FreeBSD
|
|
|
|
|
|
capitalization corrections.
|
|
|
|
of <sys/param.h>
|
|
sys_socket() supports SOCK_{CLOEXEC,NONBLOCK} now, so build on that.
doaccept() supports the non-inheriting-of-O_NONBLOCK, so build on that.
Merge compat_sys_{accept,send,recv}() into their only callers.
Lie a little and use struct sockaddr in the linux socket syscall args when
it's a return argument to avoid a bunch a casts.
Delete many other unnecessary sockaddr casts
verified with a curl Linux binary
|
|
|
|
|
|
Helg (xx404 (at) msn.com)
|
|
processing for Fn-key chords. From William Orr <will@worrbase.com>
|
|
From Helg (xx404 (at) msn.com)
|
|
by compat/linux
|
|
ok krw@ bluhm@ deraadt@
|
|
|
|
|
|
|
|
|
|
under _KERNEL, and adjust the one consumer (netstat) so that it requests
the exposure. Will take a few more rounds to get this right.
ok mikeb
|
|
maximum supported temperature, Tj(Max). As the temperature values are
relative to this value this should make the sensor values more accurate.
From Simon Mages.
|
|
superflous '*' after '/*' and adding blank after terminating '$'.
Also eases parsing of the lines by simple awk scripts.
Aesthetic approval from tedu@.
|
|
|
|
ok deraadt@
|
|
|
|
|
|
revisions so it is not safe to define MAXHOSTNAMELEN in terms of it.
|
|
in sys/uio.h with _KERNEL defined don't warn.
ok deraadt@
|
|
maintain a list of possibly submitted commands.
|
|
of spsr_all so all the bits are restored. Using the msr instruction
with spsr_all is treated the same as spsr_fc and does not include the
status and extension fields (bits 23:8).
This fixes the problem of some i.MX6 machines powering up with the
big endian bit set in the extension field causing them to crash
on returning from the first interrupt.
From NetBSD.
|
|
just the control field ('c' bits 7:0) instead of 'all' which includes
the flags field ('f' bits 31:24) which isn't modified.
|
|
Found the hard way by Peter N. M. Hansteen.
ok claudio@, phessler@
|
|
Because our USB stack wants the aborted xfer to be removed from the
pipe during abort(), we have to sleep in the abort function.
Regarding the xHCI process, when a TD is being aborted, we simply stop
the endpoint and then move the dequeue pointer past its last TRB. This
is fairly simple for the moment since only one xfer can be pending on a
given pipe.
|
|
might eat you.
|
|
|
|
and the bufq pointer might be NULL at the time it is `saved'.
Found the hard way on sparc due to the limited kva, with all disk active
processes ending up sleeping on "buf_needva".
ok kettenis@ krw@
|
|
masking. Remove the use of cpsr_all/spsr_all with 'mrs' and just use
the register names. This matches the arm docs and avoids confusion as
cpsr_all/spsr_all don't include bits 23->8 when used with the 'msr'
instruction but do with 'mrs'.
|
|
is detected, simply keep track of the faulty xfer instead of completing
all the pending ones.
Fix a race condition where we could end up aborting a freshly enqueued
xfer when two different threads are submitting control transfers (i.e.
usbdevs(8) and a kernel driver).
|
|
masking. Remove the use of cpsr_all/spsr_all with 'mrs' and just use
the register names. This matches the arm docs and avoids confusion as
cpsr_all/spsr_all don't include bits 23->8 when used with the 'msr'
instruction but do with 'mrs'.
|
|
not used.
|
|
by pulling in <sys/uio.h>, so do so. Remove some stuff that we can trust
<sys/uio.h> to also provide, like cdefs.h, _types.h, and exposing size_t
and ssize_t
pointed out by naddy@
ok deraadt@
|