Commit Graph

234880 Commits

Author SHA1 Message Date
pooka
459ac4c7e6 rename rumpvfs/compat.c to rumpvfs/rumpvfs_compat50.c 2015-04-22 17:00:59 +00:00
pooka
28f2b5b757 Generate -DCOMPAT_nn from a list of nn provided in RUMP_COMPAT 2015-04-22 16:59:45 +00:00
pooka
87792ce272 Include kern_clock.c in rump kernels. 2015-04-22 16:49:42 +00:00
pooka
e94d45801a emulgate clockframe 2015-04-22 16:48:08 +00:00
pooka
474239b4f0 opt_ntp.h is no longer used in kern_clock.c 2015-04-22 16:46:58 +00:00
pooka
bcc4cdd92e _KERNEL_OPT wrap 2015-04-22 16:43:11 +00:00
pooka
da6e50ee29 move clock sysctls from init_sysctl.c to kern_clock.c 2015-04-22 16:42:24 +00:00
pooka
6d5d1af88e track cpu_onproc 2015-04-22 16:01:07 +00:00
christos
6a960c88c2 PR/49850: Nikolai Lifanov: Document acronyms-o 2015-04-22 15:04:57 +00:00
wiz
f290bb1c88 Fix typo, remove trailing space. 2015-04-22 14:00:46 +00:00
wiz
858361fa34 Remove trailing whitespace. 2015-04-22 13:59:54 +00:00
ginsbach
0b61b786a1 Make century and year conversion tests a standalone test case rather than
part of the "common" test case.
2015-04-22 13:15:30 +00:00
maxv
459997491f Instead of duplicating code, create ffs_is_appleufs(): returns 1 if the
device is an AppleUFS FS, 0 otherwise.

This changes the behavior a bit: if the kernel cannot determine whether the
disk is an AppleUFS one or not, it now considers it as a normal UFS rather
than returning an error and not mounting/reloading it.

No particular comment on tech-kern@
2015-04-22 07:27:09 +00:00
ozaki-r
df66dd74ee Fix rump.route shows host's interface names
Let it use rump-ified if_indextoname and getifaddrs
to get rump kernel's interfaces, which is the same way
as ifconfig.
2015-04-22 03:07:55 +00:00
christos
ad5d6863f7 obey $ACRONYMDB like before 2015-04-21 23:56:30 +00:00
christos
96276379e9 Add -o flag. 2015-04-21 22:49:46 +00:00
christos
ab4165e5f0 add acronyms-o 2015-04-21 22:41:32 +00:00
christos
2d79abd2a4 Split acronyms to offensive and non-offensive like fortunes. 2015-04-21 22:40:37 +00:00
christos
9cf433da08 Mention EWOULDBLOCK too since a lot of the source code and documentation still
refers to it.
2015-04-21 21:22:07 +00:00
macallan
d3361f56e7 enable clocks as needed 2015-04-21 19:57:41 +00:00
macallan
de18a25b0d #define some bits in the clock gating registers 2015-04-21 19:56:01 +00:00
macallan
3aefd491bf fix comments, add LCDC*_BASEs 2015-04-21 19:19:31 +00:00
ginsbach
fb89bad2cc Make seconds conversion tests a standalone test case rather than
part of the "common" test case.
2015-04-21 17:39:50 +00:00
pooka
b9e12739d0 Use hardclock_ticks instead of a homegrown variable.
... not that I understand how various kernel algorithms can work
after enough uptime with hardclock_ticks being a signed int.
2015-04-21 16:18:50 +00:00
riastradh
a6d56fa756 #ifdef DIAGNOSTIC panic -> KASSERT 2015-04-21 13:17:25 +00:00
riastradh
3b3b3f4af1 Remove bogus size_t->int casts in uiomove. 2015-04-21 13:15:28 +00:00
riastradh
b8cae62e30 Mark some variables __read_mostly. 2015-04-21 12:55:57 +00:00
riastradh
808c0b52c7 Sort includes. 2015-04-21 12:47:33 +00:00
riastradh
b1dc061a01 Xor, not ior, to combine bits of binuptime for rnd_counter. 2015-04-21 12:07:31 +00:00
ryoon
01c7d8eae8 Add Kurotoshiko GbE-USB3.0S2. 2015-04-21 11:53:53 +00:00
pooka
022fe45008 Remove the unused and all-but-unusable kthread_destroy(). Also makes
it more obvious that the opposite of kthread_create() is kthread_exit().
2015-04-21 11:10:29 +00:00
pooka
115eb707b4 Don't check if constant-sized KM_SLEEP allocations succeeded. 2015-04-21 10:54:52 +00:00
pooka
b9534ae5af Attach PF_INET6 pktq sysctls only when inet6 is present.
More modular initialization would be nicer, but at least this patch
prevents "sysctl -a" from crashing when INET6 is defined by inet6 has
not been attached.
2015-04-21 10:39:41 +00:00
christos
0bb625c711 help sun2 2015-04-21 10:12:04 +00:00
wiz
79a213efae Bump date for previous. 2015-04-21 10:00:30 +00:00
macallan
66d1b808ee support interrupt-driven transfers 2015-04-21 06:12:41 +00:00
snj
2a79bc2442 move service(8) entry to CHANGES.prev, since it'll be appearing in 7.0 2015-04-21 05:27:30 +00:00
riastradh
7841b062cd Turn a kassert into a more appropriately placed ctassert. 2015-04-21 04:41:36 +00:00
matt
36b5b12d8a No need for CPU_CORTEXA7 since it's implied by ALLWINNER_A20 2015-04-21 04:24:51 +00:00
riastradh
01adfe9a57 Save some space: use one condvar for all rndsinks. Not a hot spot. 2015-04-21 04:24:16 +00:00
riastradh
5a7cf63bf5 Gather rndsinks global state into a cacheline-aligned struct. 2015-04-21 04:19:25 +00:00
riastradh
5db50cc603 Revert previous -- a little too quick on the commit trigger.
Ran some tests but not enough.  There is a deadlock against myself:

rndsink_request acquires rndsinks_lock
-> rnd_getmore
-> hyperentropy feedrandom (or any other rndsource callback)
-> rnd_add_data
-> rndsinks_distribute acquires rndsinks_lock

Need to break this cycle before rndsource callbacks can invoke
rnd_add_data.
2015-04-21 04:05:57 +00:00
riastradh
f8b6ebf6aa Restore simplicity of rump hyperentropy `hardware RNG'. 2015-04-21 03:53:50 +00:00
riastradh
6be68e2895 Release rnd_global.lock while calling an rndsource's callback.
Obviates the need for obnoxious double-lock dances in hardware RNG
drivers.
2015-04-21 03:53:07 +00:00
riastradh
4faebe442f Correction: we do need <sys/atomic.h>, for membar_*.
(Not clear that these membars actually make sense, but that's a
separate issue.)
2015-04-21 03:46:46 +00:00
riastradh
ef69b14356 Sort includes. 2015-04-21 03:30:06 +00:00
riastradh
e8cbd445df Nix some more needless includes. 2015-04-21 03:29:27 +00:00
riastradh
a2deb59454 Don't need <sys/atomic.h>. 2015-04-21 03:25:46 +00:00
riastradh
9cfa0037ec Sort includes. 2015-04-21 03:24:07 +00:00
riastradh
f07d4c6e8b Cull long-dead flags from namei(9) man page. 2015-04-21 03:21:54 +00:00