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
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