247050 Commits

Author SHA1 Message Date
ozaki-r
e8a9852807 Restore nd6.h inclusion to resolve implicit dependency 2016-12-15 03:54:15 +00:00
pgoyette
d442c42849 Note desire to have a way to selectively build modules (and include them
from the modules/mi sets-list) based on "attributes" rather than having
to enumerate individual architectures on which to build and include.
2016-12-15 03:24:43 +00:00
ozaki-r
d4c2ba5a74 Fix that cleanup doesn't run when DEBUG=false 2016-12-15 02:43:56 +00:00
christos
7ce3281839 print more info during autoconfig 2016-12-14 22:30:42 +00:00
christos
dc64f7ed79 Tidy up and make it look like the other drivers. 2016-12-14 22:21:13 +00:00
christos
f3ef98b2ea correct spkr softc. 2016-12-14 21:52:43 +00:00
skrll
2e2322c9c0 Remove binutils.old as everything has switched. 2016-12-14 21:47:50 +00:00
rjs
e2a8f3aa96 The t_clock_subr test doesn't require rump. 2016-12-14 19:29:31 +00:00
mrg
4141b17a9c remove local lwp_eprio() definition that broke the clang build. 2016-12-14 18:50:56 +00:00
scole
975ce79004 Make ia64 considered 64bit for the _XSERVER64 define so a release with x11 will at least build. 2016-12-14 16:03:19 +00:00
hannken
4349535165 Change the freelists to lrulists, all vnodes are always on one
of the lists.  Speeds up namei on cached vnodes by ~3 percent.

Merge "vrele_thread" into "vdrain_thread" so we have one thread
working on the lrulists.  Adapt vfs_drainvnodes() to always wait
for a complete cycle of vdrain_thread().
2016-12-14 15:49:35 +00:00
hannken
70ec436e39 Move vnode members "v_freelisthd" and "v_freelist" from "struct vnode"
to "struct vnode_impl" and rename to "vi_lrulisthd" and "vi_lrulist".

No functional change intended.

Welcome to 7.99.48
2016-12-14 15:48:54 +00:00
hannken
13fa9cae25 Remove the "target" argment from vfs_drainvnodes() as it is
always equal to "desiredvnodes" and move its definition
from sys/vnode.h to sys/vnode_impl.h.

Extend vfs_drainvnodes() to also wait for deferred vrele to flush
and replace the call to vrele_flush() with a call to vfs_drainvnodes().
2016-12-14 15:46:57 +00:00
abhinav
27174a0ec3 Add a HISTORY section
Move information about exit status to EXIT STATUS section
Add more xrefs

ok wiz@
2016-12-14 15:24:06 +00:00
skrll
599ac212b8 Don't hold softc lock when calling ucom_read
PR/51714: uftdi (on xhci): mutex_vector_enter: locking against myself
2016-12-14 15:11:29 +00:00
martin
01866d4fd0 Comment out spkr at audio, as audio is commented out too 2016-12-14 14:01:10 +00:00
martin
dea2b45782 Comment out spkr at pcppi, as pcppi is commented out too. 2016-12-14 14:00:16 +00:00
kre
820e69dcc0 Simplify (and no need for sub-shells).
Same functionality, same method, simpler exposition.
2016-12-14 13:04:42 +00:00
kre
6fb7898b88 Sort the unsorted sets lists (they should all be correctly sorted now.) 2016-12-14 12:59:51 +00:00
knakahara
237f476937 fix race of gif_softc->gif_ro when we send multiple flows over gif on NET_MPSAFE enabled kernel.
make gif_softc->gif_ro percpu as well as ipforward_rt to resolve this race.
and add future TODO comment for etherip(4).
2016-12-14 11:19:15 +00:00
msaitoh
253a3c48a5 Fix ip[46]csum-tx doesn't work other than TCP and UDP. 2016-12-14 10:46:12 +00:00
ozaki-r
df9d638687 Add tests for flushing prefix and default router entries 2016-12-14 07:37:26 +00:00
ozaki-r
8e7c1da780 Reduce return points
No functional change intended.
2016-12-14 06:33:01 +00:00
kamil
6d08a581a0 Update TODO.ptrace
Add new entries:
 - add support for PT_STEP, PT_GETREGS, PT_SETREGS, PT_GETFPREGS,
   PT_SETFPREGS in all ports
 - integrate all ptrace(2) features in gdb
 - add ptrace(2) NetBSD support in LLDB

