Age | Commit message (Collapse) | Author |
|
These will be used in an upcoming change.
ok beck@ tb@
|
|
jsing rightly points out that this has nothing to do with ASN.1, but
ec_lib.c has no EC_KEY knowledge otherwise (it's about groups and points)
and moving it to ec_key.c is also not satisfactory since the weird
d2i/i2d for ECParameters don't belong there either.
no objection from jsing
|
|
Replace the aarch64 CPU detection code with a version that parses ISAR0,
avoiding signal handling and SIGILL. This gets ISAR0 via sysctl(), but this
can be adapted to other mechanisms for other platforms (or alternatively
the same can be achieved via HWCAP).
This now follows the same naming/design as used by amd64 and i386, hence
define HAVE_CRYPTO_CPU_CAPS_INIT for aarch64.
ok kettenis@ tb@
|
|
with TTL field to zero. To fix it function pf_test_state_icmp()
must initialize ttl field in pf_pdesc structure for inner packet.
feedback from bluhm@
OK bluhm@
|
|
used by idle page zeroing code removed from uvm in 2015
ok miod@ mpi@ mlarkin@
|
|
|
|
|
|
|
|
Ported from FreeBSD.
This driver does not pass packets yet, lots of code is still missing.
The driver will remain disabled in kernel configs until it is ready.
At this stage, code for device initialization should be fairly complete.
Some hardware features will require additional firmware packages to be
loaded. My plan is to get things working in the basic "safe mode" first,
which does not require external firmware.
I will continue working on this driver in-tree, with funding from genua.
Help is welcome.
ok dlg@
|
|
If any other CPU has not finished wbinvd, PSP command may fail. To
avoid races, call wbinvd_on_all_cpus_acked() which waits for
acknowledgement from IPI handler. Provide stub to build non-MP
kernels.
from hshoexer@; OK mlarkin@
|
|
|
|
|
|
is at least 1MB. This should prevent us from filling up the tiny ESPs
that we used to create a few releases ago.
ok deraadt@
|
|
Implement inpcb iterator in rip6_input(). Factor out the real work
to rip6_sbappend(). Now UDP broadcast and multicast, raw IPv4 and
IPv6 input work similar. While there, make rip_input() look more
like rip6_input().
OK mvs@
|
|
ok stsp@
|
|
|
|
ok miod@
|
|
|
|
mappings to work.
|
|
|
|
|
|
|
|
|
|
|
|
CID 514612
|
|
|
|
|
|
Implement wbinvd_on_all_cpus_acked() similar to pmap_tlb_shootpage().
This ensures, wbinvd has been executed on all cores when the function
returns. This is needed to avoid psp(4) races.
from hshoexer@; OK mlarkin@
|
|
Also optimize the general case a bit. ok semarie@
|
|
callback interface a bit simpler.
ok beck@ claudio@ mpi@
|
|
Also, log verbosely when ignoring accounting request.
|
|
devices (ofnet, etc) for the VI board in the before-macppc days which nobody
remembers, and has never been needed for anything on macs.
|
|
so that wait(2) returns the right signal.
Found and tested by sthen@
|
|
|
|
Requested by miod@
|
|
ok miod@
|
|
- In the inactive list, if we are not OOM, do not bother releasing high pages.
- In the active list, if we couldn't release enough low pages and are not out-
of-swap, deactivate only low pages.
ok miod@
|
|
As a side effect the page daemon now considers releasing inactive pages when
a nowait allocation for low pages failed.
Note that the hardcoded number of 16 pages (a 64K cluster on 4K archs) which
corresponds to what the buffer cache currently wants is left with the original
XXX.
ok miod@
|
|
Currently when there is no request waiting for low pages the constraint
used corresponds to the full address range. So use the constraint attached
to the memory request.
This also speeds up the active/inactive list lookups by skipping the
constraint check if the request has already been fulfilled.
ok miod@
|
|
Using this helper we stop scanning the active/inactive lists if the shrinkers
already released enough pages to fulfill the allocation.
This speeds up the page daemon loop by avoiding useless lookups to find the
first managed page belonging to the low memory range before aborting.
ok miod@
|
|
No functional change.
ok miod@
|
|
|
|
syslogd should immediately detect that the incoming TLS handshake
is complete. The old logic detected it when the first log message
over TLS was arriving. For now only a debug message is logged, but
the callback will be used to print the common name of the client
certificate in the future.
OK tb@
|
|
From Christian Ludwig
|
|
From Christian Ludwig
|
|
|
|
they sold the runway to Cornwall County Council in 2008, there's no
separate military airbase. (Existence verified by me when it was
RAF St Mawgan).
|
|
|
|
debug code added in NetBSD 1.51 not being completely removed in 1.133, and
which we have been carried since 1.1 here...
|
|
|