Commit Graph

275890 Commits

Author SHA1 Message Date
sevan
95b8f8498c document history 2020-04-18 22:03:51 +00:00
sevan
ad16dbb6f1 grammar 2020-04-18 22:02:11 +00:00
christos
cd11565244 Add -s (SINGLE_JOB) from OpenBSD. 2020-04-18 19:32:19 +00:00
jhigh
3fba244ae4 added blowfish symmetric cipher per RFC4880 9.2 2020-04-18 19:27:48 +00:00
christos
0c792cd1aa Extended attribute support for ffsv2, from FreeBSD. 2020-04-18 19:18:33 +00:00
wiz
0f2169d04c Remove trailing comma. 2020-04-18 18:55:20 +00:00
christos
a7c92d4c47 Oops, need the header too. 2020-04-18 17:45:16 +00:00
christos
37baba21c7 PR/55177: Carlo Arenas: mremap(MAP_REMAPDUP) fails after fork() 2020-04-18 17:44:53 +00:00
jakllsch
b019cf1f9e msk(4): Avoid bus_dmamap_destroy() in msk_stop()
bus_dmamap_destroy() can not be executed in soft interrupt context,
and msk_stop() can be called in soft interrupt context.

As such, move creation and destruction of tx dmamaps to attach() and
detach() functions.
2020-04-18 17:31:52 +00:00
riastradh
b9b3063225 Fix trailing whitespace. 2020-04-18 17:22:26 +00:00
christos
5c16a9ef82 be consistent about byte flipping (cosmetic no functional change) 2020-04-18 17:02:00 +00:00
jdolecek
56fe042454 make compile with XBD_DEBUG 2020-04-18 16:58:00 +00:00
thorpej
81b0afaa64 In _if_down(), release the link state change lock before calling
workqueue_wait().  Add a comment explaining how the locking here
works.

PR kern/55018.
2020-04-18 15:56:26 +00:00
jdolecek
39b0cf9180 enable NO_IOBUF_ALIGNED for x_newfs and x_fsck_ffs 2020-04-18 12:56:38 +00:00
jdolecek
1ef16aec19 add NO_IOBUF_ALIGNED to not pull aligned_alloc() for really constrained
boot media
2020-04-18 12:54:38 +00:00
martin
05a291731f Remove unused variable (to fix the build) 2020-04-18 12:25:01 +00:00
skrll
a73d6e1023 PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
skrll
d8a8713a3b Trailing whitespace 2020-04-18 10:55:43 +00:00
skrll
5c748a1b9f Remove PMAP_DEBUG by converting to UVMHIST 2020-04-18 10:46:32 +00:00
joerg
2fa1fa78ae It's __RCSID for an extra level of indirection on PPC 2020-04-18 10:37:37 +00:00
martin
429b07135e Fix copy & pasto in previous (to fix the build) 2020-04-18 10:30:49 +00:00
reinoud
93d5858ef9 Believe the datablocks predictor when determining if data on a node gets
stored internal or not. Also make a note that the datablocks predictor takes
NO extended attributes stored in the node into account

In rare cases it could lead to confusion where the predictor would say it
wouldn't fit internally when it could just have fitted. This would trigger the
assertion. Now it will on rare accasions create a datablock even though it
might have fitted.
2020-04-18 09:45:45 +00:00
simonb
3c45977c8d Regen. 2020-04-18 07:10:28 +00:00
simonb
f75bc23e83 Add ATI Radeon R5/R6/R7 Graphics. 2020-04-18 07:09:33 +00:00
thorpej
9fc3fff218 Add an API to get a reference on the identity of an individual byte of
virtual memory, a "virtual object address".  This is not a reference to
a physical byte of memory, per se, but a reference to a byte residing
in a page, owned by a unique UVM object (either a uobj or an anon).  Two
separate address+addresses space tuples that reference the same byte in
an object (such as a location in a shared memory segment) will resolve
to equivalent virtual object addresses.  Even if the residency status
of the page changes, the virtual object address remains unchanged.

struct uvm_voaddr -- a structure that encapsulates this address reference.

uvm_voaddr_acquire() -- a function to acquire this address reference,
given a vm_map and a vaddr_t.

uvm_voaddr_release() -- a function to release this address reference.

uvm_voaddr_compare() -- a function to compare two such address references.

uvm_voaddr_acquire() resolves the COW status of the object address before
acquiring.

