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
riastradh
e6d0ae95b0
Cull unused INRENAME and INRELOOKUP from callers.
2015-04-21 03:19:03 +00:00
riastradh
4292b99c7c
Cull unused INRENAME and INRELOOKUP from PARAMASK.
2015-04-21 03:18:21 +00:00
riastradh
6331efe680
Cull unused INRENAME and INRELOOKUP.
2015-04-21 03:16:30 +00:00
riastradh
f9534e4daa
Uncomment the argument struct declarations in deadfs.
...
We don't actually use them, but this is the only way the vop
versioning mechanism flags code that needs changing.
2015-04-20 23:30:58 +00:00
jmcneill
5944395eac
Restore "#if !defined(CPU_CORTEXA5)" accidentally removed in previous
...
commit -- hi skrll@
2015-04-20 23:12:56 +00:00
riastradh
aef6e9be2d
regen for good measure (no functional change)
2015-04-20 23:11:27 +00:00
riastradh
148589f348
Fix comment in vnode_if.src to reflect change to VOP_LINK.
2015-04-20 23:08:07 +00:00
riastradh
46e71c7d57
Make VOP_LINK return directory still locked and referenced.
...
Ride 7.99.10 bump.
2015-04-20 22:59:19 +00:00
pgoyette
6b45f4ed79
Set the redirection correctly, so that stderr gets duped to the
...
already redirected stdout, rather than duping stdout to stderr!
Without this fix, the disklabel output is included in the log file
rather than being discarded as intended. (The purpose of running
disklabel this first time is only to check for success.)
2015-04-20 22:46:35 +00:00
riastradh
c89a5913e6
Release dir after create/mknod/mkdir/symlink as 6.99.29 required.
2015-04-20 21:48:47 +00:00
riastradh
9368a7f9c7
Fix more dvp->v_mount after vput(dvp).
2015-04-20 21:02:49 +00:00
matt
30ead1696b
Use physical timer for gtmr_delay();
2015-04-20 20:19:52 +00:00
riastradh
eadfa0c1a9
Make sure mem.bus.is_iomem is initialized. PR 49833
2015-04-20 20:15:22 +00:00
riastradh
944fbd0d8b
Cull unused vnode v_iflags: VI_LAYER, VI_LOCKSHARE.
2015-04-20 19:36:55 +00:00
riastradh
1054fdc184
First attempt to make ttm_buffer_object_transfer less bogus.
2015-04-20 19:17:04 +00:00
prlw1
68974b6b61
Apply modified version of patch from Wolfgang Stukenbrock in PR bin/41766
...
This forcibly unmounts tmpfs file systems, so that swapctl doesn't run
out of swap itself, eventually trying to kill pid 1.
No objections since:
http://mail-index.netbsd.org/current-users/2015/03/16/msg026908.html
2015-04-20 18:01:46 +00:00
riastradh
4c17c141c3
Use Er, not Dv, for errno E* names.
2015-04-20 15:39:38 +00:00
riastradh
4897f1c47a
Remove old drm's container_of.
2015-04-20 15:38:13 +00:00
riastradh
e3d7ca5cf5
First part of reworking vnode(9) man page. Much more to come.
2015-04-20 15:30:41 +00:00
riastradh
e2a04dfae4
Bump kernel version to 7.99.10 for vget(9) change.
2015-04-20 15:23:56 +00:00
riastradh
7fd36dbc4a
Add container_of to libkern.
...
Given x = &c->f, container_of(x, T, f) yields c, where T is the type
of c.
Discussed on tech-kern a while ago:
https://mail-index.netbsd.org/tech-kern/2013/03/21/msg015131.html
2015-04-20 15:22:17 +00:00
riastradh
240ea8611b
Fix C arithmetic quirks in roundup2 and avoid multiple evaluation.
...
Add rounddown2.
Discussed on tech-kern a while ago:
https://mail-index.netbsd.org/tech-kern/2013/03/21/msg015131.html
2015-04-20 15:18:59 +00:00
maxv
149659eb68
Fix the French translation.
2015-04-20 14:10:31 +00:00
riastradh
830199bd4a
Use Dv, not Li, for EBUSY/ENOENT.
2015-04-20 14:09:14 +00:00
riastradh
4515b0035e
Fix punctuation.
2015-04-20 14:08:52 +00:00
riastradh
3a57946f59
Rewrite vput(9) description.
2015-04-20 14:07:24 +00:00
riastradh
1e28edefae
Document current state of vget.
2015-04-20 14:03:10 +00:00
riastradh
7c2823c7a4
Remove declaration of speedup_syncer, removed back in 2011.
2015-04-20 13:49:02 +00:00
riastradh
f6139440c5
Make vget always return vnode unlocked.
...
Convert callers who want locks to use vn_lock afterward.
Add extra argument so the compiler will report stragglers.
2015-04-20 13:44:16 +00:00
riastradh
3373340e21
Nix LEASE_READ/LEASE_WRITE from <sys/vnode.h>.
2015-04-20 13:12:24 +00:00
kiyohara
94da04ed3e
Backout r1.18.
...
Don't change IRQ porality. The Real-machines encounters interrupt storm.
OK slp@.
I assum configured it from boot-loader already. However need polarity
information, if not. Shall we implement to use prop_dictionary_{set,get}?
Also this case, re-initialized to LAN9118_IRQ_CFG without
LAN9118_IRQ_CFG_POL in lan9118_init(). I think, again interrupt storm on
QEMU.
2015-04-20 12:41:38 +00:00
roy
33e035dca4
Introduce p2p_rtrequest() so that IFF_POINTOPOINT interfaces can work
...
with RTF_LOCAL.
Fixes PR kern/49829.
2015-04-20 10:19:54 +00:00
jmcneill
7a329562eb
Add pseudo-devices crypto, swcrypto, bridge, vlan, ppp, pppoe, tun, tap,
...
gre, and npf.
2015-04-20 10:09:09 +00:00
ozaki-r
aead28a1c2
Unbreak the build of spdmem
...
- Get rid of a tab after backslace
- Add a missing semicolon
From Henning Petersen
2015-04-20 07:51:36 +00:00
ozaki-r
d18817a22a
Remove non-USE_RADIX case and USE_RADIX switch
...
It seems that we have been using ip_encap only with USE_RADIX
for long years. Let's remove unused non-USE_RADIX case.
No objection on tech-kern and tech-net.
Double-checked by knakahara@
2015-04-20 07:34:48 +00:00
wiz
eb6e09f00c
Add missing .El. From Henning Petersen in PR 49845.
2015-04-20 06:50:13 +00:00
pgoyette
50d1d96a63
Initial pass at supporting decode for DDR4.
...
XXX I fully expect that reporting of PC4-xxxxx values is incorrect.
XXX Please report this, or any other errors that you may see.
2015-04-20 02:55:14 +00:00
matt
19763396ac
Switch to armv7_generic bus_space.
2015-04-20 01:33:22 +00:00
matt
80ff7cef1c
Use TPIDRPRW_IS_CURLWP
2015-04-20 00:11:27 +00:00
matt
05fc45b72f
Comment out __HAVE_PREEMPTION
2015-04-20 00:09:48 +00:00