mlelstv
d7b80b3b5e
Add builtin WiFi and Bluetooth.
2020-01-26 06:50:18 +00:00
taca
9e4050a09a
Update current version of BIND and ISC DHCP.
2020-01-26 02:55:47 +00:00
uwe
3c58a5dbfe
Fix typo in comment.
2020-01-26 01:42:55 +00:00
ad
9c6efdb46e
For secondary CPUs, the idle LWP is the first to run, and it's directly
...
entered from MD code without a trip through mi_switch(). Make the picture
look good in case the CPU takes an interrupt before it calls idle_loop().
2020-01-25 20:29:43 +00:00
jmcneill
56ca6a8885
defopt -> defparam (oops)
2020-01-25 19:22:05 +00:00
thorpej
a6a0bb7ffc
Remove the IFETHER_DOT3STATS stuff in this driver. ifi_dot3stats does
...
not exist in NetBSD's "struct if_data", and what this driver does with
it is incompatible with upcoming network stack changes.
2020-01-25 19:20:24 +00:00
christos
9284796821
grow for clang
2020-01-25 19:09:38 +00:00
christos
cf46e1c322
try to fix the clang build
2020-01-25 19:05:08 +00:00
thorpej
e922902265
Retire the le@pci attachment. It has been superseded (and matched at a
...
higher priority) by the pcn(4) driver since NetBSD 1.6.
2020-01-25 18:59:43 +00:00
thorpej
264ecc7b95
Remove references to le@pci, and direct users to pcn(4) instead.
2020-01-25 18:53:31 +00:00
thorpej
6dbc6c953b
Retire "le* at pci?" from the shipped kernel configs:
...
- If the config had both an le@pci and a pcn, simply remove le@pci
(pcn would match at a higher priority anyway).
- If the config had le@pci enabled, but no pcn, change le@pci to pcn.
- If the config had le@pci commented out, but no pcn, change le@pci
to pcn and leave it commented out.
The pcn driver supports more chips than le@pci and does DMA directly
to/from mbufs rather than memory copies.
2020-01-25 18:38:34 +00:00
ad
e354694931
Adjustment to previous: don't call _lwp_unpark_all() with nwaiters == 0.
2020-01-25 18:30:41 +00:00
skrll
5776f3ebc7
Wrap a long line
2020-01-25 18:21:37 +00:00
skrll
14059bad12
Trailing whitespace
2020-01-25 18:18:31 +00:00
skrll
44c31a24e8
Sort
2020-01-25 18:10:11 +00:00
ad
047ca71b68
pthread_exit(): it looks there there is at least one path through which
...
a thread can exit with waiters still hanging off it (cancellation when
waiting on a condvar) so deal with all/any crappy failure like that and
make sure there are never any waiters left before exiting. Maybe of help
for:
PR: bin/50350: rump/rumpkern/t_sp/stress_{long,short} fail on Core 2
2020-01-25 18:01:28 +00:00
ad
769155beb0
pthread__mutex_unlock_slow(): ignore the DEFERRED bit. It's only purpose
...
is to get the thread to go through the slow path. If there are waiters,
process them there and then. Should not affect well behaved apps. Maybe
of help for:
PR bin/50350: rump/rumpkern/t_sp/stress_{long,short} fail on Core 2 Quad
2020-01-25 17:58:28 +00:00
skrll
890d099d21
A fix and an optimisation to pmap_l1tt_free
...
- in the !__HAVE_MM_MD_DIRECT_MAPPED_PHYS case pass UVM_KMF_WIRED so that
the mappings are removed and the KVA is released. Fixes the KASSERT
seen in the automated test runs.
- in the __HAVE_MM_MD_DIRECT_MAPPED_PHYS case we can work out pa much
easier than caling pmap_extract.
2020-01-25 16:19:29 +00:00
maxv
8784198240
Fix uninitialized variable. There may not be a TYPE_ASCII block. Found by
...
kMSan with nouveau.
2020-01-25 15:59:11 +00:00
maxv
3f209563dd
Actually, uio_vmspace is never NULL, the check should be against
...
pmap_kernel.
2020-01-25 15:55:33 +00:00
ad
edf01486dd
- Fix a race between the kernel and libpthread, where a new thread can start
...
life without its self->pt_lid being filled in.
- Fix an error path in _lwp_create(). If the new LID can't be copied out,
then get rid of the new LWP (i.e. either succeed or fail, not both).
- Mark l_dopreempt and l_nopreempt volatile in struct lwp.
2020-01-25 15:41:52 +00:00
ad
abe07f54f7
cpu_lwp_free() can be called with (l != curlwp) in error paths, so don't
...
detonate.
2020-01-25 15:38:24 +00:00
ad
cddaba8d89
softint_execute(): don't hang onto the kernel_lock hold longer than
...
needed.
2020-01-25 15:12:47 +00:00
ad
5f741a4fe2
sched_takecpu(): for vfork(), when looking at curcpu's runqueue consider
...
maximum priority waiting to run and not count of LWPs.
2020-01-25 15:09:54 +00:00
ad
431ed6f61b
- Pad kmem cache names with zeros so vmstat -m and -C are readable.
...
- Exclude caches with size not a factor or multiple of the coherency unit.
Proposed on tech-kern@. Also:
Reported-by: syzbot+c024c50570cccac51532@syzkaller.appspotmail.com
2020-01-25 15:08:40 +00:00
jmcneill
0348b1c9d0
Follow amd64 and set AUDIO_BLK_MS=4 by default
2020-01-25 12:26:58 +00:00
jmcneill
c1058ddd10
defopt AUDIO_BLK_MS
2020-01-25 12:15:35 +00:00
roy
4bfa4dda38
These directories may not be installed for aarch64
2020-01-25 11:26:39 +00:00
jmcneill
a43616e571
Clean up the banner so it fits in 80 columns and add some extra details
...
to the "version" command output.
2020-01-25 11:24:20 +00:00
jmcneill
a0a1075e2c
Hide the twiddle while loading efiboot plist
2020-01-25 10:53:13 +00:00
jmcneill
82112b6031
Fix for disappearing counters on graphics consoles
2020-01-25 10:09:46 +00:00
msaitoh
9084121899
Add PCIe 4.0 stuff a little:
...
- 10-bit Tag Requester/Completer.
- Add Data link Feature extended capability.
- Add Physical Layer 16.0 GT/s extended capability. Not decode yet.
2020-01-25 08:13:39 +00:00
msaitoh
a0b1d015f7
- Print Bridge Config Retry Enable bit and Retimer Presence Detect Supported
...
bit.
- Avoid using magic number.
2020-01-25 07:59:14 +00:00
msaitoh
d31478f596
Found by kUBSan:
...
- Use unsigned to avoid undefined behavior in aq_hw_init().
- Cast to unsigned to avoid undefined behavior in aq_set_mac_addr().
2020-01-25 07:57:48 +00:00
simonb
65ffe24597
Fix alignment of Flags column for vmstat -mW.
2020-01-25 05:43:32 +00:00
uki
1edad8f421
Fix incorrect package name, lacked category prefix.
2020-01-25 00:12:42 +00:00
pgoyette
ec1ef308ad
Since vnconfig(8) was renamed (many years ago), update some cross-refs
...
in vndcompress(1) man page.
2020-01-24 20:20:35 +00:00
ad
15fa026a90
Carefully put kernel_lock back the way it was, and add a comment hinting
...
that changing it is not a good idea, and hopefully nobody will ever try to
change it ever again.
2020-01-24 20:05:15 +00:00
nia
f7be620d82
Set AUDIO_BLK_MS=4 - unlikely to cause significant overhead on non-m68k.
...
Several of us have been setting this in /etc/sysctl.conf for months, to
get better performance from applications that require synced audio, etc.
It's also mentioned as a good value with low overhead on most archs here:
https://mail-index.netbsd.org/tech-kern/2019/12/07/msg025830.html
We could probably go lower, but this is low enough to make most/all
software run well, removing frame drops. It's also low enough to get
emulators/mednafen to stop complaining in the console.
2020-01-24 18:58:46 +00:00
jakllsch
e2703ffc13
Use dp->e2d_namlen rather than strlen(dp->e2d_name) in ext2fs_ls().
...
Prevents garbage beyond the end of the name from appearing on screen.
2020-01-24 13:20:33 +00:00
jmcneill
712da8d39c
If radeon attaches, prevent simplefb from claiming the console
2020-01-24 11:44:27 +00:00
jmcneill
2ca943cc34
Do not attach simplefb if the width or height are invalid
2020-01-24 10:49:41 +00:00
ad
ca2e126b72
Add some recent changes I made.
2020-01-24 10:15:40 +00:00
ad
f7c2661bb9
Myself and I think dsl@ looked into sysenter/sysexit in 2007 and while it
...
was faster, it wasn't worth the trouble.
2020-01-24 09:33:42 +00:00
skrll
5d55fed31a
Don't print the pagesize it messes up atf-report
2020-01-24 08:45:16 +00:00
martin
7fd225f6ad
Factor out all RAM size thresholds as defines to avoid magic numbers.
...
To work around PR misc/54886 bump the threshold for a tmpfs /tmp mount
up to 256 MB.
2020-01-24 07:31:15 +00:00
mlelstv
b0055e8f69
Adjust RAM disk size to hold the larger image.
2020-01-24 06:34:19 +00:00
knakahara
980dd520b0
wm(4) can use workqueue as deferred Rx/Tx handler like ixg(4).
...
Set hw.wm*.txrx_workqueue=1 to use workqueue instead of softint.
The default value of hw.wm*.txrx_workqueue is 0, that is, use softint
as before.
ok by msaitoh@n.o.
2020-01-24 02:50:41 +00:00
uwe
499393c223
Use -mdoc2html to generate HTML TOC to avoids warnings.
2020-01-23 23:59:53 +00:00
uwe
120b2450d3
Override HTML <title> to something more informative.
...
Requested by martin@
2020-01-23 23:56:07 +00:00