Sponsored by <The NetBSD Foundation>
2016-12-14 06:26:04 +00:00
kamil
15bac0f54a Define -D_KERNTYPES in CPPFLAGS unconditionally to fix MKRUMP=no build
Reported by Robert Swindells

Sponsored by <The NetBSD Foundation>
2016-12-14 06:19:59 +00:00
ozaki-r
0195cee9ea Use macro to iterate on the nd_prefix list 2016-12-14 04:13:50 +00:00
ozaki-r
9d79cf8c86 Make functions static 2016-12-14 04:05:11 +00:00
knakahara
ff8a15d36e add wait_for_disconnected to run_test() as well as run_test6().
Before commited MP-safe patch, IPv4 test can run in time without
wait_for_disconnected. Currently, wait_for_disconnected is required
because of locking overhead.
2016-12-14 03:30:30 +00:00
ozaki-r
031e076338 Rename dump because it's used in net_common.sh 2016-12-14 02:50:42 +00:00
pgoyette
47cc427df8 More changes for creds, mutex, etc. 2016-12-13 22:54:24 +00:00
pgoyette
0342d5080b Mostly mechanical updates for caddr_t, thread, mutex, and credentials 2016-12-13 22:52:46 +00:00
pgoyette
752640fd36 Disable duplicate typedef 2016-12-13 22:49:02 +00:00
pgoyette
88b1d6a671 More cleanup of #includes 2016-12-13 22:31:51 +00:00
pgoyette
3be2222bbe Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
2016-12-13 22:17:33 +00:00
pgoyette
d687e96a02 Update for location of newnfs headers, clean up some other #include 2016-12-13 21:58:17 +00:00
pgoyette
c10f8b5081 Update locations for new nfs header files.
XXX Some #includes are just disabled (via #if 0) and will need to be
XXX resolved before further progress can be made.
2016-12-13 21:50:32 +00:00
pgoyette
c81f4ce3f4 One more option for the opt_ file. 2016-12-13 21:44:01 +00:00
christos
f2b2fa048a fix format warning. 2016-12-13 20:50:13 +00:00
christos
ef2deb33e0 wildcard speaker attachments, now that we can handle many of them. 2016-12-13 20:42:15 +00:00
christos
0b335da6c0 Restructure speaker devices so that there can be multiple of them, and have
proper softc's.
2016-12-13 20:20:34 +00:00
christos
fca405013a back to passing device 2016-12-13 20:18:32 +00:00
christos
b707f068cf back to passing device_t 2016-12-13 20:18:06 +00:00
roy
87cdadbd3f ping is not a reliable means of testing if connectivity to download sets
actually works, so remove it.
Hopefully fixes PR kern/51531.
2016-12-13 19:03:49 +00:00
kamil
b8092d5dfa Add regs1 in arch/i386/t_ptrace_wait*
regs1:
    Call PT_GETREGS and iterate over General Purpose registers

Sponsored by <The NetBSD Foundation>
2016-12-13 18:00:10 +00:00
christos
9dcd653786 Add rescan for audio children. 2016-12-13 17:12:51 +00:00
kamil
9feae32a7c Remove dbregs* in arch/amd64/t_ptrace_wait*
CPU Debug Registers won't be exposed as is to userland.

Hardware Watchpoints will be exported to userland dedicated interface
through the ptrace(2) interface.

Sponsored by <The NetBSD Foundation>
2016-12-13 13:09:00 +00:00
kamil
5f84086eb7 Add regs1 in arch/amd64/t_ptrace_wait*
regs1:
    Call PT_GETREGS and iterate over General Purpose registers

Sponsored by <The NetBSD Foundation>
2016-12-13 13:04:18 +00:00
kamil
f9bea37eb4 Define in CPPFLAGS symbol _KERNTYPES in order to get PRIxREGISTER
This type will be used in t_ptrace_wait* for the printf(3) function.

Sponsored by <The NetBSD Foundation>
2016-12-13 12:59:46 +00:00
kamil
2826f37556 Remove dbregs[12] from t_ptrace_wait{,3,4,6,id,pid}
CPU Debug Registers won't be exposed as is to userland.

Hardware Watchpoints will be exported to userland dedicated interface
through the ptrace(2) interface.

Sponsored by <The NetBSD Foundation>
2016-12-13 12:25:05 +00:00
kamil
1377ca283a options(4): Remove KSTACK_CHECK_DR0. 2016-12-13 11:01:10 +00:00