In collaboration with riastradh@ and chs@.
2020-04-18 03:27:13 +00:00
kamil
4aca7fab96 Switch from C11 specific static_assert() to __CTASSERT() 2020-04-17 22:53:52 +00:00
ad
74ff427e71 Now that inputFS is dynamically allocated, make sure it's always non-NULL.
Fixes core dumps when building CDE.
2020-04-17 22:35:18 +00:00
pgoyette
4e06cde223 Move the range example (for 8-11) to follow the range definition, and to
preceed the random (?) discussion (and the corresponding random example)
2020-04-17 19:42:14 +00:00
christos
685ba05b53 Put back the ? syntax accidentally removed when syncing with the OpenBSD
man page.
2020-04-17 18:39:31 +00:00
jdolecek
efee1aad48 remove documentation for (non-atomic) boottime, it was eliminated
from kernel in 2020-01-02 by thorpej@
2020-04-17 17:43:38 +00:00
maxv
b734c22d3b Slightly reorder for clarity, and add header. 2020-04-17 17:24:46 +00:00
kamil
3e0acd5a41 Remove the static_assert() fallback for pre-C11 and pre-C++11
C++ without real static_assert() can be incompatible with the C fallback
as presented in openjdk.

A pre-C11 compiler can be picky on the implementation.
2020-04-17 15:22:34 +00:00
joerg
8b7210e97b Don't use typedef at all for __CTASSERT1. 2020-04-17 14:59:23 +00:00
jdolecek
ad81495fd9 include aligned_alloc(3), now needed for newfs and fsck_ffs 2020-04-17 14:55:24 +00:00
kamil
0b20f29024 Fix __CTASSERT1() in sys/cdefs.h for recent Clang/LLVM
Clang now implements a restriction on giving non-C-compatible anonymous
structs a typedef name for linkage purposes, as described in C++ committee
paper `P1766R1 <http://wg21.link/p1766r1>'.

https://reviews.llvm.org/D74103
2020-04-17 14:33:42 +00:00
joerg
628289e37e Mark the .ident section as mergable string section to avoid redundant
entries.
2020-04-17 14:19:43 +00:00
kim
568e57b236 Update date 2020-04-17 13:36:48 +00:00
skrll
2cb3080245 Fix build after PV locking change 2020-04-17 11:21:06 +00:00
jdolecek
124eda49a4 constify xbddkdriver 2020-04-17 10:35:06 +00:00
jdolecek
0631f6da0f remove some old #if 0 code 2020-04-17 10:32:19 +00:00
jdolecek
93217591a2 align buffers used for I/O to DEV_BSIZE so it's executed more optimally
when run for xbd(4) raw (character) device
2020-04-17 09:42:27 +00:00
jdolecek
4a168442c5 align buffers used for I/O to DEV_BSIZE so it's executed more optimally
when run for xbd(4) device
2020-04-17 09:33:37 +00:00
skrll
0f5fd65dd1 Use UVMHIST_CALLARGS 2020-04-17 08:17:06 +00:00
isaki
620dca1eae Improve diagnostic messages. 2020-04-17 07:48:35 +00:00
knakahara
0a27bcec22 Fix typo in a comment. 2020-04-17 03:15:50 +00:00
msaitoh
bc17e21c69 No functional change:
- modify comment
 - whitespace fix
2020-04-17 02:21:25 +00:00
rin
72d26a2dda Revert previous for now:
http://mail-index.netbsd.org/source-changes/2020/04/16/msg116278.html

The reasoning turned out to be wrong; __KERNEL_RCSID() in header files
does *not* overwrite RCSID in main source files. The real problem is that
it inserts its RCSID into *every* object files. However, it can be still
useful even if heavily duplicated.
2020-04-16 23:29:52 +00:00
christos
b526449a3e fix tense (Nelson Beebe) 2020-04-16 22:13:51 +00:00
rin
b104014c7e Discard __HAVE_UNLOCKED_PMAP for 4xx; 4xx is uniprocessor architecture,
and everything gets more than 10 times slower by __HAVE_UNLOCKED_PMAP.

Note that we support three supervisor-level architectures for powerpc:
oea, booke, and 4xx. We have three different implementations of pmap as
a result. Whereas oea and booke support multiprocessor, 4xx does not.
2020-04-16 22:11:12 +00:00
rin
364b1f4e0a Stop using __KERNEL_RCSID() in header files; it confuses ident(1) by
overwriting RCSID in main source files.

XXX
The first argument of __KERNEL_RCSID() is neglected for ELF. If we wish
to have RCSID of header files in kernel binary, we need something like
__FBSDID() macro in FreeBSD.
2020-04-16 21:56:41 +00:00