Commit Graph

242342 Commits

Author SHA1 Message Date
kre 44b3998960 Remove the trap_zero__explicit_return test case - it was testing undefined
behaviour (and failed with the NetBSD shell, and was marked as expected to
fail.)   Other shells do different things.   The test was worthless, and is
now gone.

OK christos@
2016-05-07 23:51:30 +00:00
riastradh 6e111d367d Tweak comment on wapbl_flush. 2016-05-07 22:12:29 +00:00
riastradh 193947f42e Use %jx and a cast to uintmax_t, not %x, to print a dev_t. 2016-05-07 21:15:38 +00:00
riastradh 895c0fab4b Clarify comment about early exit from wapbl_flush.
Note possible bug.  Requires further analysis.
2016-05-07 21:11:51 +00:00
riastradh 2b3e02eb3e Omit unused parameter to wapbl_fini. 2016-05-07 20:59:46 +00:00
riastradh c04b67eb10 Delete debugging option wapbl_lazy_truncate. Simplify.
Likely nobody has used this in the past decade -- you would have to
enter ddb and write 1 to it in order to enable it anyway.

Patch prepared by coypu.
2016-05-07 20:39:33 +00:00
riastradh 5589cef4c7 Turn WAPBL_DEBUG panic or KASSERT into KASSERTMSG
From coypu.
2016-05-07 20:18:44 +00:00
riastradh c4a5d0a629 Document log layout and internal subroutines of vfs_wapbl.c. 2016-05-07 20:16:38 +00:00
kre 09ecfab926 Slightly improve "jobs" command output in cases where a job includes
embedded background commands or pipelines.   (just slightly...)
OK christos@
2016-05-07 20:07:47 +00:00
kre 3eee147437 PR bin/51119 - don't leak FDs in unusual error cases. OK christos@ 2016-05-07 20:06:30 +00:00
riastradh ef3ee9e48d KASSERT(A); KASSERT(B) instead of KASSERT(A && B). 2016-05-07 17:47:34 +00:00
riastradh e551e5630a Rename labels to make wapbl_flush a little easier to follow.
out ---> wait_out
out2 ---> out

From coypu.
2016-05-07 17:12:22 +00:00
mlelstv 09123a68b9 fix DEBUG build 2016-05-07 16:43:02 +00:00
riastradh 9a7ec8cbaf Clarify wording about shared and exclusive locks.
Maybe this isn't important for users of wapbl, but it likely is
helpful for working in wapbl internals.
2016-05-07 16:01:00 +00:00
macallan da86cee20c add Sun /dev/fb* style goop 2016-05-07 15:32:08 +00:00
macallan 139ddb03dc add FBTYPE_MGX 2016-05-07 15:28:57 +00:00
maxv 15378864f6 clarify 2016-05-07 13:08:30 +00:00
maxv 0ceb789c1f Large pages are supported by default for the text+rodata segments. Apply
the proper alignment for the data segment, so that more pages can benefit
from it. Reduces TLB contention.

kern.ldscript.2MB and largepages.inc are useless.
2016-05-07 12:45:55 +00:00
mlelstv 28f11d6152 Don't check sequence number on multicast packets in station mode.
Handle overflow of 12bit sequence number.
2016-05-07 12:36:50 +00:00
pgoyette 7575c221a2 Add "uaf" - use-after-free
Seen in a recent NetBSD commit message...
2016-05-07 12:22:57 +00:00
maxv 313bb650e2 uaf 2016-05-07 11:59:08 +00:00
maxv 9a4c721fbe clarify 2016-05-07 11:49:21 +00:00
wiz 2bfa6b5acf Use Er for errors and Dq for double quoted strings. Whitespace nits. 2016-05-07 08:52:10 +00:00
skrll 85c3f37272 G/C more unused code 2016-05-07 08:11:49 +00:00
mrg 471ba5d69b disable kpreempt around softint_schedule(). fixes playing on umidi. 2016-05-07 08:09:43 +00:00
riastradh 1e6c363a24 Omit confusing sentence. 2016-05-07 06:47:44 +00:00
riastradh d6c3919f02 Sort and deduplicate includes. 2016-05-07 06:38:47 +00:00
riastradh 31008a8d28 Fix statement of what write-ahead means. Contrast with roll-back. 2016-05-07 05:46:35 +00:00
christos 7033ecf0e8 fix logic (Ingo Schwarze) 2016-05-06 21:01:19 +00:00
christos 9f29fff23a - don't require the lock if we are polling (early autoconf)
- unfold a line
2016-05-06 20:12:54 +00:00
christos bf966447e7 misc cleanups. 2016-05-06 18:07:17 +00:00
skrll 7b093c44c0 Fix a KASSERT (ub_usepolling || mutex) 2016-05-06 16:30:01 +00:00
skrll 1169d12555 usb is attached with config_interrupts so we can G/C the code to support
transfers when this wasn't the case.
2016-05-06 13:03:06 +00:00
msaitoh 4b127fa911 - Modify wm_smbustopci() to reduce the diff against Linux and FreeBSD.
- wm_gate_hw_phy_config_ich8lan() is for younger than PCH2.
- Add debug code.
2016-05-06 10:56:04 +00:00
hiroshi 7f8a85225f Add myself 2016-05-06 10:48:53 +00:00
skrll 50eb5273a1 Print LF in hexdump when datalen % 16 != 0. From t-hash. 2016-05-06 10:27:14 +00:00
skrll 5425abecdc G/C some #if 0 code 2016-05-06 10:25:56 +00:00
skrll d1ef2b64a5 Remove magic numbers from xhci_hc_reset. From t-hash. 2016-05-06 10:24:06 +00:00
pooka 7ddba29e76 regen syscall files 2016-05-06 10:19:40 +00:00
pooka a207070c4b Include non-portable <sys/idtype.h> inside RUMP_CLIENT protection. 2016-05-06 10:17:34 +00:00
snj 7ce81240c1 hook new man pages into build 2016-05-06 09:30:05 +00:00
snj 9cda733fe1 regen for openssl 1.0.1t 2016-05-06 09:28:31 +00:00
msaitoh f3f9ad299d Add some workaround code for I219. It still doesn't work. 2016-05-06 08:57:43 +00:00
msaitoh b1649a9bff Basic support for I219. It doesn't work on I219, so it's disabled. 2016-05-06 08:56:20 +00:00
snj 912989e05c whitespace 2016-05-06 07:45:53 +00:00
skrll 1de90c4d8c Fix polling mode and USB keyboards in ddb 2016-05-06 05:19:32 +00:00
dholland 30c3425723 Revise/update. List the functions in a sensible order. Document all
the modes and flags. Document the structure fields properly.
Distinguish internals from public interfaces. Mention historic dead
flags like SAVESTART because they still exist in other projects.
Explain the current layout of vfs_lookup.c, or at least the primary
points of it.

Etc.

This ended up being a much larger rewrite than I intended.

Bump date again.
2016-05-06 04:55:10 +00:00
msaitoh df71cc2b20 KNF. No functional change. 2016-05-06 04:46:17 +00:00
riastradh e42df441a5 Correct rc.conf variable for random seed.
Note that it is enabled by default.
2016-05-06 03:04:14 +00:00
khorben 3df9a0e8ab More friendly error messages for modload(8) and modunload(8)
Tested on NetBSD/amd64.

From Christian Koch (cfkoch@) of EdgeBSD; thanks!
2016-05-06 00:24:45 +00:00