riastradh
b1d9699e40
While here, replace GCC __FUNCTION__ by C99 __func__
...
From coypu.
2016-05-19 18:32:20 +00:00
riastradh
2545e2bee1
Simplify ufs_wapbl_begin2/end2, drop 2 suffix
...
We are no longer calling UFS_WAPBL_BEGIN/END with vnodes (we are giving
NULL as a parameter in all cases), so we can get rid of this input
parameter and the relevant check.
From coypu.
2016-05-19 18:32:11 +00:00
riastradh
d7214352ea
Get rid of UFS_WAPBL_BEGIN1/END1
...
ufs makeinode no longer releases dvp, so incrementing the
usecount for wapbl is unnecessary.
From coypu.
2016-05-19 18:32:03 +00:00
christos
7b6e3dab7a
We don't want PIE!
2016-05-19 15:41:18 +00:00
christos
c06cfbd050
Turn on PIE for sparc64 so we can use ASLR effectively.
2016-05-19 15:38:13 +00:00
christos
48f9de0fc1
Turn on ASLR for sparc64
2016-05-19 15:37:06 +00:00
christos
9b7590baea
lose one more bit of ALSR to account for rounding in the VA hole.
2016-05-19 15:36:35 +00:00
hannken
a68d62d64c
Keep the old vcache node on rekey. Change its key and remove the
...
new vcache node now used as placeholder only.
2016-05-19 14:50:18 +00:00
hannken
ed5aa2cef9
Change "ISSET(vp->v_iflag, VI_XLOCK)" to "vdead_check(vp, VDEAD_NOWAIT)".
2016-05-19 14:48:28 +00:00
hannken
4222e592dd
Add VFS_VNODE_PRIVATE protected operations vnalloc_marker() to create,
...
vnfree_marker() to destroy and vnis_marker() to test for marker vnodes.
Make operations vnalloc() and vnfree() local to vfs_vnode.c.
2016-05-19 14:47:33 +00:00
ozaki-r
9f10dc7910
Get rcvif once and reuse it
...
No functional change.
2016-05-19 08:53:25 +00:00
knakahara
f058ef8fee
fix build failure by gcc 4.8.5
2016-05-19 08:35:03 +00:00
knakahara
85eba4eab2
unify TX and RX interrupt handler to use MSI-X vector efficiently
2016-05-19 08:27:57 +00:00
knakahara
f792094258
user-friendly interrupt affinity offset
2016-05-19 08:22:37 +00:00
knakahara
290ee03aea
initial TX multiqueue support
2016-05-19 08:20:06 +00:00
ryo
5ca0adf8c7
delete unused variables
2016-05-19 05:15:51 +00:00
ozaki-r
348f728f8e
Replace DIAGNOSTIC & panic with KASSERT
2016-05-19 03:11:42 +00:00
abhinav
078f21f351
Add myself.
2016-05-18 16:36:53 +00:00
christos
58a6a6ea92
Add my list of things to do for 8. To be expanded.
2016-05-18 15:27:17 +00:00
nakayama
10bacc40a1
Decrement %tl in trap handler not to make it zero unconditionally
...
for the nested trap, and remove useless mov.
2016-05-18 15:14:08 +00:00
ozaki-r
894d037bc1
Get rid of unnecessary assignment
2016-05-18 11:28:44 +00:00
ozaki-r
9f595a90fa
Get rid of unnecessary NULL check
...
It's already checked just some lines above.
2016-05-18 09:32:05 +00:00
ozaki-r
c82107a100
Split "MP network stack" into two and make our targets clear
2016-05-18 09:12:04 +00:00
knakahara
b3e5b68219
Whether Tx interrupt handler kicks if_start() should not depend on wm_txeof()
...
return value.
2016-05-18 08:59:56 +00:00
knakahara
09094fcaba
rename WM_TXQ_WORKING to WM_TXQ_NO_SPACE
2016-05-18 08:41:42 +00:00
ozaki-r
27df9b11fc
Don't try to get outif unnecessarily from in6_selectsrc
...
The got outif is unused.
2016-05-18 08:40:51 +00:00
nakayama
da6c94469a
Fix (unused) pstate mask bits in tstate and comment.
2016-05-18 07:59:30 +00:00
knakahara
27d6758ddb
device drivers should not divert ifp->if_flags to manage H/W satatus.
2016-05-18 07:49:34 +00:00
knakahara
7041241bc0
refactor: eliminate "txq->txq_descs_size", use WM_TXDESCS_SIZE instead.
2016-05-18 06:59:59 +00:00
knakahara
2195dace3a
fix unmatched dma sync size for NEWQUEUE. This bug would have caused
...
wm_nq_tx_offload() not to work.
2016-05-18 06:55:51 +00:00
spz
54b54045cc
Fixes for CVE-2016-0718 from upstream.
2016-05-17 23:53:02 +00:00
christos
874c2fbeab
mention my last coda work
2016-05-17 21:03:36 +00:00
christos
e6adf9a769
reflect reality (through my ping glasses)
2016-05-17 20:53:53 +00:00
palle
2f23095fbd
sun4v: Implement missng MMU protection trap handling - mostly from OpenBSD
2016-05-17 19:43:28 +00:00
palle
61ea5f5e14
Update TODO: sun4v_datatrap handling for trap level 0 is working
2016-05-17 19:39:44 +00:00
ozaki-r
9b5dfda043
Fix RT_IN_PRINT
2016-05-17 15:21:14 +00:00
jdc
197c227429
PR kern/46083
...
Track the start of each packet, so that we set the "Start of Frame" bit in
all the relevant transmit descriptors when enqueing multiple packets.
Patch from Valery Ushakov, slightly modified by me to handle debug output.
Tested on macppc/6.x and sparc64/7.99.x.
2016-05-17 14:44:53 +00:00
christos
5a6c14c844
Add RCSID's
2016-05-17 14:00:09 +00:00
ozaki-r
cba53ba7a5
Tidy up route_output
...
Avoid jumping into the middle of a switch statement, use a function instead.
2016-05-17 12:58:21 +00:00
pooka
e7ea1faa65
initialize buf to NULL for error branch on line 532
2016-05-17 11:37:50 +00:00
pooka
7608448abe
Try to get more packets going if the transmit interrupt indicates
...
some were sent. Doing so avoids a situation where vioif_start never
gets called in case the sendqueue fills up and therefore the interface
perpetually drops all packets due to the queue being full.
(not sure why all drivers need to do this themselves; just keeping
up with the joneses)
Problem reported and patch tested by jmmlmendes and yasukata at
repo.rumpkernel.org/rumprun
2016-05-17 10:05:31 +00:00
kre
c80063823d
Use valid (standard) shell syntax, in anticipation of /bin/sh enforcing
...
it sometime soon (perhaps.)
2016-05-17 09:05:14 +00:00
ozaki-r
1acd48af54
Get rid of unnecessary assignment
2016-05-17 09:00:24 +00:00
msaitoh
7ca43d6799
Fix CORTEXA9Rx definitions.
2016-05-17 08:27:24 +00:00
ryo
72c0aec318
Note i.MX7
2016-05-17 06:52:00 +00:00
ryo
ec48232126
Add initial support for Freescale i.MX7 SoC and
...
Atmark Techno Armadillo-IoT G3 boards.
Contributed by Internet Initiative Japan Inc.
2016-05-17 06:44:45 +00:00
ozaki-r
842c4ed6c1
Get rcvif once and reuse it
...
No functional change.
2016-05-17 03:27:02 +00:00
ozaki-r
31da384114
Make sure icmp6_redirect_input frees mbuf before return
2016-05-17 03:24:46 +00:00
martin
28b6430ec6
Mark a diagnostic only variable
2016-05-17 03:20:58 +00:00
christos
10c1bb4dec
Clamt the PAX_ASLR random value to the max bits we have for VA.
2016-05-17 00:39:43 +00